Ultimate FAQ - Version 1.1.4

Version Description

  • Fixed a conflict with WooCommerce, where a UFAQ script was keeping product information tabs open
Download this release

Release Info

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

Code changes from version 1.1.3 to 1.1.4

Files changed (4) hide show
  1. Main.php +1 -1
  2. Shortcodes/DisplayFAQs.php +2 -2
  3. js/ewd-ufaq-js.js +2 -2
  4. readme.txt +32 -18
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.1.3
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.1.4
11
  */
12
 
13
  global $ewd_ufaq_message;
Shortcodes/DisplayFAQs.php CHANGED
@@ -194,8 +194,8 @@ function Display_FAQs($atts) {
194
  $ReturnString .= "</div>";
195
 
196
  if (strlen($faq->post_excerpt) > 0) {$ReturnString .= "<div class='ufaq-faq-excerpt' id='ufaq-excerpt-" . $faq->ID . "'>" . apply_filters('the_content', html_entity_decode($faq->post_excerpt)) . "</div>";}
197
- $ReturnString .= "<div class='ufaq-faq-body ";
198
- if ($Display_All_Answers != "Yes") {$ReturnString .= "ewd-ufaq-hidden";}
199
  $ReturnString .= "' id='ufaq-body-" . $faq->ID . "-" . $Counter . "'>";
200
 
201
  if ($Display_Author == "Yes" or $Display_Date == "Yes") {
194
  $ReturnString .= "</div>";
195
 
196
  if (strlen($faq->post_excerpt) > 0) {$ReturnString .= "<div class='ufaq-faq-excerpt' id='ufaq-excerpt-" . $faq->ID . "'>" . apply_filters('the_content', html_entity_decode($faq->post_excerpt)) . "</div>";}
197
+ $ReturnString .= "<div class='ufaq-faq-body ufaq-body-" . $faq->ID;
198
+ if ($Display_All_Answers != "Yes") {$ReturnString .= " ewd-ufaq-hidden";}
199
  $ReturnString .= "' id='ufaq-body-" . $faq->ID . "-" . $Counter . "'>";
200
 
201
  if ($Display_Author == "Yes" or $Display_Date == "Yes") {
js/ewd-ufaq-js.js CHANGED
@@ -133,7 +133,7 @@ jQuery(document).ready(function() {
133
  if (typeof(Display_FAQ_ID) != "undefined" && Display_FAQ_ID !== null) {
134
  var selectedIDString = 'ufaq-body-'+Display_FAQ_ID;
135
  EWD_UFAQ_Reveal_FAQ(Display_FAQ_ID, selectedIDString);
136
- jQuery('html, body').animate({scrollTop: jQuery("#"+selectedIDString).offset().top -80}, 100);
137
  }
138
  });
139
 
@@ -181,7 +181,7 @@ jQuery(document).ready(function() {
181
  jQuery('html,body').animate({
182
  scrollTop: target.offset().top
183
  }, 1000);
184
- return false;
185
  }
186
  }
187
  });
133
  if (typeof(Display_FAQ_ID) != "undefined" && Display_FAQ_ID !== null) {
134
  var selectedIDString = 'ufaq-body-'+Display_FAQ_ID;
135
  EWD_UFAQ_Reveal_FAQ(Display_FAQ_ID, selectedIDString);
136
+ jQuery('html, body').animate({scrollTop: jQuery("."+selectedIDString).offset().top -80}, 100);
137
  }
138
  });
139
 
181
  jQuery('html,body').animate({
182
  scrollTop: target.offset().top
183
  }, 1000);
184
+ //return false;
185
  }
186
  }
187
  });
readme.txt CHANGED
@@ -14,9 +14,9 @@ A simple FAQ plugin that lets you create or your users FAQs, order FAQs, publici
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, display and ordering options among many others.
18
 
19
- Want to decide exactly what order your FAQs are displayed in? Use our simple 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 FAQ list with [submit-question] 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
  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.
22
 
@@ -32,8 +32,9 @@ Great for combining with our <a href='https://wordpress.org/plugins/front-end-on
32
  * Share on social media
33
 
34
  = Premium features include =
 
35
  * User-submitted FAQs
36
- * AJAX FAQ search
37
  * Import/Export of FAQs from spreadsheet
38
  * Export FAQs to PDF
39
  * SEO-Friendly FAQ, category and tag permalinks
@@ -47,7 +48,7 @@ Great for combining with our <a href='https://wordpress.org/plugins/front-end-on
47
  * [recent-faqs]: displays a number of the most recently added FAQs (5 unless specified).
48
  * [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.
49
  * [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).
50
- *[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).
51
 
52
  Check out our Frequently Asked Questions here:
53
  <https://wordpress.org/plugins/ultimate-faqs/faq/>
@@ -71,28 +72,35 @@ Try adding the shortcode [ultimate-faqs] to whatever page you'd like to display
71
  = What are the current FAQ shortcodes? =
72
 
73
  * [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)
 
 
74
  * [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.
75
- * [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.
 
76
 
77
  = What attributes does the [ultimate-faqs] shortcode accept? =
78
 
79
- The shortcode accepts two attributes, “include_category? and “exclude_category”, both take a comma-separated list of category slugs.
 
 
80
 
81
  = Can I hide my FAQ categories? =
82
 
83
  Yes, you can choose to display or hide categories on the FAQ settings page.
84
 
85
- = Is it possible to re-order my FAQS? =
86
 
87
  Currently you can choose between ascending or descending ordering by either Title, Date Created, or Date Modified.
88
 
89
- = How can I make my FAQS sharable over social media? =
 
 
90
 
91
  On the FAQ settings page you can choose to link to twitter, facebook and more!
92
 
93
- = How do I make my FAQ?s searchable? =
94
 
95
- You can use the shortcode, [ultimate-faq-search], which displays an AJAX search form.
96
 
97
  = How do I customize my FAQs, for example, to change the font? =
98
 
@@ -100,21 +108,27 @@ You can customize the plugin by adding code to the Custom CSS box on the setting
100
 
101
  .ufaq-faq-title h4, .ufaq-faq-category-title h4 {font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;}
102
 
 
 
103
  For more questions and support you can post in the support forum:
104
  <https://wordpress.org/support/plugin/ultimate-faqs>
105
 
106
  == Screenshots ==
107
 
108
- 1. Simple Car FAQ demo page
109
- 2. Example responsive, open FAQ
110
- 3. The AJAX FAQ search shortcode in use
111
- 4. Simple user submitted FAQs form
112
- 5. Admin area showing all FAQs with their number of views as well as their categories
113
- 6. Admin simple drag-and-drop FAQ ordering area
114
- 7. Responsive, simple styling options
115
- 8. All answers displayed in the 'list' FAQ mode
 
116
 
117
  == Changelog ==
 
 
 
118
  = 1.1.3 =
119
  - Fixed a problem where links inside of a toggable FAQ weren't clickable
120
 
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 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 FAQ list with the [submit-question] 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
  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.
22
 
32
  * Share on social media
33
 
34
  = Premium features include =
35
+ * Different display styles
36
  * User-submitted FAQs
37
+ * AJAX FAQ search with autocomplete for titles
38
  * Import/Export of FAQs from spreadsheet
39
  * Export FAQs to PDF
40
  * SEO-Friendly FAQ, category and tag permalinks
48
  * [recent-faqs]: displays a number of the most recently added FAQs (5 unless specified).
49
  * [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.
50
  * [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).
51
+ * [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).
52
 
53
  Check out our Frequently Asked Questions here:
54
  <https://wordpress.org/plugins/ultimate-faqs/faq/>
72
  = What are the current FAQ shortcodes? =
73
 
74
  * [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)
75
+ * [popular-faqs]: displays a number of the most viewed FAQs (5 unless specified).
76
+ * [recent-faqs]: displays a number of the most recently added FAQs (5 unless specified).
77
  * [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.
78
+ * [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)
79
+ * [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).
80
 
81
  = What attributes does the [ultimate-faqs] shortcode accept? =
82
 
83
+ 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"
84
+
85
+ [ultimate-faqs include_category='cars']
86
 
87
  = Can I hide my FAQ categories? =
88
 
89
  Yes, you can choose to display or hide categories on the FAQ settings page.
90
 
91
+ = Is it possible to re-order my FAQs? =
92
 
93
  Currently you can choose between ascending or descending ordering by either Title, Date Created, or Date Modified.
94
 
95
+ With the premium version, you can use the drag and drop ordering table to set exactly the order you want.
96
+
97
+ = How can I make my FAQs sharable over social media? =
98
 
99
  On the FAQ settings page you can choose to link to twitter, facebook and more!
100
 
101
+ = How do I make my FAQs searchable? =
102
 
103
+ 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.
104
 
105
  = How do I customize my FAQs, for example, to change the font? =
106
 
108
 
109
  .ufaq-faq-title h4, .ufaq-faq-category-title h4 {font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;}
110
 
111
+ 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!
112
+
113
  For more questions and support you can post in the support forum:
114
  <https://wordpress.org/support/plugin/ultimate-faqs>
115
 
116
  == Screenshots ==
117
 
118
+ 1. Car FAQ demo page - Default display style
119
+ 2. Example of the "Color Block" FAQ display style
120
+ 3. Example of the "Block" FAQ display style
121
+ 4. The AJAX FAQ search shortcode in use
122
+ 5. Simple user submitted FAQs form
123
+ 6. Admin area showing all FAQs with their number of views as well as their categories
124
+ 7. Admin simple drag-and-drop FAQ ordering area
125
+ 8. Responsive, simple styling options with precise color controls
126
+ 9. All answers displayed in the 'list' FAQ mode
127
 
128
  == Changelog ==
129
+ = 1.1.4 =
130
+ - Fixed a conflict with WooCommerce, where a UFAQ script was keeping product information tabs open
131
+
132
  = 1.1.3 =
133
  - Fixed a problem where links inside of a toggable FAQ weren't clickable
134