Changeset 1978852
- Timestamp:
- 11/22/2018 02:26:12 PM (7 years ago)
- Location:
- wpstudio-testimonial-slider/trunk
- Files:
-
- 5 edited
-
genesis-testimonials.php (modified) (1 diff)
-
inc/gts-admin.php (modified) (3 diffs)
-
inc/gts-frontend.php (modified) (2 diffs)
-
readme.md (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpstudio-testimonial-slider/trunk/genesis-testimonials.php
r1956479 r1978852 4 4 * Plugin URI: http://wpstud.io/plugins 5 5 * Description: The Genesis Testimonials Slider is a simple-to-use plugin for adding Testimonials to your Genesis Theme, using a shortcode or a widget. 6 * Version: 1. 2.66 * Version: 1.3 7 7 * Author: Frank Schrijvers, WPStudio 8 8 * Author URI: http://www.wpstud.io -
wpstudio-testimonial-slider/trunk/inc/gts-admin.php
r1834420 r1978852 41 41 'gts_loop' => 'yes', 42 42 'gts_effect' => 'slide', 43 'gts_order' => 'no', 43 44 'gts_pause' => 'yes', 44 45 'gts_speed' => '6000', … … 64 65 'gts_controls', 65 66 'gts_effect', 67 'gts_order', 66 68 'gts_loop', 67 69 'gts_number', … … 117 119 118 120 <p> 121 <label style="width: 180px; margin: 0 40px 0 0; font-weight: bold; display: inline-block;" for="<?php echo $this->get_field_name( 'gts_order' ); ?>"><?php _e( 'Show random:', 'gts-widget' ); ?></label> 122 <select name="<?php echo $this->get_field_name( 'gts_order' ); ?>"> 123 <?php 124 $positions = array( 'yes', 'no' ); 125 foreach ( $positions as $position ) { 126 echo '<option value="' . $position . '"' . selected( $this->get_field_value( 'gts_order' ), '' . $position ) . '>' . $position . '</option>'; 127 } 128 ?> 129 </select> 130 131 </p> 132 133 <p> 119 134 <label style="width: 180px; margin: 0 40px 0 0; font-weight: bold; display: inline-block;" for="<?php echo $this->get_field_name( 'gts_autoplay' ); ?>"><?php _e( 'Auto play:', 'gts-widget' ); ?></label> 120 135 <select name="<?php echo $this->get_field_name( 'gts_autoplay' ); ?>"> -
wpstudio-testimonial-slider/trunk/inc/gts-frontend.php
r1834429 r1978852 12 12 echo '<ul class="testimonials-list">'; 13 13 14 if ( genesis_get_option( 'gts_order', 'gts-settings' ) === 'yes' ) { 15 16 $orderby = 'rand'; 17 18 } else { 19 20 $orderby = 'date'; 21 } 22 23 14 24 $loop = new WP_Query( array( 15 25 'post_type' => 'Testimonial', 16 26 'posts_per_page' => -1, 27 'orderby' => $orderby, 17 28 ) ); 18 29 … … 21 32 */ 22 33 function gts_markup_open() { 34 23 35 echo '<li itemprop="review" itemscope itemtype="http://schema.org/Review">'; 36 24 37 } 25 38 -
wpstudio-testimonial-slider/trunk/readme.md
r1956479 r1978852 4 4 * Tags: testimonials, testimonial, testimonials plugin, widget, genesis, slider, Genesis Framework, genesiswp 5 5 * Requires at least: 3.6 6 * Tested up to: 4.9.47 * Stable tag: 1. 2.66 * Tested up to: 5.0 7 * Stable tag: 1.3 8 8 * License: GPLv2 or later 9 9 * License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 60 60 61 61 ## Changelog 62 63 **1.3** 64 - New: Add option to show testimonials in random order. 62 65 63 66 **1.2.6** -
wpstudio-testimonial-slider/trunk/readme.txt
r1956479 r1978852 3 3 Tags: testimonials, testimonial, testimonials plugin, widget, genesis, slider, Genesis Framework, genesiswp 4 4 Requires at least: 3.6 5 Tested up to: 4.9.86 Stable tag: 1. 2.65 Tested up to: 5.0 6 Stable tag: 1.3 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 60 60 == Changelog == 61 61 62 = 1.3 = 63 * New: Add option to show testimonials in random order. 64 62 65 = 1.2.6 = 63 66 * Bug fix: fixed check wich causes a error 500 if switched to an none Genesis theme.
Note: See TracChangeset
for help on using the changeset viewer.