Changeset 1279600
- Timestamp:
- 11/04/2015 04:03:16 PM (10 years ago)
- Location:
- clicksold-wordpress-plugin/trunk
- Files:
-
- 3 edited
-
views/feature-listing-widget-admin.php (modified) (2 diffs)
-
views/feature-listing-widget.php (modified) (1 diff)
-
widgets.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
clicksold-wordpress-plugin/trunk/views/feature-listing-widget-admin.php
r1274153 r1279600 112 112 113 113 <p> 114 <label for="<?php echo $this->get_field_id('break_points_for_slick_slider'); ?>">Responsive Breakpoints for slider (comma separated list eg: 1185 , 980)</label><br/> 115 <input class="widefat" type="text" id="<?php echo $this->get_field_id('break_points_for_slick_slider'); ?>" name="<?php echo $this->get_field_name('break_points_for_slick_slider'); ?>" value="<?php echo $instance['break_points_for_slick_slider']; ?>" /> 116 </p> 117 118 <p> 114 119 <label for="<?php echo $this->get_field_id('arrows_on_slick_slider'); ?>">Show arrows on slider view (Only works for horizontal sliders)?</label><br/> 115 120 <select class="widefat" id="<?php echo $this->get_field_id('arrows_on_slick_slider'); ?>" name="<?php echo $this->get_field_name('arrows_on_slick_slider'); ?>"> … … 121 126 <p>Please include units (px, em, %) to container width/height values</p> 122 127 123 <p>Note: If the Slider type widget is off please set the min/max container height to be just a bit bigger than the tallest slide.</p> 128 <p>Note: If the Slider type widget is off (shows partial slides) please set the min/max container height to be just a bit bigger than the tallest slide.</p> 129 130 <p>Note: For the slider type widget (horizontal) the break points are in pixes, must be in decreasing order and will remove one slide each time a break point is reached so that it looks correct on narrower displays.</p> 124 131 125 132 <div id="user_defined_listings_select" style="display:none;"> -
clicksold-wordpress-plugin/trunk/views/feature-listing-widget.php
r1274153 r1279600 46 46 maxCntHeight : "<?php echo $instance['maxCntHeight']; ?>", 47 47 listingPhotoContainer_style : "<?php echo $instance['listingPhotoContainer_style']; ?>", 48 break_points_for_slick_slider : "<?php echo $instance['break_points_for_slick_slider']; ?>", 48 49 arrows_on_slick_slider : <?php echo $instance['arrows_on_slick_slider']; ?> 49 50 }); -
clicksold-wordpress-plugin/trunk/widgets.php
r1277949 r1279600 1314 1314 if( !array_key_exists('maxCntHeight', $instance)) $instance['maxCntHeight'] = ''; 1315 1315 if( !array_key_exists('listingPhotoContainer_style', $instance)) $instance['listingPhotoContainer_style'] = ''; 1316 if( !array_key_exists('break_points_for_slick_slider', $instance)) $instance['break_points_for_slick_slider'] = ''; 1316 1317 1317 1318 extract( $args ); … … 1368 1369 $instance['maxCntHeight'] = $new_instance['maxCntHeight']; 1369 1370 $instance['listingPhotoContainer_style'] = $new_instance['listingPhotoContainer_style']; 1371 $instance['break_points_for_slick_slider'] = $new_instance['break_points_for_slick_slider']; 1370 1372 1371 1373 return $instance; … … 1401 1403 'maxCntHeight' => '', 1402 1404 'listingPhotoContainer_style' => '', 1405 'break_points_for_slick_slider' => '', 1403 1406 'useDefault' => true, 1404 1407 'user_defined_listings' => array()
Note: See TracChangeset
for help on using the changeset viewer.