In this article, I am going to show you how we created our plugin store, emdplugins.com, using WP App Studio, Easy Digital Downloads and Twitter's Bootstrap 3 framework.
I will first go through the app design and jump into View layout details to show how different components came together. We used Twitter's Bootstrap 3 framework so feel free to check their site to see the details of some CSS classes we used. We also use Easy Digital Downloads plugin for selling our digital products as well as services.
We sell mainly plugins and plugin designs so I created two main entities first then added contact entity to collect some email address of people who'd like to keep in touch with us.
I wanted to create one page layout product display so I divided the page into sections and created an attribute for each section along with other attributes I wanted to manage in the editor. See the attributes image for plugins.
I've just put in group and tag taxonomies to display related plugins and designs to our customers. The group taxonomy is single select so that one product can belong to at most one group.
Relationships show the associations among entities. We need to display related plugins, related designs and plugin to design connections. We will be displaying these relationships in plugin design and plugin single pages.
We need to create a submit form to collect newsletter subscribers. I attached the layout of the form in the image gallery. It is very simple but collects the info we need. You just need to hover over the form link and click form layout to start designing your form. It is drag and drop. The form layout editor helps designing multi-column responsive forms. You can choose jQuery, Bootstrap or no simple HTML frameworks for your form. I chose Bootstrap for this one since we will be integrating this framework.
Views help us design the front interface that users actually see so they are very important design elements. I wanted to create a custom plugin and design single pages. What I mean by "single" is the single view type which corresponds to single custom post type in template hierarchy. The single views are the pages for individual entity records; in our case these plugins and designs.
WP App Studio gives us a lot of usable tags. You can use built-in WordPress or App Entity attributes, Taxonomies, relationships as well as functions and other views. Here is the gist of the single plugin view:
|!#ent_section_nav# !#ent_section_intro# !#ent_section_header#|
|<table class="table table-condensed">|
|<td colspan="2" id="changelog-section">|
I highlighted a couple of lines to show you how we integrated our relationships and one other view displaying support pricing in the plugin page.
As I mentioned earlier, we need to divide our page into sections and each section has some additional html code. We did that to be able to create completely unique pages if we want to.
Integrating other plugins
Integrating other WordPress plugins is very easy as long as you know the shortcodes you want to use. So checking out the external plugin's documentation if exists or ask the author before starting is a good idea.
Here at line 11, we integrate Easy Digital Downloads plugin using $0.00 and a Bootstrap modal which displays the pricing options. Remember we opted for directly writing HTML.
|<section class="jumbotron" id="prod-intro" style="background-color:#F2F2F2;background-image:none; color:#000000;">|
|WP Ticket Enterprise|
|</div><img alt="WP Ticket WP App Studio designed WordPress plugin Logo" class="plugin-logo pull-right img-responsive" src=|
|"https://emdplugins.com/wp-content/uploads/images/logos/wp_ticket_logo.gif" title="WP Ticket WP App Studio designed WordPress plugin Logo">|
|<button class="btn btn-primary" data-target="#link-716" data-toggle="modal"><span class="buy-btn-price"><small>Starting from</small>[edd_price id=5516]</span> <span class=|
|For enterprise level multichannel service request management with performance analytics, request analytics, custom reporting, and time tracking|
|<li>Define, categorize, and analyze service request tickets.</li>|
|<li>Provide private, public, or mixed ticket support.</li>|
|<li>Advanced collaboration for faster ticket resolutions.</li>|
|<li>Assign responsibility and monitor resolution progress.</li>|
|<li>Monitor service performance and control service costs.</li>|
|<li>Role based content access for customers, managers, and agents.</li>|
|<li>Deliver insight with built-in or custom request analytics reports.</li>|
|<li>Create custom email notifications to keep customers and employees updated.</li>|
If you had to use the same shortcode in your view layouts, you need to use !#shortcode# function tag in your view layouts. So the it will look like !#shortcode$0.00# in your view layout.
Integrating external plugins with WP App Studio is as easy as using shortcodes if you could not find the connection type in WP App Studio. We used !#shortcode[YCH]# tag to display the external plugin's output.
Feel free to submit your comments if you need to learn more about details.