Version Description
- Should make the plugin compatible with a couple of page builder plugins
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.2.10 |
Comparing to | |
See all releases |
Code changes from version 1.2.9 to 1.2.10
- Functions/EWD_UFAQ_Version_Update.php +1 -1
- Main.php +1 -1
- Shortcodes/DisplayFAQs.php +4 -3
- 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.10!", "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.10
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
Shortcodes/DisplayFAQs.php
CHANGED
@@ -177,7 +177,7 @@ function Display_FAQs($atts) {
|
|
177 |
if ($search_string != "") {$params['s'] = $search_string;}
|
178 |
if ($orig_order_setting == "popular") {$params['meta_key'] = 'ufaq_view_count';}
|
179 |
if ($orig_order_setting == "set_order") {$params['meta_key'] = 'ufaq_order';}
|
180 |
-
$
|
181 |
|
182 |
if ($Category != "EWD_UFAQ_ALL_CATEGORIES" and sizeOf($faqs) > 0) {
|
183 |
$ReturnString .= "<div class='ufaq-faq-category'>";
|
@@ -196,7 +196,8 @@ function Display_FAQs($atts) {
|
|
196 |
$HeaderString .= "</div>";
|
197 |
}
|
198 |
|
199 |
-
|
|
|
200 |
$Category_Terms = wp_get_post_terms($faq->ID, 'ufaq-category');
|
201 |
$Tag_Terms = wp_get_post_terms($faq->ID, 'ufaq-tag');
|
202 |
|
@@ -309,7 +310,7 @@ function Display_FAQs($atts) {
|
|
309 |
$ReturnString .= "</div>";
|
310 |
|
311 |
$Counter++;
|
312 |
-
|
313 |
|
314 |
if ($Category != "EWD_UFAQ_ALL_CATEGORIES" and sizeOf($faqs) > 0) {
|
315 |
$ReturnString .= "</div>";
|
177 |
if ($search_string != "") {$params['s'] = $search_string;}
|
178 |
if ($orig_order_setting == "popular") {$params['meta_key'] = 'ufaq_view_count';}
|
179 |
if ($orig_order_setting == "set_order") {$params['meta_key'] = 'ufaq_order';}
|
180 |
+
$FAQ_Query = new WP_Query($params);
|
181 |
|
182 |
if ($Category != "EWD_UFAQ_ALL_CATEGORIES" and sizeOf($faqs) > 0) {
|
183 |
$ReturnString .= "<div class='ufaq-faq-category'>";
|
196 |
$HeaderString .= "</div>";
|
197 |
}
|
198 |
|
199 |
+
while ( $FAQ_Query->have_posts() ): $FAQ_Query->the_post(); global $post;
|
200 |
+
$faq = get_post();
|
201 |
$Category_Terms = wp_get_post_terms($faq->ID, 'ufaq-category');
|
202 |
$Tag_Terms = wp_get_post_terms($faq->ID, 'ufaq-tag');
|
203 |
|
310 |
$ReturnString .= "</div>";
|
311 |
|
312 |
$Counter++;
|
313 |
+
endwhile;
|
314 |
|
315 |
if ($Category != "EWD_UFAQ_ALL_CATEGORIES" and sizeOf($faqs) > 0) {
|
316 |
$ReturnString .= "</div>";
|
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.9 =
|
150 |
- If there are no tags or categories for a particular FAQ, they should now be hidden
|
151 |
|
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 |
+
|
152 |
= 1.2.9 =
|
153 |
- If there are no tags or categories for a particular FAQ, they should now be hidden
|
154 |
|