Changeset 3097917
- Timestamp:
- 06/05/2024 11:22:50 AM (22 months ago)
- Location:
- wp-testimonial-widget/trunk
- Files:
-
- 5 edited
-
category.php (modified) (1 diff)
-
functions.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
swp-testimonial.php (modified) (1 diff)
-
testimonial_widget.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-testimonial-widget/trunk/category.php
r1396579 r3097917 227 227 228 228 $('.category_type').on('change' , function(){ 229 var src = '<?php echo CHILD_IMG;?>category';229 var src = '<?php if(defined('CHILD_IMG') && CHILD_IMG !== ''){ echo CHILD_IMG; } ?>category'; 230 230 var category = $('.category_key').val(); 231 231 $('.category_img').attr("src", src+category+'.png'); -
wp-testimonial-widget/trunk/functions.php
r1746365 r3097917 91 91 92 92 //Enable the widget of the plugin. 93 add_action('widgets_init', create_function('', 'return register_widget("SWP_Testimonial_Widget");')); 93 //add_action('widgets_init', create_function('', 'return register_widget("SWP_Testimonial_Widget");')); 94 95 96 add_action ( 'widgets_init', 'SWP_Testimonial_Widget' ); 97 function SWP_Testimonial_Widget() { 98 return register_widget('SWP_Testimonial_Widget'); 99 } 100 94 101 95 102 /** -
wp-testimonial-widget/trunk/readme.txt
r1746366 r3097917 4 4 Requires at least: 4.0 5 5 Requires PHP : 5.5 6 Tested up to: 4.87 Stable tag: 3. 06 Tested up to: 6.5 7 Stable tag: 3.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 65 65 == Changelog == 66 66 67 = 3.1 = 68 * Compatibility: 69 * Compatible with WordPress latest version 6.5.3 70 * Bug Fixes 71 67 72 = 3.0 = 68 73 * Replaced old slider with 'slick' slider. -
wp-testimonial-widget/trunk/swp-testimonial.php
r1746365 r3097917 5 5 Description: This plugin is for creating testimonials and display using Widget & Shortcodes on front end. 6 6 Author: Stark Digital 7 Version: 3. 07 Version: 3.1 8 8 Company: Stark Digital 9 9 Author URI: http://www.starkdigital.net -
wp-testimonial-widget/trunk/testimonial_widget.php
r1746365 r3097917 5 5 class SWP_Testimonial_Widget extends WP_Widget { 6 6 7 function SWP_Testimonial_Widget() { 7 // public function SWP_Testimonial_Widget() { 8 // parent::__construct(false,$name="Testimonial Widget",array('description'=>'Display Testimonials')); 9 // } 10 function __construct() { 11 // Instantiate the parent object. 8 12 parent::__construct(false,$name="Testimonial Widget",array('description'=>'Display Testimonials')); 9 13 } … … 124 128 $category = 'all'; 125 129 } 126 130 127 131 if(!empty($new_instance['fields'])) { 128 132 $fields = implode(",",$new_instance['fields']);
Note: See TracChangeset
for help on using the changeset viewer.