How To Use The Featured Products Shortcode
There is a simple shortcode that will display our current 4 featured products along with a blue-bar header on any page on the website where you want. To use this feature, just use the following guide:
The shortcode is: “[>featuredproducts<]” (remove the “>” and “<” when using the shortcode).
Just copy & paste the shortcode into the main content box for the page, post or product that wish to show the featured products block on (where you want it to show up). The code will generate this:
[featuredproducts]
You can also use this shortcode in a template file by using the following PHP string:
<?php echo do_shortcode(‘[}featuredproducts{]’); ?> (just remove the “}” and “{” after you paste it in the template file.