Ultimate FAQ - Version 1.9.6

Version Description

  • Adding labelling option
Download this release

Release Info

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

Code changes from version 1.9.5 to 1.9.6

Functions/Update_Admin_Databases.php CHANGED
@@ -134,6 +134,7 @@ function EWD_UFAQ_UpdateOptions() {
134
  if (isset($_POST['proposed_answer_label']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Proposed_Answer_Label', sanitize_text_field($_POST['proposed_answer_label']));}
135
  if (isset($_POST['review_author_label']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Review_Author_Label', sanitize_text_field($_POST['review_author_label']));}
136
  if (isset($_POST['what_name_with_review_label'])) {update_option('EWD_UFAQ_What_Name_With_Review_Label', sanitize_text_field($_POST['what_name_with_review_label']));}
 
137
  if (isset($_POST['retrieving_results']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Retrieving_Results', sanitize_text_field($_POST['retrieving_results']));}
138
  if (isset($_POST['no_results_found_text']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_No_Results_Found_Text', sanitize_text_field($_POST['no_results_found_text']));}
139
 
134
  if (isset($_POST['proposed_answer_label']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Proposed_Answer_Label', sanitize_text_field($_POST['proposed_answer_label']));}
135
  if (isset($_POST['review_author_label']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Review_Author_Label', sanitize_text_field($_POST['review_author_label']));}
136
  if (isset($_POST['what_name_with_review_label'])) {update_option('EWD_UFAQ_What_Name_With_Review_Label', sanitize_text_field($_POST['what_name_with_review_label']));}
137
+ if (isset($_POST['captcha_image_number_label'])) {update_option('EWD_UFAQ_Captcha_Image_Number_Label', sanitize_text_field($_POST['captcha_image_number_label']));}
138
  if (isset($_POST['retrieving_results']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Retrieving_Results', sanitize_text_field($_POST['retrieving_results']));}
139
  if (isset($_POST['no_results_found_text']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_No_Results_Found_Text', sanitize_text_field($_POST['no_results_found_text']));}
140
 
Main.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /*
3
- Plugin Name: Ultimate FAQs - WordPress FAQ Plugin
4
  Plugin URI: http://www.EtoileWebDesign.com/wordpress-plugins/
5
  Description: FAQ plugin that lets you easily create, order and publicize FAQs using shortcodes, with many unique styles, WooCommerce FAQs and AJAX FAQ search
6
  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: ultimate-faqs
10
- Version: 1.9.5
11
  */
12
 
13
  global $ewd_ufaq_message;
1
  <?php
2
  /*
3
+ Plugin Name: Ultimate FAQs - WordPress Knowledgebase Plugin
4
  Plugin URI: http://www.EtoileWebDesign.com/wordpress-plugins/
5
  Description: FAQ plugin that lets you easily create, order and publicize FAQs using shortcodes, with many unique styles, WooCommerce FAQs and AJAX FAQ search
6
  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: ultimate-faqs
10
+ Version: 1.9.6
11
  */
12
 
13
  global $ewd_ufaq_message;
Shortcodes/SubmitFAQ.php CHANGED
@@ -135,12 +135,14 @@ function Insert_Question_Form($atts) {
135
  if ($Submit_Question_Captcha == "Yes") {
136
  $Code = rand(1000,9999);
137
  $ModifiedCode = EWD_UFAQ_Encrypt_Captcha_Code($Code);
 
 
138
 
139
  $ReturnString .= "<div class='ewd-faq-review-input'><label for='captcha_image'></label>";
140
  $ReturnString .= "<img src=" . EWD_UFAQ_CD_PLUGIN_URL . "Functions/EWD_UFAQ_Create_Captcha_Image.php?Code=" . $ModifiedCode . " />";
141
  $ReturnString .= "<input type='hidden' name='ewd_ufaq_modified_captcha' value='" . $ModifiedCode . "' />";
142
  $ReturnString .= "</div>";
143
- $ReturnString .= "<div class='ewd-faq-review-input'><label for='captcha_text'>" . __("Image Number: ", 'ultimate-faqs') . "</label>";
144
  $ReturnString .= "<input type='text' name='ewd_ufaq_captcha' value='' />";
145
  $ReturnString .= "</div>";
146
  }
135
  if ($Submit_Question_Captcha == "Yes") {
136
  $Code = rand(1000,9999);
137
  $ModifiedCode = EWD_UFAQ_Encrypt_Captcha_Code($Code);
138
+ $Captcha_Image_Number_Label = get_option("EWD_UFAQ_Captcha_Image_Number_Label");
139
+ if($Captcha_Image_Number_Label == ''){ $Captcha_Image_Number_Label = __("Image Number: ", 'ultimate-faqs'); }
140
 
141
  $ReturnString .= "<div class='ewd-faq-review-input'><label for='captcha_image'></label>";
142
  $ReturnString .= "<img src=" . EWD_UFAQ_CD_PLUGIN_URL . "Functions/EWD_UFAQ_Create_Captcha_Image.php?Code=" . $ModifiedCode . " />";
143
  $ReturnString .= "<input type='hidden' name='ewd_ufaq_modified_captcha' value='" . $ModifiedCode . "' />";
144
  $ReturnString .= "</div>";
145
+ $ReturnString .= "<div class='ewd-faq-review-input'><label for='captcha_text'>" . $Captcha_Image_Number_Label . "</label>";
146
  $ReturnString .= "<input type='text' name='ewd_ufaq_captcha' value='' />";
147
  $ReturnString .= "</div>";
148
  }
html/OptionsPage.php CHANGED
@@ -82,6 +82,7 @@
82
  $Proposed_Answer_Label = get_option("EWD_UFAQ_Proposed_Answer_Label");
83
  $Review_Author_Label = get_option("EWD_UFAQ_Review_Author_Label");
84
  $What_Name_With_Review_Label = get_option("EWD_UFAQ_What_Name_With_Review_Label");
 
85
  $Retrieving_Results = get_option("EWD_UFAQ_Retrieving_Results");
86
  $No_Results_Found_Text = get_option("EWD_UFAQ_No_Results_Found_Text");
87
 
@@ -1351,6 +1352,10 @@
1351
  <p><?php _e("What name should be displayed with your question?", 'ultimate-faqs')?></p>
1352
  <input type='text' name='what_name_with_review_label' value='<?php echo $What_Name_With_Review_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
1353
  </label>
 
 
 
 
1354
  </div>
1355
  </div>
1356
  <?php if ($UFAQ_Full_Version != "Yes") { ?>
82
  $Proposed_Answer_Label = get_option("EWD_UFAQ_Proposed_Answer_Label");
83
  $Review_Author_Label = get_option("EWD_UFAQ_Review_Author_Label");
84
  $What_Name_With_Review_Label = get_option("EWD_UFAQ_What_Name_With_Review_Label");
85
+ $Captcha_Image_Number_Label = get_option("EWD_UFAQ_Captcha_Image_Number_Label");
86
  $Retrieving_Results = get_option("EWD_UFAQ_Retrieving_Results");
87
  $No_Results_Found_Text = get_option("EWD_UFAQ_No_Results_Found_Text");
88
 
1352
  <p><?php _e("What name should be displayed with your question?", 'ultimate-faqs')?></p>
1353
  <input type='text' name='what_name_with_review_label' value='<?php echo $What_Name_With_Review_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
1354
  </label>
1355
+ <label>
1356
+ <p><?php _e("Image Number", 'ultimate-faqs')?></p>
1357
+ <input type='text' name='captcha_image_number_label' value='<?php echo $Captcha_Image_Number_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
1358
+ </label>
1359
  </div>
1360
  </div>
1361
  <?php if ($UFAQ_Full_Version != "Yes") { ?>
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
- === Ultimate FAQs - WordPress FAQ Plugin ===
2
  Contributors: Rustaurius, EtoileWebDesign
3
  Tags: faq, faqs, woocommerce faq, frequently asked questions, faq widget
4
  Requires at least: 3.9.0
5
- Tested up to: 5.4
6
  License: GPLv3
7
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
8
 
@@ -10,13 +10,14 @@ FAQ plugin that lets you easily create, order and publicize FAQs using shortcode
10
 
11
  == Description ==
12
 
13
- FAQ plugin that lets you create, organize and publicize your FAQs (frequently asked questions) in no time through your Wordpress admin panel. With a modern accordion style layout, the FAQs will fit into any site. Comes with many features and customization options!
14
 
15
  [FAQ Demo](https://www.etoilewebdesign.com/ultimate-faq-demo/)
16
 
17
  <strong>Includes an easy-to-use Gutenberg block for displaying your FAQs!</strong>
18
 
19
- = FAQ Key Features =
 
20
  * Unlimited FAQs, with unlimited tag and category support
21
  * Create FAQ categories
22
  * Create FAQ posts and assign categories to them
@@ -24,7 +25,7 @@ FAQ plugin that lets you create, organize and publicize your FAQs (frequently as
24
  * Bulk import FAQs from a spreadsheet
25
  * Insert custom CSS to style your FAQs
26
 
27
- <em>This plugin is very user friendly and comes with a full guided setup (walkthrough). When you activate the plugin, the setup will run and help you create your first FAQs, create your FAQ page and set some important options!</em>
28
 
29
  [youtube https://www.youtube.com/watch?v=xeGVZnVrZ6I]
30
 
@@ -36,7 +37,7 @@ Simply insert the above shortcode into any page to display your FAQs.
36
 
37
  The plugin also comes with an easy-to-use Gutenberg block for displaying your FAQs.
38
 
39
- You can use either the toggle and/or accordion responsive FAQ style, to display one expanded FAQ answer on click, or choose to display all FAQs on page load, with options to group your FAQs by category and to choose what info shows in each FAQ (such as category, tags, author, date, etc.).
40
 
41
  Features include frequently asked question statistics that show how many times FAQs have been viewed, styling options, FAQ tags and categories, display and ordering options, among many other options.
42
 
@@ -50,7 +51,7 @@ Ultimate FAQ isn't just for frequently asked questions. With its responsive acco
50
  * Microdata question schema, to help with SEO
51
  * Responsive FAQ design that looks great on all screen sizes
52
  * Group FAQs by category for easy navigation
53
- * Gutenberg FAQ block with options to specify categories and number of FAQs
54
 
55
  Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ post type, allowing for smart and easy integration. No need to deal with a complicated FAQ builder. By utilizing a custom post and the new Gutenberg block functionality, you have the best possible FAQ builder.
56
 
@@ -98,6 +99,8 @@ Premium features include:
98
  * Change the FAQ permalink slug base
99
  * Gutenberg FAQ search block
100
  * Gutenberg FAQ block for including a submit question form
 
 
101
 
102
  This FAQ plugin is also great for combining with our <a href='https://wordpress.org/plugins/front-end-only-users/'>user management plugin </a> to create a members-only FAQ area.
103
 
@@ -289,6 +292,9 @@ Video 3 - FAQs Ordering
289
 
290
  == Changelog ==
291
 
 
 
 
292
  = 1.9.5 =
293
  - Correcting/eliminating several PHP notices
294
  - Updating the version of FPDF used to 1.82
1
+ === Ultimate FAQs - WordPress Knowledgebase Plugin ===
2
  Contributors: Rustaurius, EtoileWebDesign
3
  Tags: faq, faqs, woocommerce faq, frequently asked questions, faq widget
4
  Requires at least: 3.9.0
5
+ Tested up to: 5.5
6
  License: GPLv3
7
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
8
 
10
 
11
  == Description ==
12
 
13
+ FAQ plugin for WordPress that lets you create, organize and publicize your FAQs (frequently asked questions) in no time through your Wordpress admin panel. With a modern accordion style layout, the FAQs will fit into any site. Comes with many features and customization options!
14
 
15
  [FAQ Demo](https://www.etoilewebdesign.com/ultimate-faq-demo/)
16
 
17
  <strong>Includes an easy-to-use Gutenberg block for displaying your FAQs!</strong>
18
 
19
+ = FAQ Key Features =
20
+
21
  * Unlimited FAQs, with unlimited tag and category support
22
  * Create FAQ categories
23
  * Create FAQ posts and assign categories to them
25
  * Bulk import FAQs from a spreadsheet
26
  * Insert custom CSS to style your FAQs
27
 
28
+ <em>This FAQ plugin is very user friendly and comes with a full guided setup (walkthrough). When you activate the plugin, the setup will run and help you create your first FAQs, make an FAQ page and set some important options!</em>
29
 
30
  [youtube https://www.youtube.com/watch?v=xeGVZnVrZ6I]
31
 
37
 
38
  The plugin also comes with an easy-to-use Gutenberg block for displaying your FAQs.
39
 
40
+ You can use either the toggle and/or accordion responsive FAQ style, to display one expanded answer on click, or choose to display all FAQs on page load, with options to group your FAQs by category and to choose what info shows in each FAQ (such as category, tags, author, date, etc.).
41
 
42
  Features include frequently asked question statistics that show how many times FAQs have been viewed, styling options, FAQ tags and categories, display and ordering options, among many other options.
43
 
51
  * Microdata question schema, to help with SEO
52
  * Responsive FAQ design that looks great on all screen sizes
53
  * Group FAQs by category for easy navigation
54
+ * Gutenberg FAQ block with options to specify categories and number of FAQs
55
 
56
  Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ post type, allowing for smart and easy integration. No need to deal with a complicated FAQ builder. By utilizing a custom post and the new Gutenberg block functionality, you have the best possible FAQ builder.
57
 
99
  * Change the FAQ permalink slug base
100
  * Gutenberg FAQ search block
101
  * Gutenberg FAQ block for including a submit question form
102
+
103
+ Looking to get Ultimate FAQs premium? Find out how easy it is to get the best FAQs plugin for WordPress: https://www.etoilewebdesign.com/premium-upgrade-instructions/
104
 
105
  This FAQ plugin is also great for combining with our <a href='https://wordpress.org/plugins/front-end-only-users/'>user management plugin </a> to create a members-only FAQ area.
106
 
292
 
293
  == Changelog ==
294
 
295
+ = 1.9.6 =
296
+ - Adding labelling option
297
+
298
  = 1.9.5 =
299
  - Correcting/eliminating several PHP notices
300
  - Updating the version of FPDF used to 1.82