Ultimate FAQ - Version 1.1.17

Version Description

  • Added anumber of extra labeling options
Download this release

Release Info

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

Code changes from version 1.1.16 to 1.1.17

Functions/EWD_UFAQ_Version_Update.php CHANGED
@@ -42,7 +42,7 @@ function EWD_UFAQ_Version_Update_Box() {
42
  <h3 class='hndle'><span><?php _e("Thank You!", 'EWD_UFAQ') ?></span></h3>
43
  <div class="inside">
44
  <?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='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>
45
- <?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 1.1.16!", "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 } ?>
46
 
47
  <?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>
48
  <?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 } */ ?>
42
  <h3 class='hndle'><span><?php _e("Thank You!", 'EWD_UFAQ') ?></span></h3>
43
  <div class="inside">
44
  <?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='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>
45
+ <?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 1.1.17!", "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 } ?>
46
 
47
  <?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>
48
  <?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 } */ ?>
Functions/Update_Admin_Databases.php CHANGED
@@ -11,7 +11,7 @@ function EWD_UFAQ_Add_Post_Order_Meta($post_id) {
11
  add_action('save_post_ufaq', 'EWD_UFAQ_Add_Post_Order_Meta');
12
 
13
  function EWD_UFAQ_UpdateOptions() {
14
- global $UFAQ_Full_Version;
15
 
16
  $Custom_CSS = $_POST['custom_css'];
17
  $Social_Media_Array = $_POST['Socialmedia'];
@@ -22,10 +22,15 @@ function EWD_UFAQ_UpdateOptions() {
22
  $On_Label = $_POST['on_label'];
23
  $Category_Label = $_POST['category_label'];
24
  $Tag_Label = $_POST['tag_label'];
25
-
26
- $Custom_CSS = stripslashes_deep($Custom_CSS);
27
-
28
- if (isset($_POST['custom_css'])) {update_option('EWD_UFAQ_Custom_CSS', $Custom_CSS);}
 
 
 
 
 
29
  if (isset($_POST['faq_toggle'])) {update_option('EWD_UFAQ_Toggle', $_POST['faq_toggle']);}
30
  if (isset($_POST['faq_category_toggle'])) {update_option('EWD_UFAQ_Category_Toggle', $_POST['faq_category_toggle']);}
31
  if (isset($_POST['faq_accordion'])) {update_option('EWD_UFAQ_FAQ_Accordion', $_POST['faq_accordion']);}
@@ -37,7 +42,7 @@ function EWD_UFAQ_UpdateOptions() {
37
  if (isset($_POST['display_author'])) {update_option('EWD_UFAQ_Display_Author', $_POST['display_author']);}
38
  if (isset($_POST['display_date'])) {update_option('EWD_UFAQ_Display_Date', $_POST['display_date']);}
39
  if (isset($_POST['display_back_to_top'])) {update_option('EWD_UFAQ_Display_Back_To_Top', $_POST['display_back_to_top']);}
40
- if (isset($_POST['include_permalink'])) {update_option('EWD_UFAQ_Include_Permalink', $_POST['include_permalink']);}
41
  if (isset($_POST['permalink_type'])) {update_option('EWD_UFAQ_Permalink_Type', $_POST['permalink_type']);}
42
 
43
  if (isset($_POST['display_style']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Display_Style', $_POST['display_style']);}
@@ -59,6 +64,10 @@ function EWD_UFAQ_UpdateOptions() {
59
  if (isset($_POST['on_label'])) {update_option('EWD_UFAQ_On_Label', $On_Label);}
60
  if (isset($_POST['category_label'])) {update_option('EWD_UFAQ_Category_Label', $Category_Label);}
61
  if (isset($_POST['tag_label'])) {update_option('EWD_UFAQ_Tag_Label', $Tag_Label);}
 
 
 
 
62
 
63
  if (isset($_POST['ufaq_styling_default_bg_color'])) {update_option('EWD_UFAQ_Styling_Default_Bg_Color', $_POST['ufaq_styling_default_bg_color']);}
64
  if (isset($_POST['ufaq_styling_default_font_color'])) {update_option('EWD_UFAQ_Styling_Default_Font_Color', $_POST['ufaq_styling_default_font_color']);}
@@ -93,11 +102,11 @@ function EWD_UFAQ_UpdateOptions() {
93
  if (isset($_POST['ufaq_styling_category_margin'])) {update_option('EWD_UFAQ_Styling_Category_Margin', $_POST['ufaq_styling_category_margin']);}
94
  if (isset($_POST['ufaq_styling_category_padding'])) {update_option('EWD_UFAQ_Styling_Category_Padding', $_POST['ufaq_styling_category_padding']);}
95
 
96
- if (isset($_POST['custom_css'])) {update_option('EWD_UFAQ_Custom_CSS', $Custom_CSS);}
97
 
98
  if ($_POST['Pretty_Permalinks'] == "Yes") {
99
- update_option("EWD_UFAQ_Rewrite_Rules", "Yes");
100
- }
101
  }
102
 
103
  ?>
11
  add_action('save_post_ufaq', 'EWD_UFAQ_Add_Post_Order_Meta');
12
 
13
  function EWD_UFAQ_UpdateOptions() {
14
+ global $UFAQ_Full_Version;
15
 
16
  $Custom_CSS = $_POST['custom_css'];
17
  $Social_Media_Array = $_POST['Socialmedia'];
22
  $On_Label = $_POST['on_label'];
23
  $Category_Label = $_POST['category_label'];
24
  $Tag_Label = $_POST['tag_label'];
25
+ $Enter_Question_Label = $_POST['enter_question_label'];
26
+ $Search_Label = $_POST['search_label'];
27
+ $Permalink_Label = $_POST['permalink_label'];
28
+ $Back_To_Top_Label = $_POST['back_to_top_label'];
29
+
30
+
31
+ $Custom_CSS = stripslashes_deep($Custom_CSS);
32
+
33
+ if (isset($_POST['custom_css'])) {update_option('EWD_UFAQ_Custom_CSS', $Custom_CSS);}
34
  if (isset($_POST['faq_toggle'])) {update_option('EWD_UFAQ_Toggle', $_POST['faq_toggle']);}
35
  if (isset($_POST['faq_category_toggle'])) {update_option('EWD_UFAQ_Category_Toggle', $_POST['faq_category_toggle']);}
36
  if (isset($_POST['faq_accordion'])) {update_option('EWD_UFAQ_FAQ_Accordion', $_POST['faq_accordion']);}
42
  if (isset($_POST['display_author'])) {update_option('EWD_UFAQ_Display_Author', $_POST['display_author']);}
43
  if (isset($_POST['display_date'])) {update_option('EWD_UFAQ_Display_Date', $_POST['display_date']);}
44
  if (isset($_POST['display_back_to_top'])) {update_option('EWD_UFAQ_Display_Back_To_Top', $_POST['display_back_to_top']);}
45
+ if (isset($_POST['include_permalink'])) {update_option('EWD_UFAQ_Include_Permalink', $_POST['include_permalink']);}
46
  if (isset($_POST['permalink_type'])) {update_option('EWD_UFAQ_Permalink_Type', $_POST['permalink_type']);}
47
 
48
  if (isset($_POST['display_style']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Display_Style', $_POST['display_style']);}
64
  if (isset($_POST['on_label'])) {update_option('EWD_UFAQ_On_Label', $On_Label);}
65
  if (isset($_POST['category_label'])) {update_option('EWD_UFAQ_Category_Label', $Category_Label);}
66
  if (isset($_POST['tag_label'])) {update_option('EWD_UFAQ_Tag_Label', $Tag_Label);}
67
+ if (isset($Enter_Question_Label)) {update_option('EWD_UFAQ_Enter_Question_Label', $Enter_Question_Label);}
68
+ if (isset($Search_Label)) {update_option('EWD_UFAQ_Search_Label', $Search_Label);}
69
+ if (isset($Permalink_Label)) {update_option('EWD_UFAQ_Permalink_Label', $Permalink_Label);}
70
+ if (isset($Back_To_Top_Label)) {update_option('EWD_UFAQ_Back_To_Top_Label', $Back_To_Top_Label);}
71
 
72
  if (isset($_POST['ufaq_styling_default_bg_color'])) {update_option('EWD_UFAQ_Styling_Default_Bg_Color', $_POST['ufaq_styling_default_bg_color']);}
73
  if (isset($_POST['ufaq_styling_default_font_color'])) {update_option('EWD_UFAQ_Styling_Default_Font_Color', $_POST['ufaq_styling_default_font_color']);}
102
  if (isset($_POST['ufaq_styling_category_margin'])) {update_option('EWD_UFAQ_Styling_Category_Margin', $_POST['ufaq_styling_category_margin']);}
103
  if (isset($_POST['ufaq_styling_category_padding'])) {update_option('EWD_UFAQ_Styling_Category_Padding', $_POST['ufaq_styling_category_padding']);}
104
 
105
+ if (isset($_POST['custom_css'])) {update_option('EWD_UFAQ_Custom_CSS', $Custom_CSS);}
106
 
107
  if ($_POST['Pretty_Permalinks'] == "Yes") {
108
+ update_option("EWD_UFAQ_Rewrite_Rules", "Yes");
109
+ }
110
  }
111
 
112
  ?>
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.16
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.17
11
  */
12
 
13
  global $ewd_ufaq_message;
Shortcodes/DisplayFAQs.php CHANGED
@@ -38,6 +38,10 @@ function Display_FAQs($atts) {
38
  if ($On_Label == "") {$On_Label = __("on ", 'EWD_UFAQ');}
39
  $Category_Label = get_option("EWD_UFAQ_Category_Label");
40
  $Tag_Label = get_option("EWD_UFAQ_Tag_Label");
 
 
 
 
41
 
42
  if ($Display_Style != "Color_Block") {$Color_Block_Shape = "";}
43
  else {$Color_Block_Shape = "ewd-ufaq-" . $Color_Block_Shape;}
@@ -283,7 +287,7 @@ function Display_FAQs($atts) {
283
  }
284
 
285
  if ($Include_Permalink == "Yes" and $ajax == "No") {
286
- $ReturnString .= "<div class='ufaq-permalink'>Permalink: ";
287
  $ReturnString .= "<a href='" . $FAQ_Permalink . "'>";
288
  $ReturnString .= "<div class='ufaq-permalink-image'></div>";
289
  $ReturnString .= "</a>";
@@ -293,7 +297,7 @@ function Display_FAQs($atts) {
293
  if ($Display_Back_To_Top == "Yes") {
294
  $ReturnString .= "<div class='ufaq-back-to-top'>";
295
  $ReturnString .= "<a class='ufaq-back-to-top-link'>";
296
- $ReturnString .= __("Back to Top", 'EWD_UFAQ');
297
  $ReturnString .= "</a>";
298
  $ReturnString .= "</div>";
299
  }
38
  if ($On_Label == "") {$On_Label = __("on ", 'EWD_UFAQ');}
39
  $Category_Label = get_option("EWD_UFAQ_Category_Label");
40
  $Tag_Label = get_option("EWD_UFAQ_Tag_Label");
41
+ $Back_To_Top_Label = get_option("EWD_UFAQ_Back_To_Top_Label");
42
+ if ($Back_To_Top_Label == "") {$Back_To_Top_Label = __("Back to Top", 'EWD_UFAQ');}
43
+ $Permalink_Label = get_option("EWD_UFAQ_Permalink_Label");
44
+ if ($Permalink_Label == "") {$Permalink_Label = __("Permalink", 'EWD_UFAQ');}
45
 
46
  if ($Display_Style != "Color_Block") {$Color_Block_Shape = "";}
47
  else {$Color_Block_Shape = "ewd-ufaq-" . $Color_Block_Shape;}
287
  }
288
 
289
  if ($Include_Permalink == "Yes" and $ajax == "No") {
290
+ $ReturnString .= "<div class='ufaq-permalink'>" . $Permalink_Label;
291
  $ReturnString .= "<a href='" . $FAQ_Permalink . "'>";
292
  $ReturnString .= "<div class='ufaq-permalink-image'></div>";
293
  $ReturnString .= "</a>";
297
  if ($Display_Back_To_Top == "Yes") {
298
  $ReturnString .= "<div class='ufaq-back-to-top'>";
299
  $ReturnString .= "<a class='ufaq-back-to-top-link'>";
300
+ $ReturnString .= $Back_To_Top_Label;
301
  $ReturnString .= "</a>";
302
  $ReturnString .= "</div>";
303
  }
Shortcodes/Display_FAQ_Search.php CHANGED
@@ -4,18 +4,22 @@ function UFAQ_AJAX_Search($atts) {
4
  global $wp;
5
  $Auto_Complete_Titles = get_option("EWD_UFAQ_Auto_Complete_Titles");
6
  $current_url = $_SERVER['REQUEST_URI'];
7
- $ReturnString = "";
8
 
9
- // Get the attributes passed by the shortcode, and store them in new variables for processing
10
- extract( shortcode_atts( array(
11
- 'include_category' => "",
12
- 'exclude_category' => "",
13
- 'orderby' => "",
14
- 'order' => "",
15
  'post_count' => -1),
16
- $atts
17
- )
18
- );
 
 
 
 
19
 
20
  $ReturnString .= "<style type='text/css'>";
21
  $ReturnString .= ".ui-autocomplete {background:#FFF; border: #000 solid 1px; max-width:400px; max-height:200px; overflow:auto;}";
@@ -34,20 +38,20 @@ function UFAQ_AJAX_Search($atts) {
34
  $ReturnString .= "<form action='#' method='post' id='ufaq-ajax-form' class='pure-form pure-form-aligned'>";
35
  $ReturnString .= "<input type='hidden' name='ufaq-input' value='Search'>";
36
  $ReturnString .= "<div id='ewd-ufaq-jquery-ajax-search' class='pure-control-group ui-front' style='position:relative;'>";
37
- $ReturnString .= "<label id='ufaq-ajax-search-lbl' class='ewd-otp-field-label ewd-otp-bold'>" . __('Enter your question:', "EWD_UFAQ") . "</label>";
38
  $ReturnString .= "<input type='hidden' name'include_category' value='" . $include_category . "' id='ufaq-include-category' />";
39
  $ReturnString .= "<input type='hidden' name'exclude_category' value='" . $exclude_category . "' id='ufaq-exclude-category' />";
40
  $ReturnString .= "<input type='hidden' name'orderby' value='" . $orderby . "' id='ufaq-orderby' />";
41
  $ReturnString .= "<input type='hidden' name'order' value='" . $order . "' id='ufaq-order' />";
42
  $ReturnString .= "<input type='hidden' name'post_count' value='" . $post_count . "' id='ufaq-post-count' />";
43
- $ReturnString .= "<input type='text' id='ufaq-ajax-text-input' class='ufaq-text-input' name='Question ' placeholder='" . __('Enter your question...', "EWD_UFAQ") . "'>";
44
  $ReturnString .= "</div>";
45
- if ($Auto_Complete_Titles != "Yes") {$ReturnString .= "<label for='Submit'></label><input type='button' id='ufaq-ajax-search-btn' class='ewd-otp-submit pure-button pure-button-primary' name='Search' value='" . __('Search', "EWD_UFAQ") . "'>";}
46
  $ReturnString .= "</form>";
47
 
48
  $ReturnString .= "<div id='ufaq-ajax-results'></div>";
49
-
50
- return $ReturnString;
51
  }
52
  if ($UFAQ_Full_Version == "Yes") {add_shortcode("ultimate-faq-search", "UFAQ_AJAX_Search");}
53
  ?>
4
  global $wp;
5
  $Auto_Complete_Titles = get_option("EWD_UFAQ_Auto_Complete_Titles");
6
  $current_url = $_SERVER['REQUEST_URI'];
7
+ $ReturnString = "";
8
 
9
+ // Get the attributes passed by the shortcode, and store them in new variables for processing
10
+ extract( shortcode_atts( array(
11
+ 'include_category' => "",
12
+ 'exclude_category' => "",
13
+ 'orderby' => "",
14
+ 'order' => "",
15
  'post_count' => -1),
16
+ $atts
17
+ )
18
+ );
19
+ $Enter_Question_Label = get_option("EWD_UFAQ_Enter_Question_Label");
20
+ if ($Enter_Question_Label == "") {$Enter_Question_Label = __('Enter your question', "EWD_UFAQ");}
21
+ $Search_Label = get_option("EWD_UFAQ_Search_Label");
22
+ if ($Search_Label == "") {$Search_Label = __("Search", 'EWD_UFAQ');}
23
 
24
  $ReturnString .= "<style type='text/css'>";
25
  $ReturnString .= ".ui-autocomplete {background:#FFF; border: #000 solid 1px; max-width:400px; max-height:200px; overflow:auto;}";
38
  $ReturnString .= "<form action='#' method='post' id='ufaq-ajax-form' class='pure-form pure-form-aligned'>";
39
  $ReturnString .= "<input type='hidden' name='ufaq-input' value='Search'>";
40
  $ReturnString .= "<div id='ewd-ufaq-jquery-ajax-search' class='pure-control-group ui-front' style='position:relative;'>";
41
+ $ReturnString .= "<label id='ufaq-ajax-search-lbl' class='ewd-otp-field-label ewd-otp-bold'>" . $Enter_Question_Label . ":</label>";
42
  $ReturnString .= "<input type='hidden' name'include_category' value='" . $include_category . "' id='ufaq-include-category' />";
43
  $ReturnString .= "<input type='hidden' name'exclude_category' value='" . $exclude_category . "' id='ufaq-exclude-category' />";
44
  $ReturnString .= "<input type='hidden' name'orderby' value='" . $orderby . "' id='ufaq-orderby' />";
45
  $ReturnString .= "<input type='hidden' name'order' value='" . $order . "' id='ufaq-order' />";
46
  $ReturnString .= "<input type='hidden' name'post_count' value='" . $post_count . "' id='ufaq-post-count' />";
47
+ $ReturnString .= "<input type='text' id='ufaq-ajax-text-input' class='ufaq-text-input' name='Question ' placeholder='" . $Enter_Question_Label . "...'>";
48
  $ReturnString .= "</div>";
49
+ if ($Auto_Complete_Titles != "Yes") {$ReturnString .= "<label for='Submit'></label><input type='button' id='ufaq-ajax-search-btn' class='ewd-otp-submit pure-button pure-button-primary' name='Search' value='" . $Search_Label . "'>";}
50
  $ReturnString .= "</form>";
51
 
52
  $ReturnString .= "<div id='ufaq-ajax-results'></div>";
53
+
54
+ return $ReturnString;
55
  }
56
  if ($UFAQ_Full_Version == "Yes") {add_shortcode("ultimate-faq-search", "UFAQ_AJAX_Search");}
57
  ?>
Shortcodes/SelectFAQ.php CHANGED
@@ -28,6 +28,8 @@ function Display_Select_FAQs($atts) {
28
  $Display_Back_To_Top = get_option("EWD_UFAQ_Display_Back_To_Top");
29
 
30
  $ReturnString = "";
 
 
31
 
32
  // Get the attributes passed by the shortcode, and store them in new variables for processing
33
  extract( shortcode_atts( array(
@@ -180,7 +182,7 @@ function Display_Select_FAQs($atts) {
180
  if ($Display_Back_To_Top == "Yes") {
181
  $ReturnString .= "<div class='ufaq-back-to-top'>";
182
  $ReturnString .= "<a class='ufaq-back-to-top-link'>";
183
- $ReturnString .= __("Back to Top", 'EWD_UFAQ');
184
  $ReturnString .= "</a>";
185
  $ReturnString .= "</div>";
186
  }
28
  $Display_Back_To_Top = get_option("EWD_UFAQ_Display_Back_To_Top");
29
 
30
  $ReturnString = "";
31
+ $Back_To_Top_Label = get_option("EWD_UFAQ_Back_To_Top_Label");
32
+ if ($Back_To_Top_Label == "") {$Back_To_Top_Label = __("Back to Top", 'EWD_UFAQ');}
33
 
34
  // Get the attributes passed by the shortcode, and store them in new variables for processing
35
  extract( shortcode_atts( array(
182
  if ($Display_Back_To_Top == "Yes") {
183
  $ReturnString .= "<div class='ufaq-back-to-top'>";
184
  $ReturnString .= "<a class='ufaq-back-to-top-link'>";
185
+ $ReturnString .= $Back_To_Top_Label;
186
  $ReturnString .= "</a>";
187
  $ReturnString .= "</div>";
188
  }
css/Admin.css CHANGED
@@ -188,13 +188,9 @@ margin:3px;
188
  font-weight:900;
189
  padding: 10px;
190
  margin:0;
191
- border: 1px solid #e5e5e5;
192
- border-bottom:none;
193
  }
194
 
195
  .ufaq-subsection-content{
196
- border: 1px solid #e5e5e5;
197
- border-top:none;
198
  padding: 10px;
199
  }
200
  .ufaq-subsection-content .ufaq-option {
@@ -216,3 +212,12 @@ margin:3px;
216
  /* Color Pickers */
217
  .ewd-ufaq-spectrum {margin-right: 6px;}
218
 
 
 
 
 
 
 
 
 
 
188
  font-weight:900;
189
  padding: 10px;
190
  margin:0;
 
 
191
  }
192
 
193
  .ufaq-subsection-content{
 
 
194
  padding: 10px;
195
  }
196
  .ufaq-subsection-content .ufaq-option {
212
  /* Color Pickers */
213
  .ewd-ufaq-spectrum {margin-right: 6px;}
214
 
215
+
216
+ #ufaq-subsection-inline .ufaq-option {
217
+ display:inline-block;
218
+ }
219
+ @media only screen and (max-width: 650px) {
220
+ #ufaq-subsection-inline .ufaq-option {
221
+ display:block;
222
+ }
223
+ }
html/OptionsPage.php CHANGED
@@ -33,6 +33,10 @@
33
  $On_Label = get_option("EWD_UFAQ_On_Label");
34
  $Category_Label = get_option("EWD_UFAQ_Category_Label");
35
  $Tag_Label = get_option("EWD_UFAQ_Tag_Label");
 
 
 
 
36
 
37
  $UFAQ_Styling_Default_Bg_Color = get_option("EWD_UFAQ_Styling_Default_Bg_Color");
38
  $UFAQ_Styling_Default_Font_Color = get_option("EWD_UFAQ_Styling_Default_Font_Color");
@@ -451,48 +455,72 @@
451
  </div>
452
  </div>
453
 
 
454
  <div id='Labelling' class='ufaq-option-set ufaq-hidden'>
455
- <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Labelling Options (Premium)</h2>
456
- <div class="ufaq-label-description"> Replace the default text on the FAQ page </div>
457
 
458
  <div id='labelling-view-options' class="ufaq-options-div ufaq-options-flex">
459
- <div class='ufaq-option ufaq-label-option'>
460
- <?php _e("Posted", 'UFAQ')?>
461
- <fieldset>
462
- <input type='text' name='posted_label' value='<?php echo $Posted_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
463
- <!-- <input type='text' name='posted_label' value='<?php echo $Posted_Label; ?>' <?php if ($EWD_UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/> -->
464
- </fieldset>
465
- </div>
466
- <div class='ufaq-option ufaq-label-option'>
467
- <?php _e("By", 'UFAQ')?>
468
- <fieldset>
469
- <input type='text' name='by_label' value='<?php echo $By_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
470
- <!-- <input type='text' name='by_label' value='<?php echo $By_Label; ?>' <?php if ($EWD_UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/> -->
471
- </fieldset>
472
- </div>
473
- <div class='ufaq-option ufaq-label-option'>
474
- <?php _e("On", 'UFAQ')?>
475
- <fieldset>
476
- <input type='text' name='on_label' value='<?php echo $On_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
477
- <!-- <input type='text' name='on_label' value='<?php echo $On_Label; ?>' <?php if ($EWD_UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/> -->
478
- </fieldset>
479
- </div>
480
- <div class='ufaq-option ufaq-label-option'>
481
- <?php _e("Categories", 'UFAQ')?>
482
- <fieldset>
483
- <input type='text' name='category_label' value='<?php echo $Category_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> />
484
- <!-- <input type='text' name='category_label' value='<?php echo $Category_Label; ?>' <?php if ($EWD_UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
485
- --> </fieldset>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
486
  </div>
487
- <div class='ufaq-option ufaq-label-option'>
488
- <?php _e("Tags", 'UFAQ')?>
489
- <fieldset>
490
- <input type='text' name='tag_label' value='<?php echo $Tag_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
491
- <!-- <input type='text' name='tag_label' value='<?php echo $Tag_Label; ?>' <?php if ($EWD_UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
492
- --> </fieldset>
493
- </div>
494
- </div>
495
  </div>
 
496
  <div id='Styling' class='ufaq-option-set ufaq-hidden'>
497
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Styling Options (Premium)</h2>
498
 
33
  $On_Label = get_option("EWD_UFAQ_On_Label");
34
  $Category_Label = get_option("EWD_UFAQ_Category_Label");
35
  $Tag_Label = get_option("EWD_UFAQ_Tag_Label");
36
+ $Enter_Question_Label = get_option("EWD_UFAQ_Enter_Question_Label");
37
+ $Search_Label = get_option("EWD_UFAQ_Search_Label");
38
+ $Permalink_Label = get_option("EWD_UFAQ_Permalink_Label");
39
+ $Back_To_Top_Label = get_option("EWD_UFAQ_Back_To_Top_Label");
40
 
41
  $UFAQ_Styling_Default_Bg_Color = get_option("EWD_UFAQ_Styling_Default_Bg_Color");
42
  $UFAQ_Styling_Default_Font_Color = get_option("EWD_UFAQ_Styling_Default_Font_Color");
455
  </div>
456
  </div>
457
 
458
+
459
  <div id='Labelling' class='ufaq-option-set ufaq-hidden'>
460
+ <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Labelling Options</h2>
461
+ <div class="ufaq-label-description"> Replace the default text on the FAQ page </div>
462
 
463
  <div id='labelling-view-options' class="ufaq-options-div ufaq-options-flex">
464
+ <div class='ufaq-subsection'>
465
+ <div class='ufaq-subsection-content' id='ufaq-subsection-inline'>
466
+ <div class='ufaq-option ufaq-label-option'>
467
+ <?php _e("Posted", 'UFAQ')?>
468
+ <fieldset>
469
+ <input type='text' name='posted_label' value='<?php echo $Posted_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
470
+ </fieldset>
471
+ </div>
472
+ <div class='ufaq-option ufaq-label-option'>
473
+ <?php _e("By", 'UFAQ')?>
474
+ <fieldset>
475
+ <input type='text' name='by_label' value='<?php echo $By_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
476
+ </fieldset>
477
+ </div>
478
+ <div class='ufaq-option ufaq-label-option'>
479
+ <?php _e("On", 'UFAQ')?>
480
+ <fieldset>
481
+ <input type='text' name='on_label' value='<?php echo $On_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
482
+ </fieldset>
483
+ </div>
484
+ <div class='ufaq-option ufaq-label-option'>
485
+ <?php _e("Categories", 'UFAQ')?>
486
+ <fieldset>
487
+ <input type='text' name='category_label' value='<?php echo $Category_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> />
488
+ </fieldset>
489
+ </div>
490
+ <div class='ufaq-option ufaq-label-option'>
491
+ <?php _e("Tags", 'UFAQ')?>
492
+ <fieldset>
493
+ <input type='text' name='tag_label' value='<?php echo $Tag_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
494
+ </fieldset>
495
+ </div>
496
+ <div class='ufaq-option ufaq-label-option'>
497
+ <?php _e("Enter your question", 'UFAQ')?>
498
+ <fieldset>
499
+ <input type='text' name='enter_question_label' value='<?php echo $Enter_Question_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
500
+ </fieldset>
501
+ </div>
502
+ <div class='ufaq-option ufaq-label-option'>
503
+ <?php _e("Search", 'UFAQ')?>
504
+ <fieldset>
505
+ <input type='text' name='search_label' value='<?php echo $Search_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
506
+ </fieldset>
507
+ </div>
508
+ <div class='ufaq-option ufaq-label-option'>
509
+ <?php _e("Permalink", 'UFAQ')?>
510
+ <fieldset>
511
+ <input type='text' name='permalink_label' value='<?php echo $Permalink_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
512
+ </fieldset>
513
+ </div>
514
+ <div class='ufaq-option ufaq-label-option'>
515
+ <?php _e("Back To Top", 'UFAQ')?>
516
+ <fieldset>
517
+ <input type='text' name='back_to_top_label' value='<?php echo $Back_To_Top_Label; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?>/>
518
+ </fieldset>
519
+ </div>
520
  </div>
521
+ </div>
 
 
 
 
 
 
 
522
  </div>
523
+ </div>
524
  <div id='Styling' class='ufaq-option-set ufaq-hidden'>
525
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Styling Options (Premium)</h2>
526
 
readme.txt CHANGED
@@ -6,7 +6,7 @@ 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 or your users FAQs, order FAQs, publicize FAQs, etc. and insert a list or AJAX FAQ search using shortcodes
10
 
11
  == Description ==
12
 
@@ -119,6 +119,12 @@ For more questions and support you can post in the support forum:
119
  Video 1 - Shortcodes and Attributes
120
  [youtube https://www.youtube.com/watch?v=zf-tYLqHpRs]
121
 
 
 
 
 
 
 
122
 
123
  == Screenshots ==
124
 
@@ -133,6 +139,9 @@ Video 1 - Shortcodes and Attributes
133
  9. All answers displayed in the 'list' FAQ mode
134
 
135
  == Changelog ==
 
 
 
136
  = 1.1.16 =
137
  - Minor CSS update
138
 
6
  License: GPLv3
7
  License URI:http://www.gnu.org/licenses/gpl-3.0.html
8
 
9
+ A simple FAQ plugin that lets you or your users create FAQs, order FAQs, publicize FAQs, etc. and insert a list or AJAX FAQ search using shortcodes
10
 
11
  == Description ==
12
 
119
  Video 1 - Shortcodes and Attributes
120
  [youtube https://www.youtube.com/watch?v=zf-tYLqHpRs]
121
 
122
+ Video 2 - Categories and Tags
123
+ [youtube https://www.youtube.com/watch?v=ZV4PM0M1l7M]
124
+
125
+ Video 3 - FAQs Ordering
126
+ [youtube https://www.youtube.com/watch?v=3gVBuCo7bHU]
127
+
128
 
129
  == Screenshots ==
130
 
139
  9. All answers displayed in the 'list' FAQ mode
140
 
141
  == Changelog ==
142
+ = 1.1.17 =
143
+ - Added anumber of extra labeling options
144
+
145
  = 1.1.16 =
146
  - Minor CSS update
147