Select Page

Have you ever wanted to apply your favorite plugin’s shortcodes outside of WordPress editors? Here is a short tip I can give you guys on how you can place your plugin shortcodes anywhere in WordPress

Below is the code

<? echo do_shortcode('[myshortcode]'); ?>

Example this is from a plugin called Smooth Slider this is how you place the code

<? echo do_shortcode('[smoothslider id="1"]'); ?>

Just replace the bolded text and that is it you can now enjoy implementing your plugin’s shortcodes anywhere in your site


Pin It on Pinterest

Share This