WordPress.org

Plugin Directory

Changeset 1649839


Ignore:
Timestamp:
05/02/17 17:18:55 (5 months ago)
Author:
manikmist09
Message:

releasing version 2.0.2

Location:
woo-category-slider-by-pluginever
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • woo-category-slider-by-pluginever/tags/2.0.2/readme.txt

    r1603349 r1649839  
    33Tags: WooCommerce, Slider, Category Slider, Slider, Category Details, woo, commerce, e-commerce, ecommerce, gallery, pluginever, product, shop, WooCommerce Category, WooCommerce Slider, WooCommerce Category Slider,WooCommerce Product Category Slider 
    44Requires at least: 3.1 
    5 Tested up to: 4.7 
    6 Stable tag: 2.0.1 
     5Tested up to: 4.7.4 
     6Stable tag: 2.0.2 
    77License: GPLv2 or later 
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html 
     
    1212== Description == 
    1313 
    14 Woo Category Slider is a WordPress plugin & is designed for WooCommerce powered e-commerce store. Woo Category Slider shows the categories/subcategories of an e-commerce store in a nice slider, from there a visitor can easily navigate to their preferred product’s section without struggling to find those and increase the converting percentage of the visitors to customers. 
     14Woo Category Slider - WooCommerce Category Slider is a WordPress plugin & is designed for WooCommerce powered e-commerce store. Woo Category Slider shows the categories/subcategories of an e-commerce store in a nice slider, from there a visitor can easily navigate to their preferred product’s section without struggling to find those and increase the converting percentage of the visitors to customers. 
    1515 
    1616>[DEMO](http://www.demo.pluginever.com/woo-category-slider-demo-wordpress-plugin/) |  [Get The PRO Version](https://www.pluginever.com/plugins/woo-category-slider/)  |  [Support](https://www.pluginever.com/support/)  |  [Documentation ](https://www.pluginever.com/docs/woo-category-slider-plugin-documentation/) 
     
    2222* WooCommerce Product Category Slider 
    2323* Product Subcategory Slider 
     24* Ability to Choose All or Selected Categories 
    2425* Responsive Slider 
    2526* Slider Autoplay Enable/Disable 
     
    3940 
    4041### PRO Features 
    41 * 10+ Eye Catching Design 
    42 * Ability to Change Almost Everything 
    43 * Custom Content Color 
    44 * Custom Content Background Color 
    45 * Different Button Type Transparent/Solid 
    46 * Custom Button Color 
    47 * Custom Button Background Color 
     42* Intuitive Shortcode Builder 
     43* 20+ Demo style Ready to start 
     44* 3+ Custom Image Size Support 
     45* 9+ Different Styles 
     46* 9+ Interactive Hover Animation 
     47* Custom Color Support 
     48* Responsive Slider 
     49* Customize Visibility of Any Element 
     50* 2 Button Style 
     51* 4 Navigation Position 
     52* Autoplay Slider 
     53* Custom Slide Number 
     54* Custom Speed Support 
    4855* Custom Class Support 
    49 * Custom Autoplay Speed 
     56* Custom Button Text 
     57* Custom Order 
     58* Auto Upgrade to Newer Version 
     59* SEO Friendly 
     60* WooCommerce Product Category Slider 
     61* WooCommerce Product Sub Category Slider 
    5062* Slider Loop Support 
    5163* RTL Support 
    5264* Center Mode Support 
    53 * Custom Image Size Support (small/medium/large) 
    54 * Custom Category Order 
     65* Light Weight 
     66* Fast Loading 
     67* Fast Support 
    5568* And Many More 
    5669 
    5770>[Get Woo Category Slider PRO ](https://www.pluginever.com/plugins/woo-category-slider/) 
    5871 
     72[youtube http://www.youtube.com/watch?v=mQ-XRvIE4xs] 
     73 
     74A WordPress Plugin By https://www.pluginever.com/ 
    5975 
    6076== Installation == 
     
    8096 
    8197== Changelog == 
     98= 2.2.0 = 
     99* Added custom category selection 
    82100= 1.1.0 = 
    83101* Bug Fixed 
     
    85103= 1.0 = 
    86104* Initial release 
    87  
  • woo-category-slider-by-pluginever/tags/2.0.2/woo-category-slider.php

    r1603349 r1649839  
    4747        add_action('wp_enqueue_scripts', array($this, 'register_woo_cat_slider_pro_scripts'),10); 
    4848        add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array( __CLASS__, 'plugin_action_links' ) ); 
     49        add_filter( 'plugin_row_meta', array($this, 'ts_plugin_meta_links'), 10, 2 ); 
    4950    } 
    5051 
    5152 
    5253    public function includes(){ 
     54 
    5355    } 
    5456 
     
    6163    public static function plugin_action_links($links){ 
    6264        $action_links = array( 
    63             'Documentation' => '<a target="_blank" href="https://www.pluginever.com/docs/woo-category-slider-plugin-documentation/" title="' . esc_attr( __( 'View WooCommerce Settings', 'woocommerce' ) ) . '">' . __( 'Documentation', 'woocommerce' ) . '</a>', 
     65            'Documentation' => '<a target="_blank" href="https://www.pluginever.com/docs/woo-category-slider-plugin-documentation/" title="' . esc_attr( __( 'View WooCommerce Settings', 'woocatlider' ) ) . '">' . __( 'Documentation', 'woocatlider' ) . '</a>', 
    6466        ); 
    6567 
    6668        return array_merge( $action_links, $links ); 
     69    } 
     70 
     71    function ts_plugin_meta_links( $links, $file ) { 
     72        $plugin = plugin_basename(__FILE__); 
     73        // create link 
     74        if ( $file == $plugin ) { 
     75            return array_merge( 
     76                $links, 
     77                array( '<a style="color:red;" target="_blank" href="https://www.pluginever.com/plugins/woo-category-slider-pro/" title="' . esc_attr( __( 'Buy Pro version', 'woocatlider' ) ) . '">' . __( 'Buy Pro Version', 'woocatlider' ) . '</a>' ) 
     78            ); 
     79        } 
     80        return $links; 
    6781    } 
    6882 
     
    91105            'nav_position'  => 'top-right', 
    92106            'button_text'  => 'Browse', 
    93             'category'  => 'all', 
     107            'categories'  => 'all', 
    94108            'parent_only'  => 'false', 
    95109            'has_image_hover'  => 'true', 
     
    109123        $dummy_image = plugins_url('/assets/images/dummy.jpg', __FILE__); 
    110124 
    111  
    112         if ( $params['category'] == 'all' ) { 
    113         } elseif ( is_numeric( $params['category'] ) ) { 
    114             $main_args['child_of'] = esc_attr( $params['category'] ); 
     125        $main_args['order'] = 'ASC'; 
     126        $main_args['orderby'] = 'title'; 
     127 
     128 
     129        $terms = array(); 
     130        if ( $params['categories'] == 'all' ) { 
     131            $terms = get_terms( 'product_cat', $main_args ); 
     132            if ( $params['parent_only'] == "true" ) { 
     133                $terms = array_filter( $terms, function ( $terms ) { 
     134                    if ( ! $terms->parent ) { 
     135                        return $terms; 
     136                    } 
     137 
     138                    return false; 
     139                } ); 
     140            } 
     141 
    115142        } else { 
    116             $term = get_term_by( 'name', esc_attr( $params['category'] ), 'product_cat', OBJECT ); 
    117             if ( $term ) { 
    118                 $main_args['child_of'] = $term->term_id; 
     143 
     144            $params['categories'] = explode(',', $params['categories']); 
     145 
     146 
     147            if ( ! is_array( $params['categories'] ) ) { 
     148                return; 
    119149            } 
    120         } 
    121  
    122  
    123         $product_categories = get_terms( 'product_cat', $main_args ); 
     150 
     151            foreach ( $params['categories'] as $cat ) { 
     152                $term             = get_term_by( 'slug', trim($cat), 'product_cat', OBJECT ); 
     153                $args['child_of'] = $term->term_id; 
     154                $terms[]          = $term; 
     155 
     156            } 
     157 
     158        } 
     159 
     160 
     161        $product_categories = $terms; 
    124162        // remove category which has no  featured image 
    125163 
     
    169207            $classes[] = 'has-hover-effect'; 
    170208        } 
    171          
     209 
    172210        $id = 'woo-cat-slider-' . strtolower( wp_generate_password( 5, false, false ) ); 
    173211 
  • woo-category-slider-by-pluginever/trunk/readme.txt

    r1603349 r1649839  
    33Tags: WooCommerce, Slider, Category Slider, Slider, Category Details, woo, commerce, e-commerce, ecommerce, gallery, pluginever, product, shop, WooCommerce Category, WooCommerce Slider, WooCommerce Category Slider,WooCommerce Product Category Slider 
    44Requires at least: 3.1 
    5 Tested up to: 4.7 
    6 Stable tag: 2.0.1 
     5Tested up to: 4.7.4 
     6Stable tag: 2.0.2 
    77License: GPLv2 or later 
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html 
     
    1212== Description == 
    1313 
    14 Woo Category Slider is a WordPress plugin & is designed for WooCommerce powered e-commerce store. Woo Category Slider shows the categories/subcategories of an e-commerce store in a nice slider, from there a visitor can easily navigate to their preferred product’s section without struggling to find those and increase the converting percentage of the visitors to customers. 
     14Woo Category Slider - WooCommerce Category Slider is a WordPress plugin & is designed for WooCommerce powered e-commerce store. Woo Category Slider shows the categories/subcategories of an e-commerce store in a nice slider, from there a visitor can easily navigate to their preferred product’s section without struggling to find those and increase the converting percentage of the visitors to customers. 
    1515 
    1616>[DEMO](http://www.demo.pluginever.com/woo-category-slider-demo-wordpress-plugin/) |  [Get The PRO Version](https://www.pluginever.com/plugins/woo-category-slider/)  |  [Support](https://www.pluginever.com/support/)  |  [Documentation ](https://www.pluginever.com/docs/woo-category-slider-plugin-documentation/) 
     
    2222* WooCommerce Product Category Slider 
    2323* Product Subcategory Slider 
     24* Ability to Choose All or Selected Categories 
    2425* Responsive Slider 
    2526* Slider Autoplay Enable/Disable 
     
    3940 
    4041### PRO Features 
    41 * 10+ Eye Catching Design 
    42 * Ability to Change Almost Everything 
    43 * Custom Content Color 
    44 * Custom Content Background Color 
    45 * Different Button Type Transparent/Solid 
    46 * Custom Button Color 
    47 * Custom Button Background Color 
     42* Intuitive Shortcode Builder 
     43* 20+ Demo style Ready to start 
     44* 3+ Custom Image Size Support 
     45* 9+ Different Styles 
     46* 9+ Interactive Hover Animation 
     47* Custom Color Support 
     48* Responsive Slider 
     49* Customize Visibility of Any Element 
     50* 2 Button Style 
     51* 4 Navigation Position 
     52* Autoplay Slider 
     53* Custom Slide Number 
     54* Custom Speed Support 
    4855* Custom Class Support 
    49 * Custom Autoplay Speed 
     56* Custom Button Text 
     57* Custom Order 
     58* Auto Upgrade to Newer Version 
     59* SEO Friendly 
     60* WooCommerce Product Category Slider 
     61* WooCommerce Product Sub Category Slider 
    5062* Slider Loop Support 
    5163* RTL Support 
    5264* Center Mode Support 
    53 * Custom Image Size Support (small/medium/large) 
    54 * Custom Category Order 
     65* Light Weight 
     66* Fast Loading 
     67* Fast Support 
    5568* And Many More 
    5669 
    5770>[Get Woo Category Slider PRO ](https://www.pluginever.com/plugins/woo-category-slider/) 
    5871 
     72[youtube http://www.youtube.com/watch?v=mQ-XRvIE4xs] 
     73 
     74A WordPress Plugin By https://www.pluginever.com/ 
    5975 
    6076== Installation == 
     
    8096 
    8197== Changelog == 
     98= 2.2.0 = 
     99* Added custom category selection 
    82100= 1.1.0 = 
    83101* Bug Fixed 
     
    85103= 1.0 = 
    86104* Initial release 
    87  
  • woo-category-slider-by-pluginever/trunk/woo-category-slider.php

    r1603349 r1649839  
    4747        add_action('wp_enqueue_scripts', array($this, 'register_woo_cat_slider_pro_scripts'),10); 
    4848        add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array( __CLASS__, 'plugin_action_links' ) ); 
     49        add_filter( 'plugin_row_meta', array($this, 'ts_plugin_meta_links'), 10, 2 ); 
    4950    } 
    5051 
    5152 
    5253    public function includes(){ 
     54 
    5355    } 
    5456 
     
    6163    public static function plugin_action_links($links){ 
    6264        $action_links = array( 
    63             'Documentation' => '<a target="_blank" href="https://www.pluginever.com/docs/woo-category-slider-plugin-documentation/" title="' . esc_attr( __( 'View WooCommerce Settings', 'woocommerce' ) ) . '">' . __( 'Documentation', 'woocommerce' ) . '</a>', 
     65            'Documentation' => '<a target="_blank" href="https://www.pluginever.com/docs/woo-category-slider-plugin-documentation/" title="' . esc_attr( __( 'View WooCommerce Settings', 'woocatlider' ) ) . '">' . __( 'Documentation', 'woocatlider' ) . '</a>', 
    6466        ); 
    6567 
    6668        return array_merge( $action_links, $links ); 
     69    } 
     70 
     71    function ts_plugin_meta_links( $links, $file ) { 
     72        $plugin = plugin_basename(__FILE__); 
     73        // create link 
     74        if ( $file == $plugin ) { 
     75            return array_merge( 
     76                $links, 
     77                array( '<a style="color:red;" target="_blank" href="https://www.pluginever.com/plugins/woo-category-slider-pro/" title="' . esc_attr( __( 'Buy Pro version', 'woocatlider' ) ) . '">' . __( 'Buy Pro Version', 'woocatlider' ) . '</a>' ) 
     78            ); 
     79        } 
     80        return $links; 
    6781    } 
    6882 
     
    91105            'nav_position'  => 'top-right', 
    92106            'button_text'  => 'Browse', 
    93             'category'  => 'all', 
     107            'categories'  => 'all', 
    94108            'parent_only'  => 'false', 
    95109            'has_image_hover'  => 'true', 
     
    109123        $dummy_image = plugins_url('/assets/images/dummy.jpg', __FILE__); 
    110124 
    111  
    112         if ( $params['category'] == 'all' ) { 
    113         } elseif ( is_numeric( $params['category'] ) ) { 
    114             $main_args['child_of'] = esc_attr( $params['category'] ); 
     125        $main_args['order'] = 'ASC'; 
     126        $main_args['orderby'] = 'title'; 
     127 
     128 
     129        $terms = array(); 
     130        if ( $params['categories'] == 'all' ) { 
     131            $terms = get_terms( 'product_cat', $main_args ); 
     132            if ( $params['parent_only'] == "true" ) { 
     133                $terms = array_filter( $terms, function ( $terms ) { 
     134                    if ( ! $terms->parent ) { 
     135                        return $terms; 
     136                    } 
     137 
     138                    return false; 
     139                } ); 
     140            } 
     141 
    115142        } else { 
    116             $term = get_term_by( 'name', esc_attr( $params['category'] ), 'product_cat', OBJECT ); 
    117             if ( $term ) { 
    118                 $main_args['child_of'] = $term->term_id; 
     143 
     144            $params['categories'] = explode(',', $params['categories']); 
     145 
     146 
     147            if ( ! is_array( $params['categories'] ) ) { 
     148                return; 
    119149            } 
    120         } 
    121  
    122  
    123         $product_categories = get_terms( 'product_cat', $main_args ); 
     150 
     151            foreach ( $params['categories'] as $cat ) { 
     152                $term             = get_term_by( 'slug', trim($cat), 'product_cat', OBJECT ); 
     153                $args['child_of'] = $term->term_id; 
     154                $terms[]          = $term; 
     155 
     156            } 
     157 
     158        } 
     159 
     160 
     161        $product_categories = $terms; 
    124162        // remove category which has no  featured image 
    125163 
     
    169207            $classes[] = 'has-hover-effect'; 
    170208        } 
    171          
     209 
    172210        $id = 'woo-cat-slider-' . strtolower( wp_generate_password( 5, false, false ) ); 
    173211 
Note: See TracChangeset for help on using the changeset viewer.