Plugin Directory

Changeset 1279600


Ignore:
Timestamp:
11/04/2015 04:03:16 PM (10 years ago)
Author:
ClickSold
Message:

cs-pkg-deploy.pl comitting clicksold vers (1.73) - Wed Nov 4 09:03:11 2015

Location:
clicksold-wordpress-plugin/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • clicksold-wordpress-plugin/trunk/views/feature-listing-widget-admin.php

    r1274153 r1279600  
    112112
    113113  <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>
    114119    <label for="<?php echo $this->get_field_id('arrows_on_slick_slider'); ?>">Show arrows on slider view (Only works for horizontal sliders)?</label><br/>
    115120      <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'); ?>">
     
    121126  <p>Please include units (px, em, %) to container width/height values</p>
    122127
    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>
    124131 
    125132  <div id="user_defined_listings_select" style="display:none;">
  • clicksold-wordpress-plugin/trunk/views/feature-listing-widget.php

    r1274153 r1279600  
    4646            maxCntHeight : "<?php echo $instance['maxCntHeight']; ?>",
    4747            listingPhotoContainer_style : "<?php echo $instance['listingPhotoContainer_style']; ?>",
     48            break_points_for_slick_slider : "<?php echo $instance['break_points_for_slick_slider']; ?>",
    4849            arrows_on_slick_slider : <?php echo $instance['arrows_on_slick_slider']; ?>
    4950        });
  • clicksold-wordpress-plugin/trunk/widgets.php

    r1277949 r1279600  
    13141314        if( !array_key_exists('maxCntHeight', $instance)) $instance['maxCntHeight'] = '';
    13151315        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'] = '';
    13161317       
    13171318        extract( $args );
     
    13681369        $instance['maxCntHeight'] = $new_instance['maxCntHeight'];
    13691370        $instance['listingPhotoContainer_style'] = $new_instance['listingPhotoContainer_style'];
     1371        $instance['break_points_for_slick_slider'] = $new_instance['break_points_for_slick_slider'];
    13701372       
    13711373        return $instance;
     
    14011403            'maxCntHeight' => '',
    14021404            'listingPhotoContainer_style' => '',
     1405            'break_points_for_slick_slider' => '',
    14031406            'useDefault' => true,
    14041407            'user_defined_listings' => array()
Note: See TracChangeset for help on using the changeset viewer.