FAQs: Theme Hardcoding

The WordPress FAQ plugin doesn’t have an actual PHP API for hardcoding into a WordPress theme yet but there is a way to hardcode into your theme as needed.

You will use the FAQ plugin shortcodes as listed in the documentation and just put the shortcode as the first parameter of the WordPress do_shortcode(); function in your theme.

<?php echo do_shortcode('[wpfaqs]'); ?>

Get the code here: http://tribulant.pastebin.com/e7sMNAb2

Of course you can use any of the shortcodes available in the plugin.


WordPress Optimized Hosting

Get the best WordPress hosting for speed, security and peace of mind. No restrictions, freedom to do what you need in order to run your business.

Host Now

Pin It on Pinterest

%d bloggers like this: