Version Description
- Added in WPML support for the main shortcodes
- Fixed an error with a missing ID tag
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
- Functions/EWD_UFAQ_Version_Update.php +1 -1
- Main.php +1 -1
- Shortcodes/DisplayFAQs.php +3 -2
- readme.txt +4 -0
Functions/EWD_UFAQ_Version_Update.php
CHANGED
@@ -43,7 +43,7 @@ function EWD_UFAQ_Version_Update_Box() {
|
|
43 |
<h3 class='hndle'><span><?php _e("Thank You!", 'EWD_UFAQ') ?></span></h3>
|
44 |
<div class="inside">
|
45 |
<?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>
|
46 |
-
<?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 1.2.
|
47 |
|
48 |
<?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>
|
49 |
<?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 } */ ?>
|
43 |
<h3 class='hndle'><span><?php _e("Thank You!", 'EWD_UFAQ') ?></span></h3>
|
44 |
<div class="inside">
|
45 |
<?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>
|
46 |
+
<?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 1.2.3!", "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 } ?>
|
47 |
|
48 |
<?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>
|
49 |
<?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 } */ ?>
|
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.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.2.3
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
Shortcodes/DisplayFAQs.php
CHANGED
@@ -170,7 +170,8 @@ function Display_FAQs($atts) {
|
|
170 |
'post_type' => 'ufaq',
|
171 |
'orderby' => $orderby,
|
172 |
'order' => $order,
|
173 |
-
'tax_query' => $tax_query_array
|
|
|
174 |
);
|
175 |
unset($tax_query_array);
|
176 |
if ($search_string != "") {$params['s'] = $search_string;}
|
@@ -215,7 +216,7 @@ function Display_FAQs($atts) {
|
|
215 |
$TitlesArray[] = json_encode($faq->post_title);
|
216 |
$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>";
|
217 |
|
218 |
-
$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 . "'>";
|
219 |
|
220 |
$ReturnString .= "<div class='ufaq-faq-title";
|
221 |
if ($FAQ_Toggle != "No") {$ReturnString .= " ufaq-faq-toggle";}
|
170 |
'post_type' => 'ufaq',
|
171 |
'orderby' => $orderby,
|
172 |
'order' => $order,
|
173 |
+
'tax_query' => $tax_query_array,
|
174 |
+
'suppress_filters' => false
|
175 |
);
|
176 |
unset($tax_query_array);
|
177 |
if ($search_string != "") {$params['s'] = $search_string;}
|
216 |
$TitlesArray[] = json_encode($faq->post_title);
|
217 |
$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>";
|
218 |
|
219 |
+
$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 . "'>";
|
220 |
|
221 |
$ReturnString .= "<div class='ufaq-faq-title";
|
222 |
if ($FAQ_Toggle != "No") {$ReturnString .= " ufaq-faq-toggle";}
|
readme.txt
CHANGED
@@ -142,6 +142,10 @@ Video 3 - FAQs Ordering
|
|
142 |
9. All answers displayed in the 'list' FAQ mode
|
143 |
|
144 |
== Changelog ==
|
|
|
|
|
|
|
|
|
145 |
= 1.2.2 =
|
146 |
- Added the ability to have multiple widgets or shortcodes on a page
|
147 |
- Fixed a small error with the popular FAQs shortcode
|
142 |
9. All answers displayed in the 'list' FAQ mode
|
143 |
|
144 |
== Changelog ==
|
145 |
+
= 1.2.3 =
|
146 |
+
- Added in WPML support for the main shortcodes
|
147 |
+
- Fixed an error with a missing ID tag
|
148 |
+
|
149 |
= 1.2.2 =
|
150 |
- Added the ability to have multiple widgets or shortcodes on a page
|
151 |
- Fixed a small error with the popular FAQs shortcode
|