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.


Beautiful Newsletter Templates

Professional newsletter templates that are fully responsive for desktop, tablet and mobile. They are 100% cross-client compatible.

See Them

Pin It on Pinterest

%d bloggers like this: