Plugin Directory

Changeset 1781776


Ignore:
Timestamp:
12/06/2017 06:45:33 AM (8 years ago)
Author:
AdlPlugins
Message:

Released version 3.0.1

Location:
product-carousel-slider-for-woocommerce
Files:
43 added
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • product-carousel-slider-for-woocommerce/trunk/readme.txt

    r1781270 r1781776  
    1 === WooCommerce Product Carousel Slider ===
     1=== WooCommerce Product Carousel Slider ===
    22Contributors: AdlPlugins
    33Tags: woocommerce carousel, woocommerce slider, woocommerce product slider, woocommerce product carousel, woocommerce
    44Requires at least: 3.5
    55Tested up to: 4.9.1
    6 Stable tag: 3.0.0
     6Stable tag: 3.0.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6161*   5 different themes
    6262*   4 different header styles
    63 *   2 different styles for pagination
    6463*   2 different styles for navigation
    6564*   Scroll by per item or page
     
    8887== Changelog ==
    8988
     89= 3.0.0 =
     90* Fixed pagination issue
    9091= 3.0.0 =
    9192* Updated JavaScript code
  • product-carousel-slider-for-woocommerce/trunk/wpcs-custom-post.php

    r1781270 r1781776  
    127127
    128128
    129 
    130129        ?>
    131130        <div id="tabs-container">
     
    450449                                <div class="cmb-td">
    451450                                    <ul class="cmb2-radio-list cmb2-list">
    452                                         <li><input type="radio" class="cmb2-option" name="wpcs[pagination]" id="wpcs_pagination1" value="false" <?php if(empty($pagination) || 'false' !== $pagination) { echo 'checked'; } ?>> <label for="wpcs_pagination1"><?php esc_html_e('No', WPCS_TEXTDOMAIN); ?></label></li>
    453                                         <li><input type="radio" class="cmb2-option" name="wpcs[pagination]" id="wpcs_pagination2" value="true" <?php if (!empty($pagination)) { checked('false', $pagination); } ?>> <label for="wpcs_pagination2"><?php esc_html_e('Yes', WPCS_TEXTDOMAIN); ?></label></li>
     451                                        <li><input type="radio" class="cmb2-option" name="wpcs[pagination]" id="wpcs_pagination1" value="false" <?php if(empty($pagination) || 'false' === $pagination) { echo 'checked'; } ?>> <label for="wpcs_pagination1"><?php esc_html_e('No', WPCS_TEXTDOMAIN); ?></label></li>
     452                                        <li><input type="radio" class="cmb2-option" name="wpcs[pagination]" id="wpcs_pagination2" value="true" <?php if (!empty($pagination)) { checked('true', $pagination); } ?>> <label for="wpcs_pagination2"><?php esc_html_e('Yes', WPCS_TEXTDOMAIN); ?></label></li>
    454453                                    </ul>
    455454                                    <p class="cmb2-metabox-description"><?php esc_html_e('Show pagination or not', WPCS_TEXTDOMAIN); ?></p>
  • product-carousel-slider-for-woocommerce/trunk/wpcs-main.php

    r1781270 r1781776  
    44Plugin URI:  https://adlplugins.com/plugin/woocommerce-product-carousel-slider
    55Description: This plugin allows you to easily create WooCommerce product carousel slider. It is fully responsive and mobile friendly carousel slider which comes with lots of features.
    6 Version:     3.0.0
     6Version:     3.0.1
    77Author:      ADL Plugins
    88Author URI:  http://adlplugins.com
     
    8888     public function enqueue_front_scripts_styles()
    8989     {
    90          wp_register_style( 'wpcs-owl-carousel-style', WPCS_PLUGIN_URI . '/css/owl.carousel.css' );
    91          wp_register_style( 'wpcs-owl-theme-style', WPCS_PLUGIN_URI . '/css/owl.theme.css' );
    92          wp_register_style( 'wpcs-owl-transitions', WPCS_PLUGIN_URI . '/css/owl.transitions.css' );
     90         wp_register_style( 'wpcs-owl-carousel-style', WPCS_PLUGIN_URI . '/css/owl.carousel.min.css', false, '2.2.1' );
     91         wp_register_style( 'wpcs-owl-theme-style', WPCS_PLUGIN_URI . '/css/owl.theme.default.css', false, '2.2.1' );
    9392         wp_register_style( 'wpcs-font-awesome', WPCS_PLUGIN_URI . '/css/font-awesome.min.css' );
    9493         wp_register_style( 'wpcs-custom-style', WPCS_PLUGIN_URI . '/css/wpcs-styles.css' );
    9594         wp_register_script( 'wpcs-owl-carousel-js', WPCS_PLUGIN_URI . '/js/owl.carousel.min.js', array('jquery'),'2.2.1', true );
    96          wp_register_script( 'wpcs-custom-js', WPCS_PLUGIN_URI . '/js/custom.js', array('jquery'),'1.3.3', true );
     95         wp_register_script( 'wpcs-custom-js', WPCS_PLUGIN_URI . '/js/custom.js', array('jquery'),'3.0', true );
    9796     }
    9897
  • product-carousel-slider-for-woocommerce/trunk/wpcs-shortcodes.php

    r1781270 r1781776  
    3434            ), $atts);
    3535
     36        wp_enqueue_script( 'wpcs-owl-carousel-js' );
     37        wp_enqueue_script( 'wpcs-custom-js' );
    3638        wp_enqueue_style( 'wpcs-owl-carousel-style' );
    3739        wp_enqueue_style( 'wpcs-owl-theme-style' );
    38         wp_enqueue_style( 'wpcs-owl-transitions' );
    3940        wp_enqueue_style( 'wpcs-font-awesome' );
    4041        wp_enqueue_style( 'wpcs-custom-style' );
    41         wp_enqueue_script( 'wpcs-owl-carousel-js' );
    42         wp_enqueue_script( 'wpcs-custom-js' );
     42
    4343
    4444        $post_id = $atts['id'];
     
    204204            <?php } ?>
    205205
    206             <div id="woo-product-carousel-wrapper-<?php echo $rand_ID; ?>" class="owl-carousel">
     206            <div id="woo-product-carousel-wrapper-<?php echo $rand_ID; ?>" class="owl-carousel owl-theme">
    207207                <?php while ( $loop->have_posts() ) : $loop->the_post(); global $post, $product; ?>
    208208                    <div class="item">
     
    277277                    rtl:<?= is_rtl() ? 'true': 'false'; ?>,
    278278                    slideBy:<?= (!empty( $spp) && 'true' === $spp) ? '\'page\'' : ((!empty( $scrol_dir) && 'right'== $scrol_dir) ? -1 : 1); ?>,
    279                     nav:<?= ( !empty( $dna) && 'true' == $dna ) ? 'true':'false'; ?>,
     279                    nav:false, // we are using custom navigation arrow, so lets turn the default navigation off
    280280                    navText:['‹','›'],
    281281                    smartSpeed: 1000, // it smooths the transition, and it should be lower than the speed of the auto play
Note: See TracChangeset for help on using the changeset viewer.