Another major improvement is the introduction of EMD templating system which, we believe, will fix the issues related to the themes with unorthodox markup. If you use EMD templating system, you need to wrap your attributes, taxonomies and relationships in "emd_is_item_visible() function in a PHP code snippet. If WPAS detects this function's usage, it auto creates customization tab in the settings. The new templating system allows users to enable, disable, or hide(from frontend only) attributes, taxonomies or relationships without modifying user's theme template files and comes with EMD Widget area which can be used to display widgets in the generated plugin's pages. WPAS ProDev owners can enable or disable this feature and switch back to theme based templating system.
WPAS 5.3 also auto creates some tools for administrators to improve plugin performance and provides a CSS area (Tools tab of the generated plugin's settings) where you can write plugin specific code.The CSS code written in this area must be only applicable to and works in plugin pages. Check out eMarket Design YouTube channel for videos and more.
Ability to export and import entity configurations is another step forward to improve reusability of plugin data model. You can use this feature, if an entity is used in multiple apps. Instead recreating the same entity configuration and attributes, export entity metadata and import it to the new app, saving yourself some more time on development.
We also did some improvements in page load times by displaying app tags in view layouts on demand, included code to improve menu structure in the admin area and more. We hope that this change will help developers get better results in lower end computers or hosting environments. There are other additions, improvements and fixes as well. Please refer to the What's new tab under Getting Started page for the complete list.
The next WPAS version will continue improving WP App Studio plugin, the platform generated code and integrating technologies which can help us make WordPress the preferred application development platform. Happy Coding 🙂
The Plugins created using the WPAS 5.3
- Campus Directory Community
- Campus Directory Pro -- fully featured campus directory solution integrating people, publications, places and courses in a very intuitive interface. Designed and developed for higher education institutions.
- WP Easy Events Community
- WP Easy Events Pro -- All in one solution for event management and ticketing system to organize successful events.
- Request A Quote Community -- sales quote management system for small business owners to receive quote requests from customers.
- Margarita -- default WPAS plugin for FreeDev API users. It can now be downloaded from wordpress.org
WP App Studio 5.3.0 Change Summary
Webkit browser dropdown value display issue
Replaced the text areas related to coding with CodeMirror
Load layout tags on demand
Catching WordPress session expiration issues
New Gravatar function to display user gravatars in views
Added filtering capability in relationship views
1-many relationships can have attributes
Multiselect and datetime relation attribute types
Ability to export entity configuration
Enable dashicons in view layouts
Taxonomy visible in admin list checkbox
Custom templating system
To minimize theme related issue, all WPAS generated plugin now support EMD Templating system writing custom template files for plugin pages. Alternatively, you can disable this feature and use the installed theme's template files.
If you use EMD templating system, you need to wrap your attributes, taxonomies and relationships in "emd_is_item_visible() function in a PHP code snippet. If WPAS detects this functions usage, it auto creates customization tab in the settings. The new templating system allows users to enable, disable, or hide(from frontend only) attributes, taxonomies or relationships without modifying user's theme template files.
The new templating system comes with EMD Widget area where you can display sidebar widgets in the plugin pages only. It is standard widget area for all WPAS plugins. The location of EMD Widget area can be changed in the plugin settings as well. See example image on the left and the video showcasing WP Easy Events Pro WordPress plugin customization video (https://www.youtube.com/watch?v=-jaJ3PdMXJM) for more info.
To completely disable this feature check "Remove Visibility Settings" checkbox under Misc tab of app settings.
Write PHP to support complex requirements
You can write PHP code in view layouts and in the PHP field of Code tab in the app settings to implement complex requirements without being limited to WPAS or WordPress API.
Many-to-one relationship type support
If you need to define Many-to-one relationships, it is available now.