
A simple plugin to handle FAQ layout and interaction with a shortcode.
This plugin is now deprecated and will no longer receive feature updates.
Alternatives:
– Block Editor users: build an FAQ page with the Atomic Blocks plugin using the Accordion block.
– Classic Editor users: check out the wide range of other FAQ plugins.
Adding a FAQ is easy and relies on custom post types to organize and format your FAQs. To add an FAQ, do the following:
To find the shortcode for that specific FAQ:
When using the shortcode to display your FAQs, you can either display all FAQs by adding the shortcode without any parameters:
[gs_faq]
Or you can customize the display of FAQs using the following parameters:
For example, FAQs can be displayed using one or more FAQ post type ID:
[gs_faq id="12, 24"]
Or by one or more category ID:
[gs_faq cat="10, 11"]
You can also specify how many FAQs will be displayed. For example:
[gs_faq cat="10, 11" limit="10"]
By default, the limit is set to the number of posts you’ve set to display in Settings > Reading.
Enter -1 to display an infinite number of FAQs.
NOTE: shortcodes should not be entered on consecutive lines, like so:
[gs_faq id="X"] [gs_faq id="X"]
Instead, shortcodes should be separated by at least one blank line, like so:
[gs_faq id="X"] [gs_faq id="X"]
You can also show FAQs by using the built in widget. Just go to the Appearance > Widgets screen and drag the Genesis Simple FAQ widget to the widget area where you would like it to display. Then, enter a title and select a category to display FAQs from, and click save.
Currently, there are three filters: one to toggle JS animation on or off, one to control critical CSS output, and one to control the default FAQ markup.
By default, animation is set to true. This will add a slide animation to showing/hiding the FAQ. To remove JS animation and rely on classes to do your state-changing, add the following to your functions.php file:
add_filter( 'gs_faq_js_animation', '__return_false' );
You can modify the CSS output using the following filter (styles are minified on the front-end):
add_filter( 'gs_faq_critical_styles', 'your_custom_function' ); function your_custom_function( $styles ) { $styles = '.gs-faq { padding: 5px 0; } .gs-faq__question { display: block; text-align: left; width: 100%%; } .gs-faq__answer { display: none; padding: 5px; }'; return $styles; } The following filter accepts 3 parameters:
– $template: Full string of HTML to output.
– $question: The title of the FAQ, usually a question.
– $answer: The content of the FAQ, usually the answer.
add_filter( 'gs_faq_template', 'your_custom_function', 10, 3 ); function your_custom_function( $template, $question, $answer ) { $template = sprintf( 'The question: %s, and the answer: %s.', $question, $answer ); return $template; } Starting from $0 per month.
Rating
Reviewers
4 reviews
Tags
Developed By
StudioPress
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Add social share buttons so visitors share content to major networks, boost engagement, and drive more referral traffic.
Display clean code snippets with syntax highlighting to improve technical content and help developers scan examples quickly.
Create interactive March Madness brackets where users can make predictions, track tournament progress, and compete with others throughout every round.
Add an event agenda to your site to display schedules clearly, helping users understand timing and plan their attendance.
Use an image magnifier to let visitors zoom in on photos, view fine details clearly, and enjoy a more accessible and informative visual experience.
Show Yelp reviews to build trust, strengthen credibility, and help visitors make confident decisions that support higher sales.
Create custom calculators that let visitors enter values, get results, and make confident choices that support your business.
Use flip cards to present information interactively, improve visual design, and guide visitors toward clearer decisions that support conversions.
Create interactive flash cards that present questions and answers in a clear, customizable format to support learning, training, and user engagement.
Create interactive image polls that use compelling visuals to boost engagement, gather feedback, and help visitors vote easily.
Use skill flip cards to showcase your abilities in a clear, interactive format that strengthens your profile and improves your chances of getting hired.
Show Vimeo videos with a Vimeo carousel that displays clips in a smooth, flexible layout to boost visibility and engagement.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
