Ultimate FAQ - Version 1.5.0

Version Description

  • Added in a new premium option to change the toggle icon to one of 15 different sets of icons
  • Added in microdata support, to help with SEO
  • FAQs can now be included for an entire WooCommerce category instead of being added for products one at a time
  • Fixed a URL issue when a category or tag was selected, and a visitor tried to select another one
Download this release

Release Info

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

Code changes from version 1.4.5 to 1.5.0

Functions/EWD_UFAQ_WooCommerce_Tab.php CHANGED
@@ -10,22 +10,18 @@ function EWD_UFAQ_Woo_FAQ_Tab( $tabs ) {
10
 
11
  if ($Use_Product == "Yes" and is_object($product)) {$Product_Post = get_post($product->get_id());}
12
  else {$Product_Post = get_post(get_the_id());}
13
- $Category = get_term_by('name', $Product_Post->post_title, 'ufaq-category');
14
-
15
- $args = array(
16
- 'post_type' => 'ufaq',
17
- 'post_count' => 2,
18
- 'tax_query' => array(
19
- 'taxonomy' => 'ufaq-category',
20
- 'field' => 'name',
21
- 'terms' => $Category->slug
22
- )
23
- );
24
-
25
- $Posts = get_posts($args);
26
-
27
- if ($Category and $WooCommerce_FAQs == "Yes") {
28
 
 
 
 
 
 
 
 
 
 
 
 
29
  $tabs['faq_tab'] = array(
30
  'title' => __( 'FAQs', 'EWD_UFAQ' ),
31
  'priority' => 50,
@@ -44,10 +40,19 @@ function EWD_UFAQ_Woo_FAQ_Tab_Content() {
44
 
45
  if ($Use_Product == "Yes") {$Product_Post = get_post($product->get_id());}
46
  else {$Product_Post = get_post(get_the_id());}
47
- $Category = get_term_by('name', $Product_Post->post_title, 'ufaq-category');
 
 
 
 
 
 
 
 
 
48
 
49
  echo '<h2>FAQs</h2>';
50
- echo do_shortcode("[ultimate-faqs include_category='". $Category->slug . "']");;
51
 
52
  }
53
 
10
 
11
  if ($Use_Product == "Yes" and is_object($product)) {$Product_Post = get_post($product->get_id());}
12
  else {$Product_Post = get_post(get_the_id());}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
+ $UFAQ_Product_Category = get_term_by('name', $Product_Post->post_title, 'ufaq-category');
15
+
16
+ $WC_Cats = get_the_terms($Product_Post, 'product_cat');
17
+ $UFAQ_WCCat_Category = false;
18
+ if ($WC_Cats) {
19
+ foreach ($WC_Cats as $WC_Cat) {
20
+ if (get_term_by('name', $WC_Cat->name, 'ufaq-category')) {$UFAQ_WCCat_Category = true;}
21
+ }
22
+ }
23
+
24
+ if (($UFAQ_Product_Category or $UFAQ_WCCat_Category) and $WooCommerce_FAQs == "Yes") {
25
  $tabs['faq_tab'] = array(
26
  'title' => __( 'FAQs', 'EWD_UFAQ' ),
27
  'priority' => 50,
40
 
41
  if ($Use_Product == "Yes") {$Product_Post = get_post($product->get_id());}
42
  else {$Product_Post = get_post(get_the_id());}
43
+ $UFAQ_Product_Category = get_term_by('name', $Product_Post->post_title, 'ufaq-category');
44
+
45
+ $WC_Cats = get_the_terms($Product_Post, 'product_cat');
46
+ $UFAQ_WC_Category_List = "";
47
+ if ($WC_Cats) {
48
+ foreach ($WC_Cats as $WC_Cat) {
49
+ $UFAQ_WC_Category = get_term_by('name', $WC_Cat->name, 'ufaq-category');
50
+ if ($UFAQ_WC_Category) {$UFAQ_WC_Category_List .= "," . $UFAQ_WC_Category->slug;}
51
+ }
52
+ }
53
 
54
  echo '<h2>FAQs</h2>';
55
+ echo do_shortcode("[ultimate-faqs include_category='". $UFAQ_Product_Category->slug . $UFAQ_WC_Category_List . "']");;
56
 
57
  }
58
 
Functions/Update_Admin_Databases.php CHANGED
@@ -140,6 +140,7 @@ function EWD_UFAQ_UpdateOptions() {
140
 
141
  if (isset($_POST['ufaq_styling_category_heading_type'])) {update_option('EWD_UFAQ_Styling_Category_Heading_Type', $_POST['ufaq_styling_category_heading_type']);}
142
  if (isset($_POST['ufaq_styling_faq_heading_type'])) {update_option('EWD_UFAQ_Styling_FAQ_Heading_Type', $_POST['ufaq_styling_faq_heading_type']);}
 
143
 
144
  if (isset($_POST['custom_css'])) {update_option('EWD_UFAQ_Custom_CSS', $Custom_CSS);}
145
 
140
 
141
  if (isset($_POST['ufaq_styling_category_heading_type'])) {update_option('EWD_UFAQ_Styling_Category_Heading_Type', $_POST['ufaq_styling_category_heading_type']);}
142
  if (isset($_POST['ufaq_styling_faq_heading_type'])) {update_option('EWD_UFAQ_Styling_FAQ_Heading_Type', $_POST['ufaq_styling_faq_heading_type']);}
143
+ if (isset($_POST['toggle_symbol'])) {update_option('EWD_UFAQ_Toggle_Symbol', $_POST['toggle_symbol']);}
144
 
145
  if (isset($_POST['custom_css'])) {update_option('EWD_UFAQ_Custom_CSS', $Custom_CSS);}
146
 
Main.php CHANGED
@@ -7,14 +7,14 @@ 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.4.5
11
  */
12
 
13
  global $ewd_ufaq_message;
14
  global $UFAQ_Full_Version;
15
  global $EWD_UFAQ_Version;
16
 
17
- $EWD_UFAQ_Version = '1.4.0';
18
 
19
  define( 'EWD_UFAQ_CD_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
20
  define( 'EWD_UFAQ_CD_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
@@ -202,6 +202,7 @@ function Set_EWD_UFAQ_Options() {
202
 
203
  if (get_option("EWD_UFAQ_Styling_Category_Heading_Type") == "") {update_option("EWD_UFAQ_Styling_Category_Heading_Type", "h4");}
204
  if (get_option("EWD_UFAQ_Styling_FAQ_Heading_Type") == "") {update_option("EWD_UFAQ_Styling_FAQ_Heading_Type", "h4");}
 
205
 
206
  if (get_option("EWD_UFAQ_Full_Version") == "") {update_option("EWD_UFAQ_Full_Version", "No");}
207
  if (get_option("EWD_UFAQ_Install_Flag") == "") {update_option("EWD_UFAQ_Update_Flag", "Yes");}
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.5.0
11
  */
12
 
13
  global $ewd_ufaq_message;
14
  global $UFAQ_Full_Version;
15
  global $EWD_UFAQ_Version;
16
 
17
+ $EWD_UFAQ_Version = '1.5.0';
18
 
19
  define( 'EWD_UFAQ_CD_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
20
  define( 'EWD_UFAQ_CD_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
202
 
203
  if (get_option("EWD_UFAQ_Styling_Category_Heading_Type") == "") {update_option("EWD_UFAQ_Styling_Category_Heading_Type", "h4");}
204
  if (get_option("EWD_UFAQ_Styling_FAQ_Heading_Type") == "") {update_option("EWD_UFAQ_Styling_FAQ_Heading_Type", "h4");}
205
+ if (get_option("EWD_UFAQ_Toggle_Symbol") == "") {update_option("EWD_UFAQ_Toggle_Symbol", "A");}
206
 
207
  if (get_option("EWD_UFAQ_Full_Version") == "") {update_option("EWD_UFAQ_Full_Version", "No");}
208
  if (get_option("EWD_UFAQ_Install_Flag") == "") {update_option("EWD_UFAQ_Update_Flag", "Yes");}
Shortcodes/DisplayFAQs.php CHANGED
@@ -3,6 +3,11 @@
3
  * supplied in the product-catalog shortcode */
4
  function Display_FAQs($atts) {
5
  $current_url = $_SERVER['REQUEST_URI'];
 
 
 
 
 
6
  $Custom_CSS = get_option("EWD_UFAQ_Custom_CSS");
7
  $FAQ_Toggle = get_option("EWD_UFAQ_Toggle");
8
  $Category_Toggle = get_option("EWD_UFAQ_Category_Toggle");
@@ -52,6 +57,9 @@ function Display_FAQs($atts) {
52
  $UFAQ_Styling_Category_Heading_Type = get_option("EWD_UFAQ_Styling_Category_Heading_Type");
53
  $UFAQ_Styling_FAQ_Heading_Type = get_option("EWD_UFAQ_Styling_FAQ_Heading_Type");
54
 
 
 
 
55
  if ($Display_Style != "Color_Block") {$Color_Block_Shape = "";}
56
  else {$Color_Block_Shape = "ewd-ufaq-" . $Color_Block_Shape;}
57
 
@@ -236,33 +244,33 @@ function Display_FAQs($atts) {
236
  $TitlesArray[] = json_encode($faq->post_title);
237
  $HeaderString .= "<div class='ufaq-faq-header-title'><a href='' class='ufaq-faq-header-link' data-postid='" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "'>" . $faq->post_title . "</a></div>";
238
 
239
- $ReturnString .= "<div class='ufaq-faq-div ufaq-faq-display-style-" . $Display_Style . "' id='ufaq-post-" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "' data-postid='" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "'>";
240
 
241
  $ReturnString .= "<div class='ufaq-faq-title";
242
  if ($FAQ_Toggle != "No") {$ReturnString .= " ufaq-faq-toggle";}
243
  $ReturnString .= "' id='ufaq-title-" . $faq->ID . "' data-postid='" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "'>";
244
  $ReturnString .= "<a class='ewd-ufaq-post-margin' href='" . get_permalink($faq->ID) . "'><div class='ewd-ufaq-post-margin-symbol " . $Color_Block_Shape . "' id='ewd-ufaq-post-margin-symbol-" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "'><span id='ewd-ufaq-post-symbol-" . $Unique_ID . "-" . $faq->ID . "-" . $Counter;
245
- if ($Display_All_Answers == "Yes") {$ReturnString .= "'> - </span></div>";}
246
- else {$ReturnString .= "'> + </span></div>";}
247
- $ReturnString .= "<div class='ufaq-faq-title-text'><" . $UFAQ_Styling_FAQ_Heading_Type . ">" .$faq->post_title . "</" . $UFAQ_Styling_FAQ_Heading_Type . "></div><div class='ewd-ufaq-clear'></div></a>";
248
  $ReturnString .= "</div>";
249
 
250
  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>";}
251
  $ReturnString .= "<div class='ufaq-faq-body ufaq-body-" . $faq->ID;
252
  if ($Display_All_Answers != "Yes") {$ReturnString .= " ewd-ufaq-hidden";}
253
- $ReturnString .= "' id='ufaq-body-" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "'>";
254
 
255
  if ($Display_Author == "Yes" or $Display_Date == "Yes") {
256
  $Display_Author_Value = get_post_meta($faq->ID, "EWD_UFAQ_Post_Author", true);
257
  $Display_Date_Value = get_the_date("", $faq->ID);
258
- $ReturnString .= "<div class='ewd-ufaq-author-date'>";
259
  $ReturnString .= $Posted_Label . " " ;
260
- if ($Display_Author == "Yes" and $Display_Author_Value != "") {$ReturnString .= $By_Label . " <span class='ewd-ufaq-author'>" . $Display_Author_Value . "</span> ";}
261
  if ($Display_Date == "Yes") {$ReturnString .= $On_Label . " <span class='ewd-ufaq-date'>" . $Display_Date_Value . "</span> ";}
262
  $ReturnString .= "</div>";
263
  }
264
 
265
- $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>";
266
 
267
  if (sizeOf($FAQ_Fields_Array) > 0) {
268
  $ReturnString .= "<div class='ufaq-faq-custom-fields' id='ufaq-custom-fields-" . $faq->ID . "'>";
@@ -303,7 +311,7 @@ function Display_FAQs($atts) {
303
  else {$ReturnString .= "Tag: ";}}
304
  else {$ReturnString .= $Tag_Label . ": ";}
305
  foreach ($Tag_Terms as $Tag_Term) {
306
- if ($Pretty_Permalinks == "Yes") {$Tag_URL = $current_url . "faq-tag/" . $Tag_Term->slug . "/";}
307
  else {$Tag_URL = $current_url . "?include_tag=" . $Tag_Term->slug;}
308
  $ReturnString .= "<a href='" . $Tag_URL . "'>" .$Tag_Term->name . "</a>, ";
309
  }
@@ -321,8 +329,8 @@ function Display_FAQs($atts) {
321
  $ReturnString .= "<div class='ewd-ufaq-ratings-label'>";
322
  $ReturnString .= __("Did you find this FAQ helpful?", 'EWD_UFAQ');
323
  $ReturnString .= "</div>";
324
- $ReturnString .= "<div class='ewd-ufaq-rating-button ewd-ufaq-up-vote' data-ratingfaqid='" . $faq->ID . "'>" . $Up_Votes . "</div>";
325
- $ReturnString .= "<div class='ewd-ufaq-rating-button ewd-ufaq-down-vote' data-ratingfaqid='" . $faq->ID . "'>" . $Down_Votes . "</div>";
326
  $ReturnString .= "</div>";
327
  $ReturnString .= "<div class='ewd-ufaq-clear'></div>";
328
  }
3
  * supplied in the product-catalog shortcode */
4
  function Display_FAQs($atts) {
5
  $current_url = $_SERVER['REQUEST_URI'];
6
+ if (strpos($current_url,'faq-tag') !== false) {$current_url = substr($current_url,0,strpos($current_url,'faq-tag'));}
7
+ if (strpos($current_url,'faq-category') !== false) {$current_url = substr($current_url,0,strpos($current_url,'faq-category'));}
8
+ if (strpos($current_url,'?include_tag') !== false) {$current_url = substr($current_url,0,strpos($current_url,'?include_tag'));}
9
+ if (strpos($current_url,'?include_category') !== false) {$current_url = substr($current_url,0,strpos($current_url,'?include_category'));}
10
+
11
  $Custom_CSS = get_option("EWD_UFAQ_Custom_CSS");
12
  $FAQ_Toggle = get_option("EWD_UFAQ_Toggle");
13
  $Category_Toggle = get_option("EWD_UFAQ_Category_Toggle");
57
  $UFAQ_Styling_Category_Heading_Type = get_option("EWD_UFAQ_Styling_Category_Heading_Type");
58
  $UFAQ_Styling_FAQ_Heading_Type = get_option("EWD_UFAQ_Styling_FAQ_Heading_Type");
59
 
60
+ $Toggle_Symbol = get_option("EWD_UFAQ_Toggle_Symbol");
61
+ if ($Toggle_Symbol == "") {$Toggle_Symbol = 'A';}
62
+
63
  if ($Display_Style != "Color_Block") {$Color_Block_Shape = "";}
64
  else {$Color_Block_Shape = "ewd-ufaq-" . $Color_Block_Shape;}
65
 
244
  $TitlesArray[] = json_encode($faq->post_title);
245
  $HeaderString .= "<div class='ufaq-faq-header-title'><a href='' class='ufaq-faq-header-link' data-postid='" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "'>" . $faq->post_title . "</a></div>";
246
 
247
+ $ReturnString .= "<div class='ufaq-faq-div ufaq-faq-display-style-" . $Display_Style . "' id='ufaq-post-" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "' data-postid='" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "' itemscope itemtype='http://schema.org/Question'>";
248
 
249
  $ReturnString .= "<div class='ufaq-faq-title";
250
  if ($FAQ_Toggle != "No") {$ReturnString .= " ufaq-faq-toggle";}
251
  $ReturnString .= "' id='ufaq-title-" . $faq->ID . "' data-postid='" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "'>";
252
  $ReturnString .= "<a class='ewd-ufaq-post-margin' href='" . get_permalink($faq->ID) . "'><div class='ewd-ufaq-post-margin-symbol " . $Color_Block_Shape . "' id='ewd-ufaq-post-margin-symbol-" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "'><span id='ewd-ufaq-post-symbol-" . $Unique_ID . "-" . $faq->ID . "-" . $Counter;
253
+ if ($Display_All_Answers == "Yes") {$ReturnString .= "'>" . $Toggle_Symbol . "</span></div>";}
254
+ else {$ReturnString .= "'>" . strtolower($Toggle_Symbol) . "</span></div>";}
255
+ $ReturnString .= "<div class='ufaq-faq-title-text'><" . $UFAQ_Styling_FAQ_Heading_Type . " itemprop='name'>" .$faq->post_title . "</" . $UFAQ_Styling_FAQ_Heading_Type . "></div><div class='ewd-ufaq-clear'></div></a>";
256
  $ReturnString .= "</div>";
257
 
258
  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>";}
259
  $ReturnString .= "<div class='ufaq-faq-body ufaq-body-" . $faq->ID;
260
  if ($Display_All_Answers != "Yes") {$ReturnString .= " ewd-ufaq-hidden";}
261
+ $ReturnString .= "' id='ufaq-body-" . $Unique_ID . "-" . $faq->ID . "-" . $Counter . "' itemprop='suggestedAnswer acceptedAnswer' itemscope itemtype='http://schema.org/Answer'>";
262
 
263
  if ($Display_Author == "Yes" or $Display_Date == "Yes") {
264
  $Display_Author_Value = get_post_meta($faq->ID, "EWD_UFAQ_Post_Author", true);
265
  $Display_Date_Value = get_the_date("", $faq->ID);
266
+ $ReturnString .= "<div class='ewd-ufaq-author-date' itemprop='author' itemscope itemtype='http://schema.org/Person'>";
267
  $ReturnString .= $Posted_Label . " " ;
268
+ if ($Display_Author == "Yes" and $Display_Author_Value != "") {$ReturnString .= $By_Label . " <span class='ewd-ufaq-author' itemprop='name'>" . $Display_Author_Value . "</span> ";}
269
  if ($Display_Date == "Yes") {$ReturnString .= $On_Label . " <span class='ewd-ufaq-date'>" . $Display_Date_Value . "</span> ";}
270
  $ReturnString .= "</div>";
271
  }
272
 
273
+ $ReturnString .= "<div class='ewd-ufaq-post-margin ufaq-faq-post' id='ufaq-post-" . $faq->ID . "' itemprop='text'>" . apply_filters('the_content', html_entity_decode($faq->post_content)) . "</div>";
274
 
275
  if (sizeOf($FAQ_Fields_Array) > 0) {
276
  $ReturnString .= "<div class='ufaq-faq-custom-fields' id='ufaq-custom-fields-" . $faq->ID . "'>";
311
  else {$ReturnString .= "Tag: ";}}
312
  else {$ReturnString .= $Tag_Label . ": ";}
313
  foreach ($Tag_Terms as $Tag_Term) {
314
+ if ($Pretty_Permalinks == "Yes") {$Tag_URL = $current_url . "faq-tag/" . $Tag_Term->slug . "/";}
315
  else {$Tag_URL = $current_url . "?include_tag=" . $Tag_Term->slug;}
316
  $ReturnString .= "<a href='" . $Tag_URL . "'>" .$Tag_Term->name . "</a>, ";
317
  }
329
  $ReturnString .= "<div class='ewd-ufaq-ratings-label'>";
330
  $ReturnString .= __("Did you find this FAQ helpful?", 'EWD_UFAQ');
331
  $ReturnString .= "</div>";
332
+ $ReturnString .= "<div class='ewd-ufaq-rating-button ewd-ufaq-up-vote' data-ratingfaqid='" . $faq->ID . "' itemprop='upvoteCount'>" . $Up_Votes . "</div>";
333
+ $ReturnString .= "<div class='ewd-ufaq-rating-button ewd-ufaq-down-vote' data-ratingfaqid='" . $faq->ID . "' itemprop='downvoteCount'>" . $Down_Votes . "</div>";
334
  $ReturnString .= "</div>";
335
  $ReturnString .= "<div class='ewd-ufaq-clear'></div>";
336
  }
css/Admin.css CHANGED
@@ -446,4 +446,31 @@ EXTRA
446
  }
447
  #light a:hover {
448
  text-decoration: underline;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
449
  }
446
  }
447
  #light a:hover {
448
  text-decoration: underline;
449
+ }
450
+
451
+ /*
452
+ ==============================================
453
+ Toggle Font
454
+ ==============================================
455
+ */
456
+
457
+ @font-face { /* declare fonts */
458
+ font-family: 'ewd-toggle-icon';
459
+ src: url("fonts/ewd-toggle-icon.eot");
460
+ src: url('fonts/ewd-toggle-icon.woff2') format('woff2'),
461
+ url('fonts/ewd-toggle-icon.woff') format('woff'),
462
+ url("fonts/ewd-toggle-icon.ttf") format("truetype"),
463
+ url("fonts/ewd-toggle-icon.svg#ewd-toggle-icon") format("svg");
464
+ font-weight: normal;
465
+ font-style: normal;
466
+ }
467
+
468
+ .ufaq-toggle-symbol {
469
+ font-family: 'ewd-toggle-icon';
470
+ letter-spacing: 6px;
471
+ font-size: 1.2em;
472
+ }
473
+
474
+ input[name=toggle_symbol] {
475
+ margin-right: 10px;
476
  }
css/ewd-ufaq-styles.css CHANGED
@@ -384,3 +384,25 @@ Ratings
384
  background: url("../images/Thumbs-down-icon.png");
385
  background-repeat: no-repeat;
386
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
  background: url("../images/Thumbs-down-icon.png");
385
  background-repeat: no-repeat;
386
  }
387
+
388
+
389
+ /*
390
+ ==============================================
391
+ Toggle Font
392
+ ==============================================
393
+ */
394
+
395
+ @font-face { /* declare fonts */
396
+ font-family: 'ewd-toggle-icon';
397
+ src: url("fonts/ewd-toggle-icon.eot");
398
+ src: url('fonts/ewd-toggle-icon.woff2') format('woff2'),
399
+ url('fonts/ewd-toggle-icon.woff') format('woff'),
400
+ url("fonts/ewd-toggle-icon.ttf") format("truetype"),
401
+ url("fonts/ewd-toggle-icon.svg#ewd-toggle-icon") format("svg");
402
+ font-weight: normal;
403
+ font-style: normal;
404
+ }
405
+
406
+ .ewd-ufaq-post-margin-symbol {
407
+ font-family: 'ewd-toggle-icon';
408
+ }
css/fonts/ewd-toggle-icon.eot ADDED
Binary file
css/fonts/ewd-toggle-icon.svg ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by Fontastic.me</metadata>
5
+ <defs>
6
+ <font id="ewd-toggle-icon" horiz-adv-x="512">
7
+ <font-face font-family="ewd-toggle-icon" units-per-em="512" ascent="480" descent="-32"/>
8
+ <missing-glyph horiz-adv-x="512" />
9
+
10
+ <glyph glyph-name="ewd-ufaq-fonticon-01" unicode="&#97;" d="M224 468l64 0 0-424-64 0z m-180-180l424 0 0-64-424 0z"/>
11
+ <glyph glyph-name="ewd-ufaq-fonticon-02" unicode="&#65;" d="M44 288l424 0 0-64-424 0z"/>
12
+ <glyph glyph-name="ewd-ufaq-fonticon-03" unicode="&#98;" d="M256 219l-164 164-45-45 209-209 209 209-45 45-164-164"/>
13
+ <glyph glyph-name="ewd-ufaq-fonticon-04" unicode="&#66;" d="M256 293l-164-164-45 45 209 209 209-209-45-45-164 164"/>
14
+ <glyph glyph-name="ewd-ufaq-fonticon-05" unicode="&#99;" d="M256 151l0 0 164 164 0-90-164-163-164 164 0 89z m0 46l-164 164 0 89 164-164 0 0 164 164 0-89z"/>
15
+ <glyph glyph-name="ewd-ufaq-fonticon-06" unicode="&#67;" d="M256 361l0 0 164-164 0 90-164 163-164-164 0-89z m0-46l-164-164 0-89 164 164 0 0 164-164 0 89z"/>
16
+ <glyph glyph-name="ewd-ufaq-fonticon-07" unicode="&#100;" d="M34 400l222-288 222 288z"/>
17
+ <glyph glyph-name="ewd-ufaq-fonticon-08" unicode="&#68;" d="M34 112l222 288 222-288z"/>
18
+ <glyph glyph-name="ewd-ufaq-fonticon-09" unicode="&#101;" d="M34 448l222-384 222 384-222-192z"/>
19
+ <glyph glyph-name="ewd-ufaq-fonticon-10" unicode="&#69;" d="M34 64l222 384 222-384-222 192z"/>
20
+ <glyph glyph-name="ewd-ufaq-fonticon-11" unicode="&#102;" d="M256 473c-120 0-217-97-217-217 0-120 97-217 217-217 120 0 217 97 217 217 0 120-97 217-217 217z m0-402c-102 0-185 83-185 185 0 102 83 185 185 185 102 0 185-83 185-185 0-102-83-185-185-185z"/>
21
+ <glyph glyph-name="ewd-ufaq-fonticon-12" unicode="&#70;" d="M256 473c-120 0-217-97-217-217 0-120 97-217 217-217 120 0 217 97 217 217 0 120-97 217-217 217z m0-402c-102 0-185 83-185 185 0 102 83 185 185 185 102 0 185-83 185-185 0-102-83-185-185-185z m152 185c0-84-68-152-152-152-84 0-152 68-152 152 0 84 68 152 152 152 84 0 152-68 152-152z"/>
22
+ <glyph glyph-name="ewd-ufaq-fonticon-13" unicode="&#103;" d="M256 473c-120 0-217-97-217-217 0-120 97-217 217-217 120 0 217 97 217 217 0 120-97 217-217 217z m0-402c-102 0-185 83-185 185 0 102 83 185 185 185 102 0 185-83 185-185 0-102-83-185-185-185z"/>
23
+ <glyph glyph-name="ewd-ufaq-fonticon-14" unicode="&#71;" d="M256 473c-120 0-217-97-217-217 0-120 97-217 217-217 120 0 217 97 217 217 0 120-97 217-217 217z"/>
24
+ <glyph glyph-name="ewd-ufaq-fonticon-15" unicode="&#104;" d="M60 452l0-392 392 0 0 392z m362-362l-332 0 0 332 332 0z"/>
25
+ <glyph glyph-name="ewd-ufaq-fonticon-16" unicode="&#72;" d="M60 452l0-392 392 0 0 392z m362-362l-332 0 0 332 332 0z m-301 301l270 0 0-270-270 0z"/>
26
+ <glyph glyph-name="ewd-ufaq-fonticon-17" unicode="&#105;" d="M60 452l0-392 392 0 0 392z m362-362l-332 0 0 332 332 0z"/>
27
+ <glyph glyph-name="ewd-ufaq-fonticon-18" unicode="&#73;" d="M60 452l0-392 392 0 0 392z"/>
28
+ <glyph glyph-name="ewd-ufaq-fonticon-19" unicode="&#106;" d="M53 256l203-203 203 203-203 203z m375 0l-172-172-172 172 172 172z"/>
29
+ <glyph glyph-name="ewd-ufaq-fonticon-20" unicode="&#74;" d="M53 256l203-203 203 203-203 203z m375 0l-172-172-172 172 172 172z m-311 0l139 139 139-139-139-139z"/>
30
+ <glyph glyph-name="ewd-ufaq-fonticon-21" unicode="&#107;" d="M53 256l203-203 203 203-203 203z m375 0l-172-172-172 172 172 172z"/>
31
+ <glyph glyph-name="ewd-ufaq-fonticon-22" unicode="&#75;" d="M53 256l203-203 203 203-203 203z"/>
32
+ <glyph glyph-name="ewd-ufaq-fonticon-23" unicode="&#108;" d="M373 356l-234 0c-55 0-100-45-100-100 0-55 45-100 100-100l234 0c55 0 100 45 100 100 0 55-45 100-100 100z m-224-174c-41 0-74 33-74 74 0 41 33 74 74 74 41 0 74-33 74-74 0-41-33-74-74-74z"/>
33
+ <glyph glyph-name="ewd-ufaq-fonticon-24" unicode="&#76;" d="M39 256c0-55 45-100 100-100l234 0c55 0 100 45 100 100 0 55-45 100-100 100l-234 0c-55 0-100-45-100-100z m250 0c0 41 33 74 74 74 41 0 74-33 74-74 0-41-33-74-74-74-41 0-74 33-74 74z"/>
34
+ <glyph glyph-name="ewd-ufaq-fonticon-25" unicode="&#109;" d="M411 186c30 26 48 50 48 50l-39 0 0 0c0 0-73-98-164-98-91 0-164 98-164 98l0 0-39 0c0 0 19-25 50-52l-39-52c-4-4-3-11 2-15 4-3 11-2 14 2l39 51c17-13 36-26 57-36l-21-66c-2-5 1-11 7-13 5-2 11 1 13 7l21 64c16-6 34-10 52-11l0-73c0-6 5-10 10-10 6 0 11 4 11 10l0 74c18 1 35 6 52 12l22-61c2-5 8-8 14-6 5 2 8 8 6 13l-23 63c21 10 39 22 55 35l43-52c3-5 10-5 15-2 4 4 5 11 1 15z"/>
35
+ <glyph glyph-name="ewd-ufaq-fonticon-26" unicode="&#77;" d="M411 264l43 52c4 5 3 12-1 15-5 4-12 3-15-1l-43-52c-16 13-34 25-55 35l23 63c2 5-1 11-6 13-6 2-12-1-14-6l-22-61c-17 6-34 10-52 12l0 74c0 5-5 10-11 10-5 0-10-5-10-10l0-74c-18-1-36-5-52-10l-21 64c-2 5-8 9-13 7-6-2-9-8-7-14l21-66c-21-10-40-22-57-35l-39 50c-3 5-10 6-14 2-5-3-6-10-2-14l39-52c-31-27-50-52-50-52 0 0 91-120 203-120 112 0 203 120 203 120 0 0-18 24-48 50z m-319-50c0 0 73 98 164 98 31 0 60-12 85-27-11 5-22 8-34 8-44 0-79-35-79-79 0-43 35-79 79-79 12 0 23 3 33 8-24-15-53-26-84-26-91 0-164 97-164 97z m268-58c16 14 26 35 26 58 0 23-10 44-26 59 37-28 60-59 60-59 0 0-23-31-60-58z"/>
36
+ <glyph glyph-name="ewd-ufaq-fonticon-27" unicode="&#110;" d="M339 171c-58 0-106 47-106 106 0 54 41 98 93 105-18 8-38 13-59 13-77 0-139-62-139-139 0-77 62-139 139-139 49 0 92 25 117 64-14-7-29-10-45-10z"/>
37
+ <glyph glyph-name="ewd-ufaq-fonticon-28" unicode="&#78;" d="M358 256c0-57-45-102-102-102-57 0-102 45-102 102 0 57 45 102 102 102 57 0 102-45 102-102z m-91 133c0-5-5-10-11-10-6 0-11 5-11 10l0 61c0 6 5 11 11 11 6 0 11-5 11-11z m0-327c0-6-5-11-11-11-6 0-11 5-11 11l0 61c0 5 5 10 11 10 6 0 11-5 11-10z m122 183c-5 0-10 5-10 11 0 6 5 11 10 11l61 0c6 0 11-5 11-11 0-6-5-11-11-11z m-327 0c-6 0-11 5-11 11 0 6 5 11 11 11l61 0c5 0 10-5 10-11 0-6-5-11-10-11z m296 98c-4-4-11-4-15 0-4 4-4 11 0 15l43 43c4 4 11 4 15 0 4-4 4-11 0-15z m-232-232c-4-4-11-4-15 0-4 4-4 11 0 15l43 43c4 4 11 4 15 0 4-4 4-11 0-15z m28 232c4-4 11-4 15 0 4 4 4 11 0 15l-43 43c-4 4-11 4-15 0-4-4-4-11 0-15z m232-232c4-4 11-4 15 0 4 4 4 11 0 15l-43 43c-4 4-11 4-15 0-4-4-4-11 0-15z"/>
38
+ <glyph glyph-name="ewd-ufaq-fonticon-29" unicode="&#111;" d="M375 308l-34 0 0 16c0 46-38 84-85 84-47 0-85-38-85-84l0-16-34 0c-14 0-26-10-26-23l0-158c0-13 12-23 26-23l238 0c14 0 26 10 26 23l0 158c0 13-12 23-26 23z m-170 15c0 28 23 51 51 51 28 0 51-23 51-51l0-15-102 0z"/>
39
+ <glyph glyph-name="ewd-ufaq-fonticon-30" unicode="&#79;" d="M375 308l-34 0 0 36c0 47-38 85-85 85-45 0-83-36-85-81 0 0 0-19 20-19 16 0 14 19 14 19 3 26 24 46 51 46 28 0 51-23 51-51l0-35-170 0c-14 0-26-10-26-23l0-158c0-13 12-23 26-23l238 0c14 0 26 10 26 23l0 158c0 13-12 23-26 23z"/>
40
+ </font></defs></svg>
css/fonts/ewd-toggle-icon.ttf ADDED
Binary file
css/fonts/ewd-toggle-icon.woff ADDED
Binary file
css/fonts/ewd-toggle-icon.woff2 ADDED
Binary file
html/OptionsPage.php CHANGED
@@ -93,6 +93,7 @@
93
 
94
  $UFAQ_Styling_Category_Heading_Type = get_option("EWD_UFAQ_Styling_Category_Heading_Type");
95
  $UFAQ_Styling_FAQ_Heading_Type = get_option("EWD_UFAQ_Styling_FAQ_Heading_Type");
 
96
 
97
  if (!isset($Display_Tab)) {$Display_Tab = "";}
98
  ?>
@@ -727,6 +728,28 @@
727
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Styling Options (Premium)</h2>
728
 
729
  <div id='ufaq-styling-options' class="ufaq-options-div ufaq-options-flex">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
730
  <div class='ufaq-subsection'>
731
  <div class='ufaq-subsection-header'>Color Block Theme</div>
732
  <div class='ufaq-subsection-content'>
@@ -810,7 +833,7 @@
810
  <div class='ufaq-option-input'><input type='text' name='ufaq_styling_question_padding' value='<?php echo $UFAQ_Styling_Question_Padding; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /></div>
811
  </div>
812
  <div class='ufaq-option ufaq-styling-option'>
813
- <div class='ufaq-option-label'>"+" Icon Top Margin</div>
814
  <div class='ufaq-option-input'><input type='text' name='ufaq_styling_question_icon_top_margin' value='<?php echo $UFAQ_Styling_Question_Icon_Top_Margin; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /></div>
815
  </div>
816
  </div>
@@ -919,7 +942,7 @@
919
  </select>
920
  </div>
921
  </div>
922
- </div>
923
  </div>
924
 
925
  </div>
93
 
94
  $UFAQ_Styling_Category_Heading_Type = get_option("EWD_UFAQ_Styling_Category_Heading_Type");
95
  $UFAQ_Styling_FAQ_Heading_Type = get_option("EWD_UFAQ_Styling_FAQ_Heading_Type");
96
+ $Toggle_Symbol = get_option("EWD_UFAQ_Toggle_Symbol");
97
 
98
  if (!isset($Display_Tab)) {$Display_Tab = "";}
99
  ?>
728
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Styling Options (Premium)</h2>
729
 
730
  <div id='ufaq-styling-options' class="ufaq-options-div ufaq-options-flex">
731
+ <div class='ufaq-subsection'>
732
+ <div class='ufaq-subsection-header'>Toogle Symbol</div>
733
+ <div class='ufaq-subsection-content'>
734
+ <div class='ufaq-option ufaq-styling-option'>
735
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='A' <?php if ($Toggle_Symbol == "A") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>a A</span></div><br />
736
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='B' <?php if ($Toggle_Symbol == "B") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>b B</span></div><br />
737
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='C' <?php if ($Toggle_Symbol == "C") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>c C</span></div><br />
738
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='D' <?php if ($Toggle_Symbol == "D") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>d D</span></div><br />
739
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='E' <?php if ($Toggle_Symbol == "E") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>e E</span></div><br />
740
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='F' <?php if ($Toggle_Symbol == "F") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>f F</span></div><br />
741
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='G' <?php if ($Toggle_Symbol == "G") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>g G</span></div><br />
742
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='H' <?php if ($Toggle_Symbol == "H") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>h H</span></div><br />
743
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='I' <?php if ($Toggle_Symbol == "I") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>i I</span></div><br />
744
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='J' <?php if ($Toggle_Symbol == "J") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>j J</span></div><br />
745
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='K' <?php if ($Toggle_Symbol == "K") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>k K</span></div><br />
746
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='L' <?php if ($Toggle_Symbol == "L") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>l L</span></div><br />
747
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='M' <?php if ($Toggle_Symbol == "M") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>m M</span></div><br />
748
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='N' <?php if ($Toggle_Symbol == "N") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>n N</span></div><br />
749
+ <div class='ufaq-option-one-line'><input type='radio' name='toggle_symbol' value='O' <?php if ($Toggle_Symbol == "O") {echo "checked='checked'";} ?> <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /><span class='ufaq-toggle-symbol'>o O</span></div><br />
750
+ </div>
751
+ </div>
752
+ </div>
753
  <div class='ufaq-subsection'>
754
  <div class='ufaq-subsection-header'>Color Block Theme</div>
755
  <div class='ufaq-subsection-content'>
833
  <div class='ufaq-option-input'><input type='text' name='ufaq_styling_question_padding' value='<?php echo $UFAQ_Styling_Question_Padding; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /></div>
834
  </div>
835
  <div class='ufaq-option ufaq-styling-option'>
836
+ <div class='ufaq-option-label'>Toggle Symbol Top Margin</div>
837
  <div class='ufaq-option-input'><input type='text' name='ufaq_styling_question_icon_top_margin' value='<?php echo $UFAQ_Styling_Question_Icon_Top_Margin; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /></div>
838
  </div>
839
  </div>
942
  </select>
943
  </div>
944
  </div>
945
+ </div>
946
  </div>
947
 
948
  </div>
js/ewd-ufaq-js.js CHANGED
@@ -90,7 +90,7 @@ function EWD_UFAQ_Reveal_FAQ(post_id, selectedIDString) {
90
  var data = 'post_id=' + post_id + '&action=ufaq_record_view';
91
  jQuery.post(ajaxurl, data, function(response) {});
92
 
93
- jQuery('#ewd-ufaq-post-symbol-'+post_id).html('- ');
94
 
95
  jQuery('#ufaq-excerpt-'+post_id).addClass("ewd-ufaq-hidden");
96
 
@@ -117,7 +117,7 @@ function EWD_UFAQ_Hide_FAQ(post_id) {
117
  if (reveal_effect != "none") {runEffect("hide", post_id);}
118
  else {jQuery('#ufaq-body-'+post_id).addClass("ewd-ufaq-hidden");}
119
  jQuery('#ufaq-post-'+post_id).removeClass("ewd-ufaq-post-active");
120
- jQuery('#ewd-ufaq-post-symbol-'+post_id).html('+ ');
121
  }
122
 
123
  jQuery(document).ready(function() {
90
  var data = 'post_id=' + post_id + '&action=ufaq_record_view';
91
  jQuery.post(ajaxurl, data, function(response) {});
92
 
93
+ jQuery('#ewd-ufaq-post-symbol-'+post_id).html(jQuery('#ewd-ufaq-post-symbol-'+post_id).html().toUpperCase());
94
 
95
  jQuery('#ufaq-excerpt-'+post_id).addClass("ewd-ufaq-hidden");
96
 
117
  if (reveal_effect != "none") {runEffect("hide", post_id);}
118
  else {jQuery('#ufaq-body-'+post_id).addClass("ewd-ufaq-hidden");}
119
  jQuery('#ufaq-post-'+post_id).removeClass("ewd-ufaq-post-active");
120
+ jQuery('#ewd-ufaq-post-symbol-'+post_id).html(jQuery('#ewd-ufaq-post-symbol-'+post_id).html().toLowerCase());
121
  }
122
 
123
  jQuery(document).ready(function() {
readme.txt CHANGED
@@ -1,6 +1,6 @@
1
  === FAQ ===
2
  Contributors: Rustaurius, EtoileWebDesign
3
- Tags: FAQ, FAQs, easy FAQ, simple FAQ, FAQ categories, FAQ answer, faq page, FAQ Plugin, WooCommerce FAQ, frequently asked questions, questions, FAQ questions, wordpress faq, FAQ list, FAQ custom post type, faq list, faq accordion, jquery faq, jquery-ui, faq shortcode, faq widget, AJAX FAQ, responsive faq, submit questions,
4
  Requires at least: 3.9.0
5
  Tested up to: 4.5
6
  License: GPLv3
@@ -41,10 +41,12 @@ Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ
41
  * Insert custom CSS to style your FAQ posts
42
  * Select FAQ animation options for displaying FAQ posts
43
  * Toggle FAQ accordion (close open FAQ when a new one is opened) behaviour on/off
44
- * Share FAQ on social media
 
45
  * Responsive FAQ design
46
 
47
  = Premium FAQ features include =
 
48
  * WooCommerce FAQ tab with specific FAQs for each product on product page (<a href='https://www.youtube.com/watch?v=cH3p0fW4c5o'>YouTube Video</a>)
49
  * Different FAQ display styles for your frequently asked questions
50
  * User-submitted FAQs
@@ -157,12 +159,20 @@ On the FAQ settings page you can choose to link to twitter, facebook and more!
157
 
158
  = How do I make my FAQs searchable? =
159
 
160
- 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.
161
 
162
  = Can I display all FAQs on pageload using the [ultimate-faq-search] shortcode? =
163
 
164
  You can add the attribute "show_on_load" to the shortcode, and set it to "Yes" to display all FAQs when the page first loads.
165
 
 
 
 
 
 
 
 
 
166
  = How do I customize my FAQs, for example, to change the font? =
167
 
168
  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:
@@ -199,6 +209,12 @@ Video 3 - FAQs Ordering
199
  9. All answers displayed in the 'list' FAQ mode
200
 
201
  == Changelog ==
 
 
 
 
 
 
202
  = 1.4.5 =
203
  - Fixed a number of insufficient permission errors
204
 
1
  === FAQ ===
2
  Contributors: Rustaurius, EtoileWebDesign
3
+ Tags: FAQ, FAQs, easy FAQ, simple FAQ, FAQ categories, FAQ answer, faq page, FAQ Plugin, WooCommerce FAQ, frequently asked questions, questions, FAQ questions, wordpress faq, FAQ list, FAQ custom post type, faq list, faq accordion, jquery faq, jquery-ui, faq shortcode, faq widget, AJAX FAQ, responsive faq, submit questions, microdata
4
  Requires at least: 3.9.0
5
  Tested up to: 4.5
6
  License: GPLv3
41
  * Insert custom CSS to style your FAQ posts
42
  * Select FAQ animation options for displaying FAQ posts
43
  * Toggle FAQ accordion (close open FAQ when a new one is opened) behaviour on/off
44
+ * Share FAQs on social media
45
+ * Microdata question schema, to help with SEO
46
  * Responsive FAQ design
47
 
48
  = Premium FAQ features include =
49
+ * Choose from 15 toggle icon sets
50
  * WooCommerce FAQ tab with specific FAQs for each product on product page (<a href='https://www.youtube.com/watch?v=cH3p0fW4c5o'>YouTube Video</a>)
51
  * Different FAQ display styles for your frequently asked questions
52
  * User-submitted FAQs
159
 
160
  = How do I make my FAQs searchable? =
161
 
162
+ You can use the premium 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.
163
 
164
  = Can I display all FAQs on pageload using the [ultimate-faq-search] shortcode? =
165
 
166
  You can add the attribute "show_on_load" to the shortcode, and set it to "Yes" to display all FAQs when the page first loads.
167
 
168
+ = How do I add FAQs to a WooCommerce product page with the premium version? =
169
+
170
+ You can add FAQs for either a specific product or for a WooCommerce category.
171
+
172
+ For a specific product, create an FAQ category with the same name as the product, and then select that category for all of the FAQs you want included on your product page.
173
+
174
+ For a category of WooCommerce products, create an FAQ category with the same name as the WooCommerce category, and then select that category for all of the FAQs you want included on your product page.
175
+
176
  = How do I customize my FAQs, for example, to change the font? =
177
 
178
  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:
209
  9. All answers displayed in the 'list' FAQ mode
210
 
211
  == Changelog ==
212
+ = 1.5.0 =
213
+ - Added in a new premium option to change the toggle icon to one of 15 different sets of icons
214
+ - Added in microdata support, to help with SEO
215
+ - FAQs can now be included for an entire WooCommerce category instead of being added for products one at a time
216
+ - Fixed a URL issue when a category or tag was selected, and a visitor tried to select another one
217
+
218
  = 1.4.5 =
219
  - Fixed a number of insufficient permission errors
220