=== Ultimate FAQ - WordPress FAQ and Accordion Plugin ===
Contributors: Rustaurius, EtoileWebDesign
Tags: faq, faqs, accordion, woocommerce faq, gutenberg faq, faq block
Requires at least: 5.0
Tested up to: 5.9
Stable tag: 2.1.13
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
FAQ and accordion plugin with easy to use Gutenberg blocks, shortcodes and widgets. Includes an advanced FAQ search and FAQ schema.
== Description ==
FAQ plugin for WordPress. With this plugin you can easily create FAQs and add them to your WordPress site using a Gutenberg block or shortcode. It makes use of a custom post type for seamless FAQ integration on any site.
[FAQ Demo](https://www.etoilewebdesign.com/ultimate-faq-demo/)
### Key Features
* Create unlimited FAQs
* Create unlimited FAQ tags and FAQ categories
* FAQ block (Gutenberg)
* FAQ shortcode
* Responsive accordion layout that will fit any site and any device
* Ordering and sorting options for your FAQ page
* Group FAQ options
* Translation ready (all strings localized and .pot file included)
* Bulk import FAQs from a spreadsheet
* Insert custom CSS to style your FAQ layout
This plugin is very user friendly and comes with a guided walk-through. When you activate the plugin, it will run and help you create your first FAQs, create an FAQ page and also set some important options!
### FAQ Gutenberg Block, Shortcode and Widget
* Just add the Display FAQs Gutenberg block on any page to display your FAQs
* Or, if you're using a different visual composer or page builder, or the Classic Editor plugin, just add the following shortcode anywhere on any page
`[ultimate-faqs]
`
* The plugin also comes with a widget to display your FAQs in any widgetized area in your theme.
### Video Introduction to the Ultimate FAQ Plugin
[youtube https://www.youtube.com/watch?v=xeGVZnVrZ6I]
### Additional FAQ Features
* Microdata / structured data / question schema (in the correct JSON-LD format) to help with SEO
* Choose what elements show for each FAQ (e.g. categories, tags, author, date, etc.)
* FAQ statistics and view count
* Allow people to comment on individual FAQs
### FAQs for WooCommerce (Requires Premium)
* Easily add an FAQ tab to each product page
* Responsive accordion layout that fits seamlessly into any product page
* Create an FAQ category that matches the name of a product or category in your WooCommerce and it will automatically show!
* For more info, please see the following video:
[youtube https://www.youtube.com/watch?v=cH3p0fW4c5o]
### Ultimate FAQ Premium
The premium version of this plugin comes with the following great extra features:
* FAQ search with autocomplete for question titles
* Additional FAQ display styles
* Choose from 15 toggle icon sets for your frequently asked questions
* WP Forms Integration
* Share FAQs on social media
* Select animation options
* Drag and drop precise re-ordering of FAQs
* Add an FAQ submit form to your site, so visitors can suggest their own FAQs and also (optionally) answers
* Admin notification for new FAQ submissions
* Add additional custom fields to your FAQs, such as a text area, file, link, date and more
* Export FAQs to spreadsheet
* Export all FAQs to a PDF to create a user manual
* SEO-Friendly FAQ, category and tag permalinks
* Advanced FAQ styling options
* Change the FAQ permalink slug base
You can find out more information about the premium version of Ultimate FAQ and accessing a free 7-day trial here: [https://www.etoilewebdesign.com/plugins/ultimate-faq/](https://www.etoilewebdesign.com/plugins/ultimate-faq/)
### FAQ Blocks
* Display FAQs: Display all FAQs, or only specific categories using the block attributes
* Popular FAQs: Displays a number of the most viewed FAQs (5 unless specified)
* Recent FAQs: Displays a number of the most recently added FAQs (5 unless specified)
* Search FAQs: Display a search form that allows users to find FAQs with a specific string in the title or body of the FAQ post (premium)
* Submit FAQ: Display a form that allows users to submit FAQs of their own and, if enabled, enter an answer to their submitted question as well (premium)
### FAQ Shortcodes
* [ultimate-faqs]: Display all FAQs, or only specific categories using include_category and exclude_category attributes (both take a comma-separated list of category slugs)
* [popular-faqs]: Displays a number of the most viewed FAQs (5 unless specified)
* [recent-faqs]: Displays a number of the most recently added FAQs (5 unless specified)
* [select-faq]: Display specific FAQ posts, using the attributes faq_name, faq_slug and faq_id which take comma-separated lists of FAQ post names, slugs and ids respectively
* [ultimate-faq-search]: Display a search form that allows users to find FAQs with a specific string in the title or body of the FAQ post (premium)
* [submit-question]: Display a form that allows users to submit FAQs of their own and, if enabled, enter an answer to their submitted question as well (premium)
### For help and support, please see:
* Our FAQ page, here: [https://wordpress.org/plugins/ultimate-faqs/faq/](https://wordpress.org/plugins/ultimate-faqs/faq/)
* Our installation guide, here: [https://wordpress.org/plugins/ultimate-faqs/installation/](https://wordpress.org/plugins/ultimate-faqs/installation/)
* Our documentation, here: [https://www.etoilewebdesign.com/support-center/?Plugin=UFAQ&Type=FAQs](https://www.etoilewebdesign.com/support-center/?Plugin=UFAQ&Type=FAQs)
* Our tutorial videos, here: [https://www.youtube.com/playlist?list=PLEndQUuhlvSrNdfu5FKa1uGHsaKZxgdWt
](https://www.youtube.com/playlist?list=PLEndQUuhlvSrNdfu5FKa1uGHsaKZxgdWt)
* The Ultimate FAQ support forum, here: [https://wordpress.org/support/plugin/ultimate-faqs](https://wordpress.org/support/plugin/ultimate-faqs)
== Installation ==
1. Upload the 'ultimate-faqs' folder to the '/wp-content/plugins/' directory
2. Activate the plugin through the 'Plugins' menu in WordPress
or
1. Go to the 'Plugins' menu in WordPress and click 'Add New'
2. Search for 'Ultimate FAQ' and select 'Install Now'
3. Activate the plugin when prompted
= Getting Started =
1. To create an FAQ:
* Click on 'FAQs' in the WordPress admin sidebar menu
* Click on 'Add New'
* Enter the FAQ question in the title area and the FAQ answer in the main post content area
* Set the author name using the 'Author Display Name' field under the main post content area
* Select and/or create FAQ categories and FAQ tags in the right-side menu
* Click the 'Publish' button
2. To display FAQs on your site:
* Place the Display FAQs block or the [ultimate-faqs] shortcode on any page you've created and it will display your FAQs
* You can display specific FAQs by making use of the [select-faq] shortcode
* Display a select number of your most popular FAQs using the Popular FAQs block or the [popular-faqs] shortcode
* Display a select number of your most recent FAQs using the Recent FAQs block or the [recent-faqs] shortcode
3. To include a submit question form:
* Placing the Submit FAQs block or the [submit-question] shortcode on a page will generate a form that allows your visitors to submit FAQ questions and, if enabled, even suggest FAQ answers for their questions (premium)
4. To include an FAQ search form:
* Use the Search FAQs block or the [ultimate-faq-search] shortcode to display an FAQ search form on a page. You can even set it so that all FAQs display on the search page and so that typing in the search box filters the results. (premium)
5. Customize your FAQ experience by making use of the many available settings and options, including toggle and accordion modes, FAQ comments, FAQ category grouping (premium) and many styling options (premium).
For a list of specific features, see the FAQ description page here: [https://wordpress.org/plugins/ultimate-faqs/](https://wordpress.org/plugins/ultimate-faqs/).
For help and support, please see:
* Our FAQ page, here: [https://wordpress.org/plugins/ultimate-faqs/faq/](https://wordpress.org/plugins/ultimate-faqs/faq/)
* Our documentation, here: [https://www.etoilewebdesign.com/support-center/?Plugin=UFAQ&Type=FAQs](https://www.etoilewebdesign.com/support-center/?Plugin=UFAQ&Type=FAQs)
* Our tutorial videos, here: [https://www.youtube.com/playlist?list=PLEndQUuhlvSrNdfu5FKa1uGHsaKZxgdWt
](https://www.youtube.com/playlist?list=PLEndQUuhlvSrNdfu5FKa1uGHsaKZxgdWt)
* The Ultimate FAQ support forum, here: [https://wordpress.org/support/plugin/ultimate-faqs](https://wordpress.org/support/plugin/ultimate-faqs)
== Frequently Asked Questions ==
= How do I get my FAQs to show up on my page? =
Try adding the shortcode [ultimate-faqs] to whatever page you'd like to display the FAQ on.
= What are the current FAQ shortcodes? =
* [ultimate-faqs]: display all FAQs, or only specific FAQ categories using include_category and exclude_category attributes (both take a comma-separated list of category slugs)
* [popular-faqs]: displays a number of the most viewed FAQs (5 unless specified).
* [recent-faqs]: displays a number of the most recently added FAQs (5 unless specified).
* [select-faq]: display specific FAQ posts, using the attributes faq_name, faq_slug and faq_id which take comma-separated lists of FAQ post names, FAQ slugs and FAQ ids respectively.
* [ultimate-faq-search]: display an FAQ search form that allows users to find FAQs with a specific string in the FAQ title or body of the FAQ post (premium).
* [submit-question]: display a form that allows users to submit FAQs of their own and, if enabled, enter an FAQ answer to their submitted FAQ question as well (premium).
= What attributes does the [ultimate-faqs] shortcode accept? =
The FAQ shortcode accepts two attributes, "include_category" and "exclude_category". Both take a comma-separated list of FAQ category slugs. For example, to include only FAQs about the Category "Cars" (which has a slug "cars"), you would use:
[ultimate-faqs include_category='cars']
You can now also use the 'include_category_ids' and 'exclude_category_ids' attributes, to let users include categories by ID instead of only by slug
= Can I hide my FAQ categories? =
Yes, you can choose to display or hide FAQ categories on the FAQ settings page.
= Is it possible to re-order my FAQs? =
Currently you can choose between ascending or descending ordering for your FAQ by either Title, Date Created, or Date Modified.
With the premium version, you can use the FAQ drag and drop ordering table to set exactly the order you want for your FAQs.
= How can I make my FAQs sharable over social media? =
On the FAQ settings page you can choose to link to twitter, facebook and more!
= How do I make my FAQs searchable? =
You can use the premium shortcode, [ultimate-faq-search], which displays an AJAX FAQ search form. You can use the "Auto-Complete Titles" option to have a list of all matching FAQ questions pop up when a user has typed 3 or more characters.
= Can I display all FAQs on pageload using the [ultimate-faq-search] shortcode? =
You can add the attribute "show_on_load" to the shortcode, and set it to "Yes" to display all FAQs when the page first loads.
= How do I add FAQs to a WooCommerce product page with the premium version? =
You can add FAQs for either a specific product or for a WooCommerce category.
For a specific product, create an FAQ category with the same name as the product, and then select that category for all of the FAQs you want included on your product page.
For a category of WooCommerce products, create an FAQ category with the same name as the WooCommerce category, and then select that category for all of the FAQs you want included on your product page.
= How do I limit the number of posts generated by a shortcode =
For the [ultimate-faqs], [popular-faqs] and [recent-faqs] shortcodes, you can use the post_count attribute to limit the number of posts shown. For example:
`[ultimate-faqs post_count='9']
`
= How do I customize my FAQs, for example, to change the font? =
You can customize the plugin by adding code to the Custom CSS box on the FAQ settings page, go to the "Custom CSS" box. For example to change the font you might want to add something like:
.ufaq-faq-title h4, .ufaq-faq-category-title h4 {font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;}
You can also use the "Styling" area of the "Options" tab if you're using the premium version, which has a bulit-in color picker for FAQ color fields and more!
For more questions and support you can post in the support forum:
= Videos =
Video 1 - Shortcodes and Attributes
[youtube https://www.youtube.com/watch?v=zf-tYLqHpRs]
Video 2 - Categories and Tags
[youtube https://www.youtube.com/watch?v=ZV4PM0M1l7M]
Video 3 - FAQs Ordering
[youtube https://www.youtube.com/watch?v=3gVBuCo7bHU]
== Screenshots ==
1. FAQ demo page - Default display style
2. Example of the "Color Block" FAQ display style
3. Example of the "Block" FAQ display style
4. The AJAX FAQ search shortcode in use
5. Simple user submitted FAQs form
6. All answers displayed in the 'list' FAQ mode
7. WooCommerce product page with "FAQs" tab
8. Example of FAQ page with custom FAQ font icons
9. FAQ with comments enabled
10. FAQ with ratings enabled
11. FAQ with post author and date displayed
12. FAQ social sharing
13. Mobile view of FAQs
14. Ultimate FAQs plugin dashboard
15. Admin area showing all FAQs with their number of views as well as their categories
16. View of custom fields on the FAQ post edit screen
17. FAQ tab in WooCommerce product edit
18. FAQ Categories
19. FAQ Tags
20. "Basic" area of the "Settings" tab
21. "Premium" area of the "Settings" tab
22. "Ordering" area of the "Settings" tab
23. "Fields" area of the "Settings" tab
24. "Labelling" area of the "Settings" tab
25. "Styling" area of the "Settings" tab
26. FAQ widgets
== Changelog ==
= 2.1.13 (2022-05-17) =
- Added previews for Gutenberg blocks (i.e. when, on the page edit screen, you add the block, it will show a preview).
= 2.1.12 (2022-05-04) =
- Added a setting to choose/set an FAQ page (as an alternative option to manually putting the block or shortcode on a page).
- Implemented an option to highlight the search term in the results.
- Multiple admins can now be emailed on question submission (comma-separated).
- The "No Results Found" text is now wrapped in a selector, so you can style it separately, if desired.
- FAQ Category Toggle now has a title attribute. It also has a tabindex="0" attribute so that the toggle div can be selected via the keyboard.
- Added a small delay before fetching search results, so that, if someone is typing a query, less requests are being sent to the server.
- Updated the X button that clears the search field, so that it sets the display back to no FAQs or all FAQs, depending on which option you have specified.
- Fixed an issue causing date and datetime custom fields to show an incorrect input type on the FAQ edit screen.
- FAQs set to Private now display on the front end when you are logged in to the site.
- Removed some extra blank spaces that were showing in textarea edit fields.
= 2.1.11 (2022-03-01) =
- Fixed an issue causing invalid schema (structured data).
= 2.1.10 (2022-02-23) =
- Updated WPForms integration, so you can now specify a minimum character count before matching FAQs show.
- Removed Gutenberg block code from the output of the post body in the structured data.
- Fix for structured data not output on FAQ search page.
- Fix for issue in which, when using the ordering table, editing the FAQ that was at the top would send it to the bottom.
= 2.1.9 (2022-02-01) =
- Fixed compatibility issue when using block-based themes.
= 2.1.8 (2022-01-26) =
- Updated escaping function to correct issue with the widget output.
= 2.1.7 (2022-01-19) =
- Added a new filter (ewd_ufaq_kses_allowed_html) to specify allowed tags for the FAQ answer/body.
= 2.1.6 (2022-01-05) =
- Fixed an issue causing the YouTube block to not output on the front end in an FAQ post.
= 2.1.5 (2022-01-04) =
- Updated class naming issues.
- Fixed a few styling issues with the walk-through.
= 2.1.4 (2021-12-29) =
- Updated sanitizing and escaping.
= 2.1.3 (2021-12-24) =
- Updated sanitizing and escaping.
- Added stable tag.
= 2.1.2 (2021-12-23) =
- Updating nonce and capability checks for AJAX calls.
- Updating sanitization and escaping.
= 2.1.1 (2021-12-22) =
- Fixed an issue in which the defaults were not being correctly set for a few options.
= 2.1.0 (2021-12-21) =
- Changed how premium settings areas are previewed.
- CSS styling update for the FAQ Details area on the FAQ edit screen.
= 2.0.26 (2021-12-13) =
- Added a notice pertaining to the requirement of the premium helper plugin to access premium settings and content.
= 2.0.25 (2021-11-03) =
- Updates the SAP library to version 2.6.1
- Updates setting's so that a number display only conditionally on other settings' values
- Fix for the 'X' in the search box not re-triggering the AJAX search
= 2.0.24 (2021-10-07) =
- Adds in error handling for when the display_faq isn't defined
- Adds in additional checks to prevent a console errors when the plugin JS files are loaded without the default localization data being defined.
= 2.0.23 (2021-09-17) =
- Updated how secondary assets are conditionally enqueued.
- Adds in a check to prevent a console error when the plugin JS files are loaded without the default localization data being defined.
= 2.0.22 (2021-09-08) =
- Updated the settings page library.
- Made FAQ search input field type search, so it includes functionality such as the clear event.
- Updated the conditional enqueuing of assets.
- Update to the integration with the Ultimate WP Mail plugin for the submitted FAQ thank-you email.
- Added ID to the category headings (when grouping FAQs by category), so you can anchor link directly to one.
- Added a check on FAQ import for the post type, so you can't accidentally overwrite an existing post if you mistakenly specify a post ID that already exists for a post in another post type.
= 2.0.21 (2021-08-12) =
- Updated deprecated block_categories.
= 2.0.20 (2021-07-21) =
- Updating a condition to account for a possible notice create by a rare use of the_content filter.
= 2.0.19 (2021-06-24) =
- Fixed an issue in which FAQs that were imported would not display on the front end until manually updated.
= 2.0.18 (2021-06-21) =
- Fixed an issue with incorrect permalinks in search results.
- Fixed an issue in which emails from Ultimate WP Mail were not available for selection.
- Fixed an issue in which