Some of the plugins we sell at HappyPlugins are shortcodes-based, and many of our clients want to use the shortcodes in different custom post types and / or themes.
First, an important clarification: All of our shortcodes-based plugins are using regular WordPress shortcodes, which means that if the element you are using inside the custom post type / page-builder supports WordPress shortcodes then you can also use any shortcode of these plugins as specified below:
The Shortcode-Based Plugins
Wishlist Member Based Plugins:
- Wishlist Drip Dynamic Shortcodes
- Wishlist Smart Shortcodes
- Wishlist Auto Registration
- Wishlist 1-Click Registration
- Wishlist Registration Widget
- Wishlist Error Page Booster
- Pay Per Post Shortcodes
- Wishlist Members Count
MemberMouse Based Plugins:
Examples of Page Builders / Themes That Work with WordPress Shortcodes
Basically, EVERY page builder / theme that supports WordPress shortcodes will work with our shortcodes-based plugins.
To make it easier for you, these are the page builders we know of that work with WordPress shortcodes:
- Divi Theme / Plugin
- All Elegant Themes themes and plugins
- Visual Composer
- Avada Theme
Note:in page-builders the shortcodes must be placed in the same module (opener and closer) for the shortcode to work and display the information.
What to Do if My Page Builder / Theme Doesn’t Support WordPress Shortcodes?
As explained in the beginning of the post, it is not a problem with our products, as we are using regular WordPress shortcodes, which can be activated in any type of content, as long as the product support WordPress shortcodes.
When using shortcodes in custom post type content or any other content that is not built-in inside WordPress, the developer that developed the plugin / theme should enable support for shortcodes.
If the developer of the page builder / theme you are using did not add the relevant function that supports WordPress shortcodes you will need to contact their support directly and ask them to add it.
The code that needs to be added in order to support WordPress shortcodes is actually very simple and short.
This is how the code looks like with and without shortcodes support:
Without Shortcodes Support
<div class="courses"> <?php _e($content,"plugin-name-translation");?></div>
With Shortcodes Support
<div class="courses"> <?php _e(<strong>do_shortcode</strong>($content),"plugin-name-translation");?></div>