A lightweight FAQ/QNA plugin that includes an FAQ shortcode for your site. A simple jQuery animation is included to show/hide each question.
WP Super FAQ uses the WordPress 3.1+ custom post types and taxonomies to include support for an FAQ (Frequently Asked Questions/Question and Answer) on your site. The interface uses jQuery to provide a small animation that lets users click the questions they are interested in to display the answer. The goal of this plugin was for extremely lightweight code that provides easy setup, addition of questions, and a clean user interface. Also included in this plugin is the option of putting questions in different ‘categories’ to display. Please see the screenshots for examples. If you have feedback or questions head over to my feedback and support page for this plugin.
wp_super_faq
folder to the /wp-content/plugins/
directory of your WordPress installation.FAQ
tab.Add New Question
'Publish
and you are done![wp_super_faq]
.<?php do_action('[wp_super_faq]'); ?>
in your templates. You can use any shortcode defined in the FAQ.[wp_super_faq]
. By default WP Super FAQ will not display the questions by category. [wp_super_faq show_categories=true]
. This will display a header for each category and place the relevant questions in each section.[wp_super_faq show_specific_category=slug]
where slug is the SLUG of the category you would like to display. The slug can be found by clicking on FAQ Categories
in the admin area.Yes. WordPress supplies a nice function to use shortcodes in PHP. For WP Super FAQ you would use <?php echo do_shortcode( '[wp_super_faq]' ) ?>
. A reference for this function can be found here.
Yes you can (although it is slightly obfuscated). To reorder the questions you just have to reorder the dates of the Questions in the Admin area.
You can do this too. All you have to do is use the show_specific_category
style shortcode and place a few of them on the same page in whatever order you would like.
Fixed an error with the show_categories shortcode. This bug causes funny line breaks in some themes.
Minor update to try and add better instructions for FAQ categories.
Fixed a bug with show_categories=true. The ID was not displaying directly.
Now using WordPress default jQuery library instead of grabbing the Google CDN version.
Upgraded the output so that you can now display multiple shortcodes on a page and also have other HTML.
Added a shortcode to display a single category of the FAQ. [wp_super_faq show_specific_category=slug]
Added a fix that makes sure that the FAQ shows all of the questions regardless of what is set under Settings > Readings.
Added register_taxonomy
into function call to fix Call to a member function add_rewrite_tag() on a non-object in taxonomy
Initial release.