Changeset 2441038
- Timestamp:
- 12/16/2020 08:35:59 PM (5 years ago)
- Location:
- bne-testimonials/trunk
- Files:
-
- 4 edited
-
bne-testimonials.php (modified) (2 diffs)
-
includes/lib/cmb2/includes/CMB2_Hookup.php (modified) (1 diff)
-
includes/shortcode-display.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bne-testimonials/trunk/bne-testimonials.php
r2314657 r2441038 2 2 /* 3 3 * Plugin Name: BNE Testimonials 4 * Version: 2.0. 64 * Version: 2.0.7 5 5 * Description: Display testimonials on any page or widget area as list or slider. Upgrade to PRO for additional layouts, themes, API, 5-star ratings and schema markup. 6 6 * Author: Kerry Kline 7 7 * Author URI: https://www.bnecreative.com 8 * Requires at least: 4.78 * Requires at least: 5.0 9 9 * Text Domain: bne-testimonials 10 10 * License: GPL2 11 11 12 Copyright (C) 2013-2019BNE Creative13 14 This program is free software; you can redistribute it and/or modify15 it under the terms of the GNU General Public License version 2,16 as published by the Free Software Foundation.17 18 You may NOT assume that you can use any other version of the GPL.19 20 This program is distributed in the hope that it will be useful,21 but WITHOUT ANY WARRANTY; without even the implied warranty of22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the23 GNU General Public License for more details.24 25 The license for this software can likely be found here:26 http://www.gnu.org/licenses/gpl-2.0.html12 Copyright (C) 2013-2020 BNE Creative 13 14 This program is free software; you can redistribute it and/or modify 15 it under the terms of the GNU General Public License version 2, 16 as published by the Free Software Foundation. 17 18 You may NOT assume that you can use any other version of the GPL. 19 20 This program is distributed in the hope that it will be useful, 21 but WITHOUT ANY WARRANTY; without even the implied warranty of 22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 GNU General Public License for more details. 24 25 The license for this software can likely be found here: 26 http://www.gnu.org/licenses/gpl-2.0.html 27 27 28 28 */ … … 37 37 38 38 39 /*40 * Constructor41 *42 * @since v2.043 *44 */39 /* 40 * Constructor 41 * 42 * @since v2.0 43 * 44 */ 45 45 function __construct() { 46 46 47 47 // Set Constants 48 define( 'BNE_TESTIMONIALS_VERSION', '2.0. 6' );48 define( 'BNE_TESTIMONIALS_VERSION', '2.0.7' ); 49 49 define( 'BNE_TESTIMONIALS_DIR', dirname( __FILE__ ) ); 50 50 define( 'BNE_TESTIMONIALS_URI', plugins_url( '', __FILE__ ) ); -
bne-testimonials/trunk/includes/lib/cmb2/includes/CMB2_Hookup.php
r2314657 r2441038 1 1 <?php 2 2 /** 3 * Handles hooking CMB2 forms/metaboxes into the post/attachement/user screens3 * Handles hooking CMB2 forms/metaboxes into the post/attachement/user screens 4 4 * and handles hooking in and saving those fields. 5 5 * -
bne-testimonials/trunk/includes/shortcode-display.php
r2314657 r2441038 39 39 * 40 40 * @since v2.0 41 * @updated v2.0. 641 * @updated v2.0.7 42 42 * 43 43 */ … … 109 109 if( $atts['category'] ) { 110 110 $taxonomy_args = array( 111 array(112 'taxonomy' => 'bne-testimonials-taxonomy',113 'field' => 'slug',114 'terms' => explode( ',', esc_html( $atts['category'] ) )115 )116 );111 array( 112 'taxonomy' => 'bne-testimonials-taxonomy', 113 'field' => 'slug', 114 'terms' => explode( ',', esc_html( $atts['category'] ) ) 115 ) 116 ); 117 117 } 118 118 … … 129 129 130 130 // Taxonomy Query 131 'tax_query' => $taxonomy_args131 'tax_query' => $taxonomy_args 132 132 ); 133 133 … … 183 183 wp_add_inline_script( 'flexslider', 184 184 'jQuery(document).ready(function($){ 185 $(window).on("load", function() { 186 $("#bne-slider-id-'.$random_id.' .bne-testimonial-slider").flexslider({ 187 animation: "'.$atts['animation'].'", 188 animationSpeed: '.$atts['animation_speed'].', 189 smoothHeight: '.$atts['smooth'].', 190 pauseOnHover: '.$atts['pause'].', 191 controlNav: '.$atts['nav'].', 192 directionNav: '.$atts['arrows'].', 193 slideshowSpeed: '.$atts['speed'].' 194 }); 185 $("#bne-slider-id-'.$random_id.' .bne-testimonial-slider").flexslider({ 186 animation: "'.$atts['animation'].'", 187 animationSpeed: '.$atts['animation_speed'].', 188 smoothHeight: '.$atts['smooth'].', 189 pauseOnHover: '.$atts['pause'].', 190 controlNav: '.$atts['nav'].', 191 directionNav: '.$atts['arrows'].', 192 slideshowSpeed: '.$atts['speed'].' 195 193 }); 196 194 });' -
bne-testimonials/trunk/readme.txt
r2371325 r2441038 4 4 Tags: testimonials, testimonial widget, random testimonials, flexslider, feedback, reviews 5 5 Requires at least: 5.0 6 Tested up to: 5. 57 Stable tag: 2.0. 66 Tested up to: 5.6 7 Stable tag: 2.0.7 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 92 92 == Changelog == 93 93 94 = 2.0.7 December 16, 2020 95 * Inline JS adjustment for the slider when using jQuery 3.5+ 96 94 97 = 2.0.6 May 29, 2020 95 98 * Fix: Updated the load function for jQuery v3.x when using the slider layout.
Note: See TracChangeset
for help on using the changeset viewer.