WordPress FAQ Plugin (CMFAQ) - Use Case - How to Prepare a Comprehensive FAQ Database (+ Shortcodes)


Use Case – How to prepare a comprehensive FAQ database (+shortcodes).

Back to User Guides

Note: This guide requires:


Video Use-Case

Introduction

The WordPress FAQ plugin is a plugin that allows you to build a frequently asked question (FAQs) knowledge base on your WordPress site. 

The plugin includes an AJAX FAQ search widget with autocomplete or users can search the FAQ by category to help site visitors find exactly what they need.

Use Case Front-End

Example of the FAQ knowledge base - FAQ Plugin WordPress
Example of the FAQ knowledge base

Use Case Assumptions

In this example use case guide we will consider how to prepare a comprehensive FAQ knowledge base, how to configure the plugin and how to use shortcodes.

We assume that you've already bought the plugin, but not installed it yet.

It follows:

Installing the Plugin

The process is the same for all CM plugins and add-ons.

CreativeMinds Customer Account Dashboard - Downloads tab
CreativeMinds Customer Account Dashboard
  • Download the plugin from your customer dashboard.
  • Log in to WordPress and navigate to the WordPress Admin → Plugins settings.
  • Click on Add New.
  • Activate it and add the license.

Learn more: Getting Started - Plugin Overview


Creating Lists

Let's start with creating Lists. Lists allow you to group categories with questions, and the admin can display these lists with categories using a shortcode with an attribute.

Navigate to Admin Dashboard → CM FAQ → Lists

Managing FAQ lists - Best FAQ Plugin WordPress
Managing FAQ lists

On the left part of the screen you can see the form for adding the list. There you need to fill the following fields:

  • Name - The name is how it appears on your site.
  • Description - The description is not prominent by default; however, some themes may show it.
  • CM FAQ Page - This is a page that contains a shortcode for displaying FAQ. This is needed in order to have a link back from each FAQ page to the index page.
  • Order - Terms are usually ordered alphabetically, but you can choose your own order by entering a number (1 for first, etc.) in this field.
Form for creating new FAQ list - WordPress FAQ Plugin With Search Bar
Form for creating new FAQ list

When you filled all fields click the Add New List button. After that you will see just created list in the table on the right part of the screen.

Table with created FAQ lists - FAQ Search WordPress Plugin
Table with created FAQ lists

You can edit, delete or view every list that you've created. We will consider how to display list on the front-end later in the section Extra - Shortcodes

Creating Categories

Next step is creating categories. Categories are needed to classify the questions for specific topics, so it will be much easier for your users to find answers for the questions.

Navigate to Admin Dashboard → CM FAQ → Categories.

Managing FAQ categories - WP Responsive FAQ With Category Plugin
Managing FAQ categories

On the left part of the screen you can see the form for adding a category. There you need to fill the following fields:

  • Name - Name of the category.
  • Slug - This is a URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers and hyphens. You can leave this field empty and the slug will be generated automatically from the Name.
  • Parent Category - Assign a parent term to create a hierarchy (optionally).
  • Description - Description of the category. It is not prominent by default, however, some themes may show it.
Form for creating new FAQ category - Q&A WordPress Plugin
Form for creating new FAQ category
  • Icon - You can set a specific icon for the category. Click the Select button to choose the icon from your Media Library. After that you can Change it or Clear using corresponding buttons.
  • Lists - Choose the List that the category will belong to.
  • Order - Terms are usually ordered alphabetically, but you can choose your own order by entering a number in this field (1 for first, etc.).
Adding icong and assigning a category to the list - Frequently Asked Questions Plugin WordPress
Adding icong and assigning a category to the list

When everything is done click the Add New Category button. After that you can see just created category in the table on the right part of the screen. You can edit, delete or view each category, as well as perform bulk actions to all categories. Count "0" that you can see on the screenshot below means that there are no questions in the category at the moment. So let's create a few.

Table with created FAQ categories - WordPress FAQ Schema Plugin
Table with created FAQ categories

How it looks like on the Front-end:

List of FAQ categories on the front-end - Accordion FAQ WordPress Plugin
List of FAQ categories on the front-end

Adding Questions and Answers

To add Questions and Answers navigate to Admin Dashboard → CM FAQ → Add New Questions or Admin Dashboard → CM FAQ → Questions → Add FAQ Questions.

Adding new FAQ question - WordPress Searchable FAQ Plugin
Adding new FAQ question

There you need to write the question in the field Add Title, and write the answer lower.

Adding question and answer - WordPress Plugin for Expanding FAQ
Adding question and answer

On the right part of the screen you can see metaboxes. There you need to configure a few things:

  • FAQ Categories - Choose the category that the question will belong to - there can be more than one of them.

    Assigning a question to FAQ categories - WordPress FAQ Plugin
    Assigning a question to FAQ categories
  • FAQ Tags - Add one or more tags, so it will be easier to navigate between questions using tags.

    Adding tags to the question - FAQ Plugin WordPress
    Adding tags to the question
  • Main category - Specify a main category on this page. Main category will show up on the question breadcrumb. This option is useful when one question belongs to a few categories.

    Choosing main FAQ category for a question - Best FAQ Plugin WordPress
    Choosing main FAQ category for a question

After all of that, don't forget to click the Publish button at the top right. This way you can easily add some more questions and answers.

Options

Next thing you need to do is to configure the plugin - its behavior and appearance. Navigate to Admin Dashboard → CM FAQ → Options.

Navigation to the plugin settings - WordPress FAQ Plugin With Search Bar
Navigation to the plugin settings

There you can see a few different tabs. Let's consider them step by step.

General

First tab is Plugin options that contain all base settings. There you can find the following options:

  • Default CM FAQ page - Choose the default page for FAQ. When you install the plugin, the page for FAQ is created automatically, but you can locate it on another page using a Shortcode.
  • CM FAQ questions slug - Make your links prettier by changing the slug for FAQ questions.
  • CM FAQ categories slug - Set the slug for FAQ category. 
  • Include category slug in question URL - Include the category taxonomy part in the question URL.

    General plugin options - FAQ Search WordPress Plugin
    General plugin options
  • Front categories - Select the categories that will be displayed on the start screen of the FAQ page. If you use the shortcode with the list attribute then front categories will be filtered. Learn more how to change the order of categories: WordPress FAQ Plugin (CMFAQ) - Ordering Categories

    Choosing categories which will be displayed on the FAQ start screen - WP Responsive FAQ With Category Plugin
    Choosing categories which will be displayed on the FAQ start screen

    How it looks like on the Front-end:

    Examples of front categories - Q&A WordPress Plugin
    Examples of front categories
  • Front questions limit - Limit number of questions displayed under categories on the start screen of the FAQ page.
  • Answer word limit - This option limits the amount of words on pages with the questions list. Leave empty or set 0 to remove limit - full content will be shown. The option works when the next one is disabled.
  • Show answer excerpt in QA-list - Enable it to display answer excerpt instead of content on pages with the questions list. (e.g. Category view page).

    Display options - Frequently Asked Questions Plugin WordPress
    Display options
  • Preserve HTML-tags - Enable it to keep HTML-formatting of content in the QA list view.
  • Show related Questions - Enable it to show related answers under the answer. Related questions are based on Tags. There can be displayed up to 5 related questions.
  • Show tags cloud - Enable it to display tags cloud on the frontend FAQ page.

    Related questions and tags options - WordPress FAQ Schema Plugin
    Related questions and tags options
  • Show search bar - Enable it to display Search bar on the FAQ page.
  • Search suggestion with content - Enable it to show first line of the answer in search suggestions. 

    Search options - Accordion FAQ WordPress Plugin
    Search options
  • Questions order - Choose how the questions should be ordered by the search results. They can be ordered by ascending or descending way with the following options:
    • Publish date
    • Voting
    • Title
    • Modify Date
  • Categories and Tags noindex - If enabled, meta noindex will be appended to page head on categories and tags pages.

    Ordering and indexing options - WordPress Searchable FAQ Plugin
    Ordering and indexing options
  • Plugin statistics - If enabled, there will be collected statistics about displaying and voting.

    Enabling statistics - WordPress Plugin for Expanding FAQ
    Enabling statistics

Labels

On the next tab - Plugin Labels, you can change the following labels:

  • Categories
  • Tags
  • Tiles show more
  • Breadcrumb home
  • Question tags
  • Related questions
  • Search input placeholder
  • Search / taxonomy no results
  • Search results 

    Plugin labels - WordPress FAQ Plugin
    Plugin labels

Search Widget

Next tab is Search Widget. You can add a floating FAQs search widget to specific pages on your site which can display available frequently asked questions for a specific keyword. The order of results are determined by votes and relevance. 

Search widget - FAQ Plugin WordPress
Search widget

Here you can configure the following options:

  • Show on CM FAQ Page - Enable it to display the widget on the FAQ page.
  • Show on Front Page - Enable it to display the widget on the Front page.
  • Show on given post types - Choose the post types where you want to display the widget.
  • Show answer - Enable it to show the first line of the answer in the widget.

    Search widget settings - Best FAQ Plugin WordPress
    Search widget settings

You can also define the appearance of the widget by configuring the following options:

  • Open title 
  • Closed title
  • Search placeholder
  • Search no results label
  • Color
  • Placement

    Search widget appearance settings - WordPress FAQ Plugin With Search Bar
    Search widget appearance settings

Voting

Next tab is Voting. The options are:

  • Voting - General option to enable/disable voting. Use this option to disable voting in all places.

    Voting feature - FAQ Search WordPress Plugin
    Voting feature

The following options work only if general option  Voting is enabled:

  • Categories voting - Enable it to show voting in categories and tags.
  • Search results voting - Enable it to show voting in search results.
  • Search suggestion voting - Enable it to show voting in search suggestion.
  • Search Widget voting - Enable it to show voting in Search Widget.

    Voting settings - WP Responsive FAQ With Category Plugin
    Voting settings

Appearance

Next tab is Appearance

Here you can configure color and font size for Frontpage, Breadcrumbs, Question Lists and Questions content. Learn more about it in our guide: WordPress FAQ Plugin (CMFAQ) - Editing Appearance Settings (Colors, Accordion)

Here we will consider more detailed the section called QA list appearance. Instead of usual list of the questions and answers you can show them in Accordion type of displaying. 

How it looks like:

Accordion type of displaying - Q&A WordPress Plugin
Accordion type of displaying

To configure it you can use the following options:

  • Accordion - Check it to enable accordion visual effect.
  • Collapsed panel icon - Choose the icon for the collapsed panel.
  • Expanded panel icon - Choose the icon for the expanded panel.
  • Icon size - Choose the size of the icon.
QA list appearance settings - Frequently Asked Questions Plugin WordPress
QA list appearance settings

When you finished configuring the plugin, click the Save Changes button. Now everything is configured. Let's see the result on the Front-end. The FAQ page is created by default and you can find the link to it at the top on the Options page.

Link to the default FAQ index page - WordPress FAQ Schema Plugin
Link to the default FAQ index page

For our use case we've created in advance some more categories to make it more descriptive.

End Result

Following instructions found in the WordPress FAQ plugin and guides you should be able to build and configure FAQ knowledge base on your site. Thanks for watching the video.

Use Case Front-End

Example of the FAQ knowledge base - Accordion FAQ WordPress Plugin
Example of the FAQ knowledge base

Extra - Shortcodes

You can also locate your FAQ anywhere else using shortcodes with different parameters. It is useful when you want to make a few different FAQs for specific topics and locate them in different places.

TIP: What Are Shortcodes

Shortcodes add dynamic content to your site via a small piece of code.

Learn more: Shortcodes - How To Use | Finding ID of Post/Page/Other Content

The shortcodes are:

  • [cm_faq]
  • [cm_faq_all]

[cm_faq] is used for showing FAQ. Its attributes:

  • list - the list name.
  • searchbar - show search bar (1 or 0), replaces general "Show search bar" option value.

Example

We added to our list called "FAQ" only two categories - "Pricing" and "General". Let's place this list with disabled searchbar in the page using the following shortcode:

[cm_faq list="FAQ" searchbar="0"]

Shortcode for displaying specific FAQ list without searchbar - WordPress Plugin for Expanding FAQ
Shortcode for displaying specific FAQ list without searchbar

Result on the Front-end:

Result of using the shortcode - WordPress Plugin for Expanding FAQ
Result of using the shortcode

Second shortcode [cm_faq_all] is used for showing questions list. Its attributes:

  • category - the category name or slug.
  • orderby - the order of displayed questions.
  • order - the order direction (ascending or descending).
  • number - the limit of displayed questions.
  • accordion - set/unset accordion appearance of FAQ List items.
  • searchbar - show search bar (1 or 0), replaces general "Show search bar" option value.

Example

Let's display the category "General" with only 3 questions ordered by the title, and specify the accordion appearance of the list. The shortcode will look like this:

[cm_faq_all category="General" orderby="title" number="3" accordion="1"]

Shortcode for displaying a list of questions of certain category - WordPress FAQ Plugin
Shortcode for displaying a list of questions of certain category

Result on the Front-end:

Result of using the shortcode - FAQ Plugin WordPress
Result of using the shortcode

Learn more, what can you do using the shortcodes in our detailed guide: WordPress FAQ Plugin (CMFAQ) - Shortcodes


More information about the WordPress FAQ Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.