Ultimate FAQ - Version 1.1.3

Version Description

  • Fixed a problem where links inside of a toggable FAQ weren't clickable
Download this release

Release Info

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

Code changes from version 1.1.2 to 1.1.3

Files changed (5) hide show
  1. Main.php +1 -1
  2. Shortcodes/DisplayFAQs.php +4 -5
  3. css/Admin.css +1 -1
  4. js/Admin.js +0 -1
  5. readme.txt +3 -0
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.2
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.3
11
  */
12
 
13
  global $ewd_ufaq_message;
Shortcodes/DisplayFAQs.php CHANGED
@@ -182,12 +182,11 @@ function Display_FAQs($atts) {
182
  $TitlesArray[] = json_encode($faq->post_title);
183
  $HeaderString .= "<div class='ufaq-faq-header-title'><a href='' class='ufaq-faq-header-link' data-postid='" . $faq->ID . "-" . $Counter . "'>" . $faq->post_title . "</a></div>";
184
 
185
- $ReturnString .= "<div class='ufaq-faq-div ufaq-faq-display-style-" . $Display_Style;
186
- if ($FAQ_Toggle != "No") {$ReturnString .= " ufaq-faq-toggle'";}
187
- else {$ReturnString .= "'";}
188
- $ReturnString .= " id='ufaq-post-" . $faq->ID . "-" . $Counter . "' data-postid='" . $faq->ID . "-" . $Counter . "'>";
189
 
190
- $ReturnString .= "<div class='ufaq-faq-title' id='ufaq-title-" . $faq->ID . "' data-postid='" . $faq->ID . "-" . $Counter . "'>";
 
 
191
  $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-" . $faq->ID . "-" . $Counter . "'><span id='ewd-ufaq-post-symbol-" . $faq->ID . "-" . $Counter;
192
  if ($Display_All_Answers == "Yes") {$ReturnString .= "'> - </span></div>";}
193
  else {$ReturnString .= "'> + </span></div>";}
182
  $TitlesArray[] = json_encode($faq->post_title);
183
  $HeaderString .= "<div class='ufaq-faq-header-title'><a href='' class='ufaq-faq-header-link' data-postid='" . $faq->ID . "-" . $Counter . "'>" . $faq->post_title . "</a></div>";
184
 
185
+ $ReturnString .= "<div class='ufaq-faq-div ufaq-faq-display-style-" . $Display_Style . " id='ufaq-post-" . $faq->ID . "-" . $Counter . "' data-postid='" . $faq->ID . "-" . $Counter . "'>";
 
 
 
186
 
187
+ $ReturnString .= "<div class='ufaq-faq-title";
188
+ if ($FAQ_Toggle != "No") {$ReturnString .= " ufaq-faq-toggle";}
189
+ $ReturnString .= "' id='ufaq-title-" . $faq->ID . "' data-postid='" . $faq->ID . "-" . $Counter . "'>";
190
  $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-" . $faq->ID . "-" . $Counter . "'><span id='ewd-ufaq-post-symbol-" . $faq->ID . "-" . $Counter;
191
  if ($Display_All_Answers == "Yes") {$ReturnString .= "'> - </span></div>";}
192
  else {$ReturnString .= "'> + </span></div>";}
css/Admin.css CHANGED
@@ -213,5 +213,5 @@ margin:3px;
213
  display:inline;
214
  }
215
 
216
- /* Color Boxes */
217
  .ewd-ufaq-spectrum {margin-right: 6px;}
213
  display:inline;
214
  }
215
 
216
+ /* Color Pickers */
217
  .ewd-ufaq-spectrum {margin-right: 6px;}
js/Admin.js CHANGED
@@ -77,7 +77,6 @@ jQuery(document).ready(function() {
77
  else {jQuery(this).css('color', '#000000');}
78
  }
79
  });
80
- //on page load, check the value of each ewd-ufaq-spectrum field for brightness, and adjust accordingly
81
  });
82
 
83
  function EWD_UFAQ_hexToRgb(hex) {
77
  else {jQuery(this).css('color', '#000000');}
78
  }
79
  });
 
80
  });
81
 
82
  function EWD_UFAQ_hexToRgb(hex) {
readme.txt CHANGED
@@ -115,6 +115,9 @@ For more questions and support you can post in the support forum:
115
  8. All answers displayed in the 'list' FAQ mode
116
 
117
  == Changelog ==
 
 
 
118
  = 1.1.2 =
119
  - Added a color picker to the color fields on the styling options area
120
 
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
+
121
  = 1.1.2 =
122
  - Added a color picker to the color fields on the styling options area
123