Version Description
- Fixed an error where scroll to top would take a visitor to the first instance of an FAQ if it was on the page twice
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
- Functions/EWD_UFAQ_Version_Update.php +1 -1
- Functions/EWD_UFAQ_WooCommerce_Tab.php +1 -1
- Main.php +1 -1
- js/ewd-ufaq-js.js +2 -2
- readme.txt +4 -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.3.
|
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.3.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 } ?>
|
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 } */ ?>
|
Functions/EWD_UFAQ_WooCommerce_Tab.php
CHANGED
@@ -8,7 +8,7 @@ function EWD_UFAQ_Woo_FAQ_Tab( $tabs ) {
|
|
8 |
|
9 |
$WooCommerce_FAQs = get_option("EWD_UFAQ_WooCommerce_FAQs");
|
10 |
|
11 |
-
if ($Use_Product == "Yes") {$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 |
|
8 |
|
9 |
$WooCommerce_FAQs = get_option("EWD_UFAQ_WooCommerce_FAQs");
|
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 |
|
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.3.
|
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.3.3
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
js/ewd-ufaq-js.js
CHANGED
@@ -123,8 +123,8 @@ jQuery(document).ready(function() {
|
|
123 |
if (typeof(faq_scroll) == "undefined") {faq_scroll = false;}
|
124 |
if (faq_scroll) {
|
125 |
jQuery('.ufaq-faq-title').click(function(){
|
126 |
-
var faqID = jQuery(this).attr('id');
|
127 |
-
jQuery('html, body').animate({scrollTop: jQuery(
|
128 |
});
|
129 |
}
|
130 |
|
123 |
if (typeof(faq_scroll) == "undefined") {faq_scroll = false;}
|
124 |
if (faq_scroll) {
|
125 |
jQuery('.ufaq-faq-title').click(function(){
|
126 |
+
var faqID = jQuery(this).attr('id');
|
127 |
+
jQuery('html, body').animate({scrollTop: jQuery(this).offset().top -80}, 100);
|
128 |
});
|
129 |
}
|
130 |
|
readme.txt
CHANGED
@@ -8,6 +8,7 @@ License URI:http://www.gnu.org/licenses/gpl-3.0.html
|
|
8 |
|
9 |
A simple FAQ plugin that lets you create, order and publicize FAQs, insert 3 styles of FAQs on a page or WooCommerce product, and use AJAX FAQ search using FAQ shortcodes
|
10 |
|
|
|
11 |
== Description ==
|
12 |
|
13 |
<a href='http://www.etoilewebdesign.com/ultimate-faq-demo/'>FAQ Demo</a>
|
@@ -146,6 +147,9 @@ Video 3 - FAQs Ordering
|
|
146 |
9. All answers displayed in the 'list' FAQ mode
|
147 |
|
148 |
== Changelog ==
|
|
|
|
|
|
|
149 |
= 1.3.2 =
|
150 |
- Fixed an error where view count wasn't being counted when FAQs were clicked to expand
|
151 |
|
8 |
|
9 |
A simple FAQ plugin that lets you create, order and publicize FAQs, insert 3 styles of FAQs on a page or WooCommerce product, and use AJAX FAQ search using FAQ shortcodes
|
10 |
|
11 |
+
|
12 |
== Description ==
|
13 |
|
14 |
<a href='http://www.etoilewebdesign.com/ultimate-faq-demo/'>FAQ Demo</a>
|
147 |
9. All answers displayed in the 'list' FAQ mode
|
148 |
|
149 |
== Changelog ==
|
150 |
+
= 1.3.3 =
|
151 |
+
- Fixed an error where scroll to top would take a visitor to the first instance of an FAQ if it was on the page twice
|
152 |
+
|
153 |
= 1.3.2 =
|
154 |
- Fixed an error where view count wasn't being counted when FAQs were clicked to expand
|
155 |
|