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: https://tribulant.pastebin.com/e7sMNAb2

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

WordPress Plugins

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

Browse

Pin It on Pinterest