Version Description
- Global post variable is now reset after the FAQs query loop
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.2.11 |
Comparing to | |
See all releases |
Code changes from version 1.2.10 to 1.2.11
- Functions/EWD_UFAQ_Version_Update.php +1 -1
- Main.php +1 -1
- Shortcodes/DisplayFAQs.php +2 -0
- readme.txt +3 -0
Functions/EWD_UFAQ_Version_Update.php
CHANGED
@@ -45,7 +45,7 @@ function EWD_UFAQ_Version_Update_Box() {
|
|
45 |
<h3 class='hndle'><span><?php _e("Thank You!", 'EWD_UFAQ') ?></span></h3>
|
46 |
<div class="inside">
|
47 |
<?php if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate FAQs 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>
|
48 |
-
<?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 1.2.
|
49 |
|
50 |
<?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>
|
51 |
<?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 } */ ?>
|
45 |
<h3 class='hndle'><span><?php _e("Thank You!", 'EWD_UFAQ') ?></span></h3>
|
46 |
<div class="inside">
|
47 |
<?php if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate FAQs 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>
|
48 |
+
<?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 1.2.11!", "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 } ?>
|
49 |
|
50 |
<?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>
|
51 |
<?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.11
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
Shortcodes/DisplayFAQs.php
CHANGED
@@ -323,6 +323,8 @@ function Display_FAQs($atts) {
|
|
323 |
|
324 |
$ReturnString = str_replace("%LIST_HEADER_PLACEHOLDER%", $HeaderString, $ReturnString);
|
325 |
|
|
|
|
|
326 |
if ($only_titles == "Yes") {
|
327 |
$UniqueTitles = array_unique($TitlesArray);
|
328 |
$TitlesString = "";
|
323 |
|
324 |
$ReturnString = str_replace("%LIST_HEADER_PLACEHOLDER%", $HeaderString, $ReturnString);
|
325 |
|
326 |
+
wp_reset_postdata();
|
327 |
+
|
328 |
if ($only_titles == "Yes") {
|
329 |
$UniqueTitles = array_unique($TitlesArray);
|
330 |
$TitlesString = "";
|
readme.txt
CHANGED
@@ -146,6 +146,9 @@ Video 3 - FAQs Ordering
|
|
146 |
9. All answers displayed in the 'list' FAQ mode
|
147 |
|
148 |
== Changelog ==
|
|
|
|
|
|
|
149 |
= 1.2.10 =
|
150 |
- Should make the plugin compatible with a couple of page builder plugins
|
151 |
|
146 |
9. All answers displayed in the 'list' FAQ mode
|
147 |
|
148 |
== Changelog ==
|
149 |
+
= 1.2.11 =
|
150 |
+
- Global post variable is now reset after the FAQs query loop
|
151 |
+
|
152 |
= 1.2.10 =
|
153 |
- Should make the plugin compatible with a couple of page builder plugins
|
154 |
|