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.

Earn Money by Referring People

Refer customers to us with your affiliate link and earn commission on sales from your link.

Get Started

Pin It on Pinterest

%d bloggers like this: