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.

Shares

Premium WordPress Plugins

Start selling products, sending newsletters, publishing ads and more through your own WordPress website using our premium WordPressp plugins.

Browse

Pin It on Pinterest

%d bloggers like this: