Documentation

PowerPack – FAQ

Introduction

Faqs module allows you add, manage and display FAQ on your website. You can use this plugin as a jquery ui accordion.This plugin is created with custom post type.

Features:

Here you will find the main features which are included in ‘FAQ PwPc’ Plugin.

  1. 15+ Designs for FAQ with accordian.
  2. Grid layout for category wise FAQ.
  3. Limit to display number of FAQ.
  4. Display FAQ categories wise.
  5. Drag and Drop Order Change.
  6. Include/Exclude Category.
  7. Include/Exclude FAQ.
  8. FAQ Order ASC OR DESC.
  9. Show Read more/ Show Less button.
  10. Code written with WordPress standard.
  11. Fully Responsive.
  12. 100% Multi language.
  13. Custom CSS Editor.

Installation

Installation of FAQ PwPc requires a few clicks. To install the plugin, please use the following steps
FAQ PwPc should now be installed successfully!

Getting started

FAQ PwPc adds a Menu tab in WP Admin side with the name “FAQ-PwPc “ where you can add Title, Content and Image as a featured image.
Screen shows “FAQ-PwPc” tab in the left side and all FAQ post added

FAQ-listing

Add FAQ

  1. Go to FAQ-PwPc and click on Add FAQ.
  2. Add Title, Content and Featured image and update.
  3. You can select the category for FAQ from the ‘Category’ box at right side.
  4. You can add category for FAQs from the FAQ Category menu.

How to display shortcode

To display a FAQ post is very simple. Just add the following shortcodes on any page or post:
[pwpc_faq] – Display FAQ in Page
[pwpc_faq_cat_grid] – Display FAQ items with Categories in Grid View

Template Code – If you want to display FAQ post within your theme template.

<?php echo do_shortcode('[pwpc_faq]'); ?>
<?php echo do_shortcode('[pwpc_faq_cat_grid]'); ?>

Following are FAQ Shortcode Parameter

Shortcode : [pwpc_faq]

  • Limit
    [pwpc_faq limit="20"]
    Limit the number FAQ’s items to be display. By default value is limit=”20″.

  • Category
    [pwpc_faq category="5,10,15"]
    Display FAQ’s by category. You can pass multiple ids by comma separated.

  • Display child category
    [pwpc_faq include_cat_child="true"]
    Display child category FAQ. Values are “true” OR “false”.

  • Design
    [pwpc_faq design="design-1"]
    Select design for FAQ. Where Designs are 1 to 15.

  • Category Name
    [pwpc_faq category_name="category name"]
    Display FAQ’s category name which you want to display. It will display above FAQ.

  • Single Open
    [pwpc_faq single_open="true"]
    Remain open one FAQ at a time. By default value is “true”. Values are “true” OR “false”.

  • Default Open FAQ
    [pwpc_faq default_open_faq="2"]
    Default open FAQ on page load.

  • Transition Speed
    [pwpc_faq transition_speed="300"]
    Transition speed when user click to open FAQ item.

  • Background Color
    [pwpc_faq background_color="#000"]
    You can set background color of FAQ item.

  • Font Color
    [pwpc_faq font_color="#fff"]
    You can Set font color of FAQ item.

  • Border Color
    [pwpc_faq border_color="#444"]
    You can Set border color of FAQ item.

  • Heading Font Size
    [pwpc_faq heading_font_size="20"]
    You can Set font size for FAQ heading.

  • Active Background Color
    [pwpc_faq active_bg_color="#000"]
    You can set Active background color of FAQ item.

  • Active Font Color
    [pwpc_faq active_font_color="#fff"]
    You can Set Active font color of FAQ item.

  • Active Title Color
    [pwpc_faq active_title_color="#fff"]
    You can Set Active Title color of FAQ item.

  • Icon Color
    [pwpc_faq icon_color="white"]
    Set the icon color. By default value is “black”. Options are “black” OR white”.

  • Icon Type
    [pwpc_faq icon_type="plus"]
    Set the icon type. By default value is “arrow”. Options are “plus” OR arrow”.

  • Icon Position
    [pwpc_faq icon_position="left"]
    Set the icon position. By default value is “right”. Options are “left” OR right”

  • Order
    [pwpc_faq order="DESC"]
    Set the FAQ’s order. By default value is “DESC”. Options are “DESC” OR ASC”.

  • Order By
    [pwpc_faq orderby="post_date"]
    Set the FAQ’s sort by. By default value is “post_date”. Options are “ID”, “title”, “post_date”, “modified”, “rand”, “menu_order”.

  • Exclude Category
    [pwpc_faq exclude_cat="1,5,6"]
    Exclude some FAQ category which you do not want to display. You can pass multiple category id by comma separated.

  • Exclude Post
    [pwpc_faq exclude_post="1,5,6"]
    Exclude some FAQ post which you do not want to display. You can pass multiple post id by comma separated.

  • Posts
    [pwpc_faq posts="1,5,6"]
    Display only specific FAQ posts. You can pass multiple post id by comma separated.

FAQ Categories Grid shortcode parameter

Shortcode : [pwpc_faq_cat_grid]

  • Limit
    [pwpc_faq_cat_grid limit="20"]
    Limit the number FAQ’s items to be display. By default value is limit=”20″; Use -1 to display all FAQ.

  • Grid
    [pwpc_faq_cat_grid grid="2"]
    Display FAQ’s category in grid view.

  • Border Color
    [pwpc_faq_cat_grid border_color="#444"]
    You can Set border color of FAQ box.

  • Background Color
    [pwpc_faq_cat_grid background_color="#000"]
    You can Set background color of FAQ item.

  • Font Color
    [pwpc_faq_cat_grid font_color="#fff"]
    You can Set font color of FAQ item

  • Font Size
    [pwpc_faq_cat_grid font_size=""]
    You can Set font size of Faq.

  • Order
    [pwpc_faq_cat_grid order="DESC"]
    Set the FAQ’s order. By default value is “DESC”. Options are “DESC” OR ASC”.

  • Order By
    [pwpc_faq_cat_grid orderby="post_date"]
    Set the FAQ’s sort by. By default value is “post_date”. Options are “ID”, “title”, “post_date”, “modified”, “rand”, “menu_order”.

  • Exclude Post
    [pwpc_faq_cat_grid exclude_post="1,5,6"]
    Exclude some FAQ post which you do not want to display. You can pass multiple post id by comma separated.

  • Posts
    [pwpc_faq_cat_grid posts="1,5,6"]
    Display only specific FAQ posts. You can pass multiple post id by comma separated.

  • Category Order By
    [pwpc_faq_cat_grid cat_orderby="name"]
    Order FAQ category. Default value is ‘name’. Options are ‘name’, ‘slug’, ‘id’ OR ‘count’.

  • Category Order
    [pwpc_faq_cat_grid cat_order="ASC"]
    Set the FAQ category order. Options are “DESC” OR ASC”

  • Cat Limit
    [pwpc_faq_cat_grid cat_limit="10"]
    Limit the number of FAQ’s category. Leave empty for all.

  • Exclude Category
    [pwpc_faq_cat_grid exclude_cat="1,5,6"]
    Exclude some FAQ category which you do not want to display. You can pass multiple category id by comma separated.

  • Category
    [pwpc_faq_cat_grid cats="1,2,3"]
    Display FAQ’s for specific category. You can pass multiple ids by comma separated.

  • Display Child Category
    [pwpc_faq_cat_grid include_cat_child="true"]
    Display child category FAQ. Values are “true” OR “false”.

  • Parent
    [pwpc_faq_cat_grid parent=""]
    Display child category FAQ by parent category id.

  • Display Post Count
    [pwpc_faq_cat_grid display_post_count="false"]
    Display FAQ post count with category name. Options are ‘true’ or ‘false’.

  • Post To Show
    [pwpc_faq_cat_grid post_to_show="2"]
    Display FAQ post at a time in category block, others will be toggle.

  • Show More Button
    [pwpc_faq_cat_grid show_more_button="Show More"]
    Change show more button text.

  • Show Less Button
    [pwpc_faq_cat_grid show_less_button="Show Less"]
    Change show less button text.