Ultimate FAQ - Version 1.2.9

Version Description

  • If there are no tags or categories for a particular FAQ, they should now be hidden
Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Ultimate FAQ
Version 1.2.9
Comparing to
See all releases

Code changes from version 1.2.8 to 1.2.9

Functions/EWD_UFAQ_Version_Update.php CHANGED
@@ -45,7 +45,7 @@ function EWD_UFAQ_Version_Update_Box() {
45
  <h3 class='hndle'><span><?php _e("Thank You!", 'EWD_UFAQ') ?></span></h3>
46
  <div class="inside">
47
  <?php if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate FAQs plugin.", "EWD_UFAQ"); ?><br> <a href='https://www.youtube.com/channel/UCZPuaoetCJB1vZOmpnMxJNw'><?php _e("Subscribe to our YouTube channel ", "EWD_UFAQ"); ?></a> <?php _e("for tutorial videos on this and our other plugins!", "EWD_UFAQ");?> </li></ul>
48
- <?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 1.2.8!", "EWD_UFAQ"); ?><br> <a href='https://wordpress.org/support/view/plugin-reviews/ultimate-faqs?filter=5'><?php _e("Please rate our plugin", "EWD_UFAQ"); ?></a> <?php _e("if you find Ultimate FAQs useful!", "EWD_UFAQ");?> </li></ul><?php } ?>
49
 
50
  <?php /* if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate Product Catalogue Plugin.", "EWD_UFAQ"); ?><br> <a href='http://www.facebook.com/EtoileWebDesign'><?php _e("Follow us on Facebook", "EWD_UFAQ"); ?></a> <?php _e("to suggest new features or hear about upcoming ones!", "EWD_UFAQ");?> </li></ul>
51
  <?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 2.2.9!", "EWD_UFAQ"); ?><br> <a href='http://www.facebook.com/EtoileWebDesign'><?php _e("Follow us on Facebook", "EWD_UFAQ"); ?></a> <?php _e("to suggest new features or hear about upcoming ones!", "EWD_UFAQ");?> </li></ul><?php } */ ?>
45
  <h3 class='hndle'><span><?php _e("Thank You!", 'EWD_UFAQ') ?></span></h3>
46
  <div class="inside">
47
  <?php if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate FAQs plugin.", "EWD_UFAQ"); ?><br> <a href='https://www.youtube.com/channel/UCZPuaoetCJB1vZOmpnMxJNw'><?php _e("Subscribe to our YouTube channel ", "EWD_UFAQ"); ?></a> <?php _e("for tutorial videos on this and our other plugins!", "EWD_UFAQ");?> </li></ul>
48
+ <?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 1.2.9!", "EWD_UFAQ"); ?><br> <a href='https://wordpress.org/support/view/plugin-reviews/ultimate-faqs?filter=5'><?php _e("Please rate our plugin", "EWD_UFAQ"); ?></a> <?php _e("if you find Ultimate FAQs useful!", "EWD_UFAQ");?> </li></ul><?php } ?>
49
 
50
  <?php /* if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate Product Catalogue Plugin.", "EWD_UFAQ"); ?><br> <a href='http://www.facebook.com/EtoileWebDesign'><?php _e("Follow us on Facebook", "EWD_UFAQ"); ?></a> <?php _e("to suggest new features or hear about upcoming ones!", "EWD_UFAQ");?> </li></ul>
51
  <?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 2.2.9!", "EWD_UFAQ"); ?><br> <a href='http://www.facebook.com/EtoileWebDesign'><?php _e("Follow us on Facebook", "EWD_UFAQ"); ?></a> <?php _e("to suggest new features or hear about upcoming ones!", "EWD_UFAQ");?> </li></ul><?php } */ ?>
Main.php CHANGED
@@ -7,7 +7,7 @@ Author: Etoile Web Design
7
  Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
8
  Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
9
  Text Domain: EWD_UFAQ
10
- Version: 1.2.8
11
  */
12
 
13
  global $ewd_ufaq_message;
7
  Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
8
  Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
9
  Text Domain: EWD_UFAQ
10
+ Version: 1.2.9
11
  */
12
 
13
  global $ewd_ufaq_message;
Shortcodes/DisplayFAQs.php CHANGED
@@ -244,7 +244,7 @@ function Display_FAQs($atts) {
244
 
245
  $ReturnString .= "<div class='ewd-ufaq-post-margin ufaq-faq-post' id='ufaq-post-" . $faq->ID . "'>" . apply_filters('the_content', html_entity_decode($faq->post_content)) . "</div>";
246
 
247
- if ($Hide_Categories == "No") {
248
  $ReturnString .= "<div class='ufaq-faq-categories' id='ufaq-categories-" . $faq->ID . "'>";
249
  if ($Category_Label == ""){
250
  if (sizeOf($Category_Terms) > 1) {$ReturnString .= "Categories: ";}
@@ -259,7 +259,7 @@ function Display_FAQs($atts) {
259
  $ReturnString .= "</div>";
260
  }
261
 
262
- if ($Hide_Tags == "No") {
263
  $ReturnString .= "<div class='ufaq-faq-tags' id='ufaq-tags-" . $faq->ID . "'>";
264
  if ($Tag_Label == ""){
265
  if (sizeOf($Tag_Terms) > 1) {$ReturnString .= "Tags: ";}
244
 
245
  $ReturnString .= "<div class='ewd-ufaq-post-margin ufaq-faq-post' id='ufaq-post-" . $faq->ID . "'>" . apply_filters('the_content', html_entity_decode($faq->post_content)) . "</div>";
246
 
247
+ if ($Hide_Categories == "No" and sizeOf($Category_Terms) > 0) {
248
  $ReturnString .= "<div class='ufaq-faq-categories' id='ufaq-categories-" . $faq->ID . "'>";
249
  if ($Category_Label == ""){
250
  if (sizeOf($Category_Terms) > 1) {$ReturnString .= "Categories: ";}
259
  $ReturnString .= "</div>";
260
  }
261
 
262
+ if ($Hide_Tags == "No" and sizeOf($Tag_Terms) > 0) {
263
  $ReturnString .= "<div class='ufaq-faq-tags' id='ufaq-tags-" . $faq->ID . "'>";
264
  if ($Tag_Label == ""){
265
  if (sizeOf($Tag_Terms) > 1) {$ReturnString .= "Tags: ";}
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === Plugin Name ===
2
  Contributors: Rustaurius, EtoileWebDesign
3
- Tags: frequently asked questions, FAQ, FAQs, easy FAQ, knowledge base, simple FAQ, FAQ categories, FAQs, knowledgebase, answer, answers, faq page, FAQ Plugin, help, help desk, helpdesk, questions, wordpress faq, FAQ list, FAQ accordion, custom post type with accordion, faq list, faq with accordion, jquery ui accordion, jquery-ui, shortcodes, wordpress, WordPress Plugin, Categories, social media, facebook, widget, widgets, statistics, AJAX, analytics, responsive, submit questions, WooCommerce, WooCommerce FAQ, WooCommerce Tab, WooCommerce product page
4
  Requires at least: 3.7.0
5
  Tested up to: 4.4.2
6
  License: GPLv3
7
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
8
 
9
- A simple FAQ plugin that lets you create, order and publicize FAQs, insert 3 styles of FAQs on a page or WooCommerce product, and use AJAX FAQ search using shortcodes
10
 
11
  == Description ==
12
 
@@ -14,47 +14,47 @@ A simple FAQ plugin that lets you create, order and publicize FAQs, insert 3 sty
14
 
15
  [youtube https://www.youtube.com/watch?v=GOuiqcF9DTQ]
16
 
17
- Create, organize and publicize your Frequently Asked Questions in no time through your Wordpress Admin Panel with the incredibly easy-to-use, responsive Ultimate FAQ plugin. You can use either the accordion FAQ style, to display one answer on click, or the list FAQ style, to have answers displayed by default. Features include statistics on how many times FAQs have been viewed, styling options, categories and tags, display and ordering options among many others.
18
 
19
- Want to decide exactly what order your FAQs are displayed in? Use our simple FAQ drag-and-drop reordering feature! Create SEO-friendly links to individual FAQ posts to simply direct customers to exactly the right answer, right away. You can even let your customers add to your custom FAQ list with the [submit-question] smart FAQ shortcode, which lets visitors submit a question and even propose and answer for it! Easily add links to popular social media, such as Facebook, Twitter and Pinterest so that your customers can help you spread the word!
20
 
21
- Using WooCommerce to sell your products? Easily add an "FAQ" tab to each product page, so your customers can see answers to common questions about the products they're browsing.
22
 
23
  Great for combining with our <a href='https://wordpress.org/plugins/front-end-only-users/'>user management plugin </a> to create a member's only FAQ area.
24
 
25
- Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ post type, allowing for smart and easy integration.
26
 
27
  = Key Features =
28
-
29
  * Create FAQ categories
30
  * Create FAQ posts and assign categories to them
31
- * An AJAX search form
32
  * Export all FAQs to a PDF to create a user manual
33
  * Insert custom CSS to style your FAQ posts
34
- * Select animation options for displaying FAQ posts
35
- * Toggle accordion (close open FAQ when a new one is opened) behaviour on/off
36
- * Share on social media
37
  * Responsive FAQ design
38
 
39
  = Premium features include =
40
  * WooCommerce FAQ tab with specific FAQs for each product on product page (<a href='https://www.youtube.com/watch?v=cH3p0fW4c5o'>YouTube Video</a>)
41
- * Different display styles for your frequently asked questions
42
  * User-submitted FAQs
43
- * AJAX easy FAQ search with autocomplete for titles
44
  * Import/Export of FAQs from spreadsheet
45
  * Export FAQs to PDF
46
- * SEO-Friendly FAQ, category and tag permalinks
47
- * Advanced styling options
48
  * Re-ordering of FAQs
49
 
50
  = FAQ Shortcodes =
51
 
52
- * [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)
53
  * [popular-faqs]: displays a number of the most viewed FAQs (5 unless specified).
54
  * [recent-faqs]: displays a number of the most recently added FAQs (5 unless specified).
55
- * [select-faq]: display specific FAQ posts, using the attributes faq_name, faq_slug and faq_id which take comma-separated lists of post names, slugs and ids respectively.
56
- * [ultimate-faq-search]: display a search form that allows users to find FAQs with a specific string in the title or body of the post (premium).
57
- * [submit-question]: display a form that allows users to submit FAQs of their own and, if enabled, enter an enter to their submitted question as well (premium).
58
 
59
  Check out our Frequently Asked Questions here:
60
  <https://wordpress.org/plugins/ultimate-faqs/faq/>
@@ -71,32 +71,32 @@ Please head to the "Support" forum to report issues or make suggestions:
71
 
72
  = How do I get my FAQs to show up on my page? =
73
 
74
- Try adding the shortcode [ultimate-faqs] to whatever page you'd like to display it on.
75
 
76
  = What are the current FAQ shortcodes? =
77
 
78
- * [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)
79
  * [popular-faqs]: displays a number of the most viewed FAQs (5 unless specified).
80
  * [recent-faqs]: displays a number of the most recently added FAQs (5 unless specified).
81
- * [select-faq]: display specific FAQ posts, using the attributes faq_name”, faq_slug and faq_id which take comma-separated lists of post names, slugs and ids respectively.
82
- * [ultimate-faq-search]: display a search form that allows users to find FAQs with a specific string in the title or body of the post. (Premium)
83
- * [submit-question]: display a form that allows users to submit FAQs of their own and, if enabled, enter an enter to their submitted question as well (premium).
84
 
85
  = What attributes does the [ultimate-faqs] shortcode accept? =
86
 
87
- The shortcode accepts two attributes, “include_category? and “exclude_category”, both take a comma-separated list of category slugs. For example, to include only FAQs about the Category "Cars" (which has a slug "cars"), you would use"
88
 
89
  [ultimate-faqs include_category='cars']
90
 
91
  = Can I hide my FAQ categories? =
92
 
93
- Yes, you can choose to display or hide categories on the FAQ settings page.
94
 
95
  = Is it possible to re-order my FAQs? =
96
 
97
- Currently you can choose between ascending or descending ordering by either Title, Date Created, or Date Modified.
98
 
99
- With the premium version, you can use the drag and drop ordering table to set exactly the order you want.
100
 
101
  = How can I make my FAQs sharable over social media? =
102
 
@@ -104,7 +104,7 @@ On the FAQ settings page you can choose to link to twitter, facebook and more!
104
 
105
  = How do I make my FAQs searchable? =
106
 
107
- You can use the shortcode, [ultimate-faq-search], which displays an AJAX search form. You can use the "Auto-Complete Titles" option to have a list of all matching questions pop up when a user has typed 3 or more characters.
108
 
109
  = Can I display all FAQs on pageload using the [ultimate-faq-search] shortcode? =
110
 
@@ -112,11 +112,11 @@ You can add the attribute "show_on_load" to the shortcode, and set it to "Yes" t
112
 
113
  = How do I customize my FAQs, for example, to change the font? =
114
 
115
- You can customize the plugin by adding code to the Custom CSS box on the settings page, go to the "Custom CSS" box. For example to change the font you might want to add something like:
116
 
117
  .ufaq-faq-title h4, .ufaq-faq-category-title h4 {font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;}
118
 
119
- 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 color fields and more!
120
 
121
  For more questions and support you can post in the support forum:
122
  <https://wordpress.org/support/plugin/ultimate-faqs>
@@ -146,6 +146,9 @@ Video 3 - FAQs Ordering
146
  9. All answers displayed in the 'list' FAQ mode
147
 
148
  == Changelog ==
 
 
 
149
  = 1.2.8 =
150
  - Added an attribute, show_on_load, which will show all FAQs when the page first loads and then refresh the results when a visitor adds a search term
151
 
1
  === Plugin Name ===
2
  Contributors: Rustaurius, EtoileWebDesign
3
+ Tags: frequently asked questions, FAQ, FAQs, easy FAQ, knowledge base, simple FAQ, FAQ categories, FAQs, knowledgebase, answer, FAQ answer, answers, faq page, FAQ Plugin, help, help desk, helpdesk, questions, FAQ questions, wordpress faq, FAQ list, FAQ accordion, custom post type with accordion, FAQ custom post type, faq list, faq with accordion, jquery ui accordion, jquery faq, jquery-ui, shortcodes, wordpress, WordPress Plugin, wordpress faq plugin, Categories, social media, facebook, widget, faq widget, widgets, statistics, AJAX, AJAX FAQ, analytics, responsive, responsive faq, submit questions, WooCommerce, WooCommerce FAQ, WooCommerce Tab, WooCommerce product page
4
  Requires at least: 3.7.0
5
  Tested up to: 4.4.2
6
  License: GPLv3
7
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
8
 
9
+ A simple FAQ plugin that lets you create, order and publicize FAQs, insert 3 styles of FAQs on a page or WooCommerce product, and use AJAX FAQ search using FAQ shortcodes
10
 
11
  == Description ==
12
 
14
 
15
  [youtube https://www.youtube.com/watch?v=GOuiqcF9DTQ]
16
 
17
+ Create, organize and publicize your FAQ in no time through your Wordpress Admin Panel with the incredibly easy-to-use, responsive Ultimate FAQ plugin. You can use either the accordion FAQ style, to display one FAQ answer on click, or the list FAQ style, to have FAQ answers displayed by default. FAQ features include FAQ statistics that show how many times FAQs have been viewed, FAQ styling options, FAQ categories and FAQ tags, display and FAQ ordering options, among many others.
18
 
19
+ Want to decide exactly what order your FAQs are displayed in? Use our simple FAQ drag-and-drop reordering feature! Create SEO-friendly links to individual FAQ posts to simply direct customers to exactly the right FAQ answer, right away. You can even let your customers add to your custom FAQ list with the [submit-question] smart FAQ shortcode, which lets visitors submit an FAQ question and even propose an FAQ answer for it! Easily add links to popular social media, such as Facebook, Twitter and Pinterest so that your customers can help you spread the word about your FAQ!
20
 
21
+ Using WooCommerce to sell your products? Easily add an "FAQ" tab to each product page, so your customers can see answers to common FAQ questions about the products they're browsing. It's the most comprehensive FAQ solution for WooCommerce!
22
 
23
  Great for combining with our <a href='https://wordpress.org/plugins/front-end-only-users/'>user management plugin </a> to create a member's only FAQ area.
24
 
25
+ Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ post type, allowing for smart and easy FAQ integration.
26
 
27
  = Key Features =
28
+ * Unlimited FAQ, unlimited FAQ tag and unlimited FAQ category support
29
  * Create FAQ categories
30
  * Create FAQ posts and assign categories to them
31
+ * An AJAX FAQ search form
32
  * Export all FAQs to a PDF to create a user manual
33
  * Insert custom CSS to style your FAQ posts
34
+ * Select FAQ animation options for displaying FAQ posts
35
+ * Toggle FAQ accordion (close open FAQ when a new one is opened) behaviour on/off
36
+ * Share FAQ on social media
37
  * Responsive FAQ design
38
 
39
  = Premium features include =
40
  * WooCommerce FAQ tab with specific FAQs for each product on product page (<a href='https://www.youtube.com/watch?v=cH3p0fW4c5o'>YouTube Video</a>)
41
+ * Different FAQ display styles for your frequently asked questions
42
  * User-submitted FAQs
43
+ * AJAX easy FAQ search with autocomplete for FAQ titles
44
  * Import/Export of FAQs from spreadsheet
45
  * Export FAQs to PDF
46
+ * SEO-Friendly FAQ, FAQ category and FAQ tag permalinks
47
+ * Advanced FAQ styling options
48
  * Re-ordering of FAQs
49
 
50
  = FAQ Shortcodes =
51
 
52
+ * [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)
53
  * [popular-faqs]: displays a number of the most viewed FAQs (5 unless specified).
54
  * [recent-faqs]: displays a number of the most recently added FAQs (5 unless specified).
55
+ * [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.
56
+ * [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).
57
+ * [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).
58
 
59
  Check out our Frequently Asked Questions here:
60
  <https://wordpress.org/plugins/ultimate-faqs/faq/>
71
 
72
  = How do I get my FAQs to show up on my page? =
73
 
74
+ Try adding the shortcode [ultimate-faqs] to whatever page you'd like to display the FAQ on.
75
 
76
  = What are the current FAQ shortcodes? =
77
 
78
+ * [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)
79
  * [popular-faqs]: displays a number of the most viewed FAQs (5 unless specified).
80
  * [recent-faqs]: displays a number of the most recently added FAQs (5 unless specified).
81
+ * [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.
82
+ * [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).
83
+ * [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).
84
 
85
  = What attributes does the [ultimate-faqs] shortcode accept? =
86
 
87
+ 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"
88
 
89
  [ultimate-faqs include_category='cars']
90
 
91
  = Can I hide my FAQ categories? =
92
 
93
+ Yes, you can choose to display or hide FAQ categories on the FAQ settings page.
94
 
95
  = Is it possible to re-order my FAQs? =
96
 
97
+ Currently you can choose between ascending or descending ordering for your FAQ by either Title, Date Created, or Date Modified.
98
 
99
+ With the premium version, you can use the FAQ drag and drop ordering table to set exactly the order you want for your FAQs.
100
 
101
  = How can I make my FAQs sharable over social media? =
102
 
104
 
105
  = How do I make my FAQs searchable? =
106
 
107
+ You can use the 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.
108
 
109
  = Can I display all FAQs on pageload using the [ultimate-faq-search] shortcode? =
110
 
112
 
113
  = How do I customize my FAQs, for example, to change the font? =
114
 
115
+ 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:
116
 
117
  .ufaq-faq-title h4, .ufaq-faq-category-title h4 {font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;}
118
 
119
+ 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!
120
 
121
  For more questions and support you can post in the support forum:
122
  <https://wordpress.org/support/plugin/ultimate-faqs>
146
  9. All answers displayed in the 'list' FAQ mode
147
 
148
  == Changelog ==
149
+ = 1.2.9 =
150
+ - If there are no tags or categories for a particular FAQ, they should now be hidden
151
+
152
  = 1.2.8 =
153
  - Added an attribute, show_on_load, which will show all FAQs when the page first loads and then refresh the results when a visitor adds a search term
154