Woocommerce Products Slider - Version 1.12.17

Version Description

  • 17/10/2017 Update - Some CSS issue updated.
Download this release

Release Info

Developer pickplugins
Plugin Icon 128x128 Woocommerce Products Slider
Version 1.12.17
Comparing to
See all releases

Code changes from version 1.12.16 to 1.12.17

assets/front/css/style.css CHANGED
@@ -135,7 +135,7 @@ background:url("ribbons/dis-100.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
135
 
136
  .wcps-container:hover .owl-nav.middle .owl-prev,
137
  .wcps-container:hover .owl-nav.middle .owl-next {
138
- box-shadow: 0 0 8px 0 rgb(102, 102, 102);
139
  }
140
 
141
 
@@ -195,7 +195,7 @@ right: 30px;
195
 
196
  .wcps-container:hover .owl-nav.middle-fixed .owl-prev,
197
  .wcps-container:hover .owl-nav.middle-fixed .owl-next {
198
- box-shadow: 0 0 8px 0 rgb(102, 102, 102);
199
  }
200
 
201
 
@@ -222,10 +222,6 @@ right: -30px;
222
 
223
 
224
 
225
-
226
-
227
-
228
-
229
  /* Navigation CSS topright*/
230
  .wcps-container .owl-nav.topright {
231
  position: absolute;
@@ -233,42 +229,47 @@ right: -30px;
233
  top: 15px;
234
  }
235
 
236
- .wcps-container .owl-nav.topright .owl-prev {
237
- background: url("images/arrow-prev.png") repeat scroll 0 0 rgb(255, 255, 255);
238
- border: 1px solid rgb(221, 221, 221);
239
- border-radius: 0;
240
- color: rgb(0, 0, 0);
241
- height: 20px;
242
- padding: 0;
243
- opacity: 1;
244
- width: 30px;
245
- display: inline-block;
 
 
246
  }
247
 
248
 
249
-
250
  .wcps-container .owl-nav.topright .owl-next {
251
- background: url("images/arrow-next.png") repeat scroll 0 0 rgb(255, 255, 255);
252
- border: 1px solid rgb(221, 221, 221);
253
- border-radius: 0;
254
  color: rgb(0, 0, 0);
255
  padding: 0;
256
- width: 30px;
257
  opacity: 1;
258
- height: 20px;
259
  display: inline-block;
 
260
  }
261
 
262
 
263
 
264
  .wcps-container .owl-nav.topright div.owl-prev:hover{
265
  background-image: url("images/arrow-prev.png") ;
266
- background-color:#d5d5d5 !important; }
 
 
267
 
268
 
269
  .wcps-container .owl-nav.topright div.owl-next:hover{
270
  background-image: url("images/arrow-next.png");
271
- background-color:#d5d5d5 !important; }
 
272
 
273
 
274
 
@@ -279,13 +280,13 @@ right: -30px;
279
 
280
 
281
  .wcps-container .owl-dots .owl-dot {
282
- background: #869791 none repeat scroll 0 0;
283
- border-radius: 20px;
284
- display: inline-block;
285
- height: 12px;
286
- margin: 5px 7px;
287
- opacity: 0.5;
288
- width: 12px;
289
  }
290
 
291
  .wcps-container .owl-dots .owl-dot:hover,
@@ -381,15 +382,15 @@ right: -30px;
381
  }
382
 
383
  .wcps-container .wcps-zoom {
384
- background: rgba(0, 0, 0, 0.2) none repeat scroll 0 0;
385
- height: 100%;
386
- left: 0;
387
- opacity: 0;
388
- position: absolute;
389
- text-align: center;
390
- top: 0;
391
- transition: all 0.3s ease 0s;
392
- width: 100%;
393
  }
394
 
395
  .wcps-container .wcps-items:hover .wcps-zoom {
@@ -398,14 +399,17 @@ right: -30px;
398
 
399
 
400
  .wcps-container .wcps-zoom .fa {
401
- background: #fff none repeat scroll 0 0;
402
- border-radius: 50%;
403
- box-shadow: 0 0 4px 0 #333;
404
- color: #999;
405
- cursor: pointer;
406
- font-size: 35px;
407
- margin-top: 30%;
408
- padding: 10px;
 
 
 
409
  }
410
 
411
  .wcps-container .wcps-zoom-thumb {
135
 
136
  .wcps-container:hover .owl-nav.middle .owl-prev,
137
  .wcps-container:hover .owl-nav.middle .owl-next {
138
+ box-shadow: 0 0 12px 3px rgba(183, 183, 183, 0.54);
139
  }
140
 
141
 
195
 
196
  .wcps-container:hover .owl-nav.middle-fixed .owl-prev,
197
  .wcps-container:hover .owl-nav.middle-fixed .owl-next {
198
+ box-shadow: 0 0 12px 3px rgba(183, 183, 183, 0.54);
199
  }
200
 
201
 
222
 
223
 
224
 
 
 
 
 
225
  /* Navigation CSS topright*/
226
  .wcps-container .owl-nav.topright {
227
  position: absolute;
229
  top: 15px;
230
  }
231
 
232
+ .wcps-container .owl-nav.topright .owl-prev {
233
+ background: url("images/arrow-prev.png") no-repeat scroll 0 0 rgb(255, 255, 255);
234
+ border: 1px solid rgba(221, 221, 221, 0.0);
235
+ border-radius: 3px;
236
+ color: rgb(0, 0, 0);
237
+ height: 30px;
238
+ padding: 0;
239
+ opacity: 1;
240
+ width: 50px;
241
+ display: inline-block;
242
+ background-position: 10px 5px;
243
+ margin: 0 5px;
244
  }
245
 
246
 
 
247
  .wcps-container .owl-nav.topright .owl-next {
248
+ background: url("images/arrow-next.png") no-repeat scroll 0 0 rgb(255, 255, 255);
249
+ border: 1px solid rgba(221, 221, 221, 0.0);
250
+ border-radius: 3px;
251
  color: rgb(0, 0, 0);
252
  padding: 0;
253
+ width: 50px;
254
  opacity: 1;
255
+ height: 30px;
256
  display: inline-block;
257
+ background-position: 10px 5px;
258
  }
259
 
260
 
261
 
262
  .wcps-container .owl-nav.topright div.owl-prev:hover{
263
  background-image: url("images/arrow-prev.png") ;
264
+ background-color:rgba(185, 185, 185, 0.3);
265
+ border: 1px solid rgb(221, 221, 221);
266
+ }
267
 
268
 
269
  .wcps-container .owl-nav.topright div.owl-next:hover{
270
  background-image: url("images/arrow-next.png");
271
+ background-color:rgba(185, 185, 185, 0.3);
272
+ border: 1px solid rgb(221, 221, 221);}
273
 
274
 
275
 
280
 
281
 
282
  .wcps-container .owl-dots .owl-dot {
283
+ background: rgba(107, 107, 107, 0.37);
284
+ border-radius: 20px;
285
+ display: inline-block;
286
+ height: 15px;
287
+ margin: 5px 7px;
288
+ opacity: 0.5;
289
+ width: 15px;
290
  }
291
 
292
  .wcps-container .owl-dots .owl-dot:hover,
382
  }
383
 
384
  .wcps-container .wcps-zoom {
385
+ /* background: rgba(0, 0, 0, 0.2) none repeat scroll 0 0; */
386
+ /* height: 100%; */
387
+ left: 0;
388
+ opacity: 0;
389
+ position: absolute;
390
+ text-align: center;
391
+ top: 0;
392
+ transition: all 0.3s ease 0s;
393
+ width: 100%;
394
  }
395
 
396
  .wcps-container .wcps-items:hover .wcps-zoom {
399
 
400
 
401
  .wcps-container .wcps-zoom .fa {
402
+ background: #fff none repeat scroll 0 0;
403
+ border-radius: 50%;
404
+ box-shadow: 0 0 4px 0 #333;
405
+ color: #99999980;
406
+ cursor: pointer;
407
+ font-size: 25px;
408
+ margin-top: 30%;
409
+ /* padding: 10px; */
410
+ width: 50px;
411
+ height: 50px;
412
+ line-height: 46px;
413
  }
414
 
415
  .wcps-container .wcps-zoom-thumb {
includes/class-functions.php CHANGED
@@ -59,17 +59,17 @@ class class_wcps_functions {
59
  public function wcps_grid_items($grid_items = array()){
60
 
61
  $grid_items = array(
62
- 'thumb'=>__('Thumbnail',wcps_textdomain),
63
- 'title'=>__('Title',wcps_textdomain),
64
- 'excerpt'=>__('Excerpt',wcps_textdomain),
65
- 'category'=>__('Category',wcps_textdomain),
66
- 'tag'=>__('Tags',wcps_textdomain),
67
- 'price'=>__('Price',wcps_textdomain),
68
- 'rating'=>__('Rating',wcps_textdomain),
69
- 'cart'=>__('Cart',wcps_textdomain),
70
- 'sale'=>__('Sale',wcps_textdomain),
71
- 'featured'=>__('Featured', wcps_textdomain),
72
- 'sku'=>__('SKU', wcps_textdomain),
73
  );
74
  return $grid_items;
75
  }
59
  public function wcps_grid_items($grid_items = array()){
60
 
61
  $grid_items = array(
62
+ 'thumb'=>__('Thumbnail','woocommerce-products-slider'),
63
+ 'title'=>__('Title','woocommerce-products-slider'),
64
+ 'excerpt'=>__('Excerpt','woocommerce-products-slider'),
65
+ 'category'=>__('Category','woocommerce-products-slider'),
66
+ 'tag'=>__('Tags','woocommerce-products-slider'),
67
+ 'price'=>__('Price','woocommerce-products-slider'),
68
+ 'rating'=>__('Rating','woocommerce-products-slider'),
69
+ 'cart'=>__('Cart','woocommerce-products-slider'),
70
+ 'sale'=>__('Sale','woocommerce-products-slider'),
71
+ 'featured'=>__('Featured', 'woocommerce-products-slider'),
72
+ 'sku'=>__('SKU', 'woocommerce-products-slider'),
73
  );
74
  return $grid_items;
75
  }
includes/class-settings.php CHANGED
@@ -18,7 +18,7 @@ class class_wcps_settings{
18
 
19
  public function admin_menu() {
20
 
21
- add_submenu_page('edit.php?post_type=wcps', __('Settings',wcps_textdomain), __('Settings',wcps_textdomain), 'manage_options', 'wcps_menu_settings', array( $this, 'settings_page' ));
22
 
23
 
24
  }
18
 
19
  public function admin_menu() {
20
 
21
+ add_submenu_page('edit.php?post_type=wcps', __('Settings','woocommerce-products-slider'), __('Settings','woocommerce-products-slider'), 'manage_options', 'wcps_menu_settings', array( $this, 'settings_page' ));
22
 
23
 
24
  }
includes/class-shortcodes.php CHANGED
@@ -167,7 +167,7 @@ class class_wcps_shortcodes{
167
  wp_reset_query();
168
 
169
  else :
170
- $html.= __('No Product to Slide',wcps_textdomain);
171
 
172
  endif;
173
 
167
  wp_reset_query();
168
 
169
  else :
170
+ $html.= __('No Product to Slide','woocommerce-products-slider');
171
 
172
  endif;
173
 
includes/functions.php CHANGED
@@ -81,7 +81,7 @@ function wcps_track_product_view() {
81
 
82
  function wcps_add_shortcode_column( $columns ) {
83
  return array_merge( $columns,
84
- array( 'shortcode' => __( 'Shortcode', wcps_textdomain ) ) );
85
  }
86
  add_filter( 'manage_wcps_posts_columns' , 'wcps_add_shortcode_column' );
87
 
@@ -173,7 +173,7 @@ function wcps_get_product_categories($postid)
173
 
174
  if(empty($categories))
175
  {
176
- echo __('No categories found!',wcps_textdomain);
177
  $categories = array();
178
  }
179
 
81
 
82
  function wcps_add_shortcode_column( $columns ) {
83
  return array_merge( $columns,
84
+ array( 'shortcode' => __( 'Shortcode', 'woocommerce-products-slider' ) ) );
85
  }
86
  add_filter( 'manage_wcps_posts_columns' , 'wcps_add_shortcode_column' );
87
 
173
 
174
  if(empty($categories))
175
  {
176
+ echo __('No categories found!','woocommerce-products-slider');
177
  $categories = array();
178
  }
179
 
includes/menu/settings.php CHANGED
@@ -33,7 +33,7 @@ if ( ! defined('ABSPATH')) exit; // if direct access
33
 
34
 
35
  ?>
36
- <div class="updated"><p><strong><?php _e('Changes Saved.',wcps_textdomain ); ?></strong></p></div>
37
 
38
  <?php
39
  }
@@ -53,7 +53,7 @@ if ( ! defined('ABSPATH')) exit; // if direct access
53
 
54
  <div class="wrap">
55
 
56
- <div id="icon-tools" class="icon32"><br></div><?php echo "<h2>".wcps_plugin_name.' '.__(' Settings',wcps_textdomain)."</h2>";?>
57
  <form method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
58
  <input type="hidden" name="wcps_hidden" value="Y">
59
  <?php settings_fields( 'wcps_plugin_options' );
@@ -64,8 +64,8 @@ if ( ! defined('ABSPATH')) exit; // if direct access
64
 
65
  <div class="para-settings">
66
  <ul class="tab-nav">
67
- <li nav="1" class="nav1 active"><i class="fa fa-cogs"></i> <?php _e('Options',wcps_textdomain); ?></li>
68
- <li nav="2" class="nav2"><i class="fa fa-hand-o-right"></i> <?php _e('Help',wcps_textdomain); ?></li>
69
  </ul> <!-- tab-nav end -->
70
 
71
  <ul class="box">
@@ -74,12 +74,12 @@ if ( ! defined('ABSPATH')) exit; // if direct access
74
  <li style="display: block;" class="box1 tab-box active">
75
 
76
  <div class="option-box">
77
- <p class="option-title"><?php _e('Track product View',wcps_textdomain); ?></p>
78
  <p class="option-info"></p>
79
 
80
  <select name="wcps_track_product_view" >
81
- <option value="no" <?php if($wcps_track_product_view=="no")echo "selected"; ?>><?php _e('No',wcps_textdomain); ?></option>
82
- <option value="yes" <?php if($wcps_track_product_view=="yes")echo "selected"; ?>><?php _e('Yes',wcps_textdomain); ?></option>
83
 
84
 
85
  </select>
@@ -92,16 +92,16 @@ if ( ! defined('ABSPATH')) exit; // if direct access
92
  <li style="display: none;" class="box2 tab-box">
93
 
94
  <div class="option-box">
95
- <p class="option-title"><?php _e('Need Help ?',wcps_textdomain); ?></p>
96
  <p class="option-info">
97
- <?php _e('Feel free to contact with any issue for this plugin, Ask any question via forum',wcps_textdomain); ?> <a href="<?php echo wcps_qa_url; ?>"><?php echo wcps_qa_url; ?></a> <strong style="color:#139b50;"><?php _e('(free)',wcps_textdomain); ?></strong><br />
98
 
99
  <?php
100
 
101
  if(wcps_customer_type=="free")
102
  {
103
 
104
- _e(sprintf('You are using <strong>%s version %s </strong> of <strong>%s</strong> To get more feature you could try our premium version.',wcps_customer_type, wcps_plugin_version, wcps_plugin_name),wcps_textdomain);
105
 
106
  // echo 'You are using <strong> '.wcps_customer_type.' version '.wcps_plugin_version.'</strong> of <strong>'.wcps_plugin_name.'</strong>, To get more feature you could try our premium version. ';
107
 
@@ -110,7 +110,7 @@ if ( ! defined('ABSPATH')) exit; // if direct access
110
  }
111
  else
112
  {
113
- _e(sprintf('Thanks for using <strong> premium version %s </strong> of <strong>%s</strong>.', wcps_plugin_version, wcps_plugin_name),wcps_textdomain);
114
  //echo 'Thanks for using <strong> premium version '.wcps_plugin_version.'</strong> of <strong>'.wcps_plugin_name.'</strong> ';
115
 
116
 
@@ -123,9 +123,9 @@ if ( ! defined('ABSPATH')) exit; // if direct access
123
 
124
  </div>
125
  <div class="option-box">
126
- <p class="option-title"><?php _e('Submit Reviews.',wcps_textdomain); ?></p>
127
  <p class="option-info">
128
- <?php _e('We are working hard to build some awesome plugins for you and spend thousand hour for plugins. we wish your three(3) minute by submitting five star reviews at wordpress.org. if you have any issue please submit at forum',wcps_textdomain); ?>
129
  .</p>
130
  <img src="<?php echo wcps_plugin_url."assets/admin/images/five-star.png";?>" /><br />
131
  <a target="_blank" href="<?php echo wcps_wp_reviews; ?>">
@@ -136,19 +136,13 @@ if ( ! defined('ABSPATH')) exit; // if direct access
136
 
137
  </div>
138
  <div class="option-box">
139
- <p class="option-title"><?php _e('Please Share',wcps_textdomain); ?></p>
140
- <p class="option-info"><?php _e('If you like this plugin please share with your social share network.',wcps_textdomain); ?></p>
141
  <?php
142
 
143
  echo wcps_share_plugin();
144
  ?>
145
  </div>
146
- <div class="option-box">
147
- <p class="option-title"><?php _e('Video Tutorial',wcps_textdomain); ?></p>
148
- <p class="option-info"><?php _e('Please watch this video tutorial.',wcps_textdomain); ?></p>
149
- <iframe width="640" height="480" src="<?php echo wcps_tutorial_video_url; ?>" frameborder="0" allowfullscreen></iframe>
150
- </div>
151
-
152
 
153
  </li>
154
 
33
 
34
 
35
  ?>
36
+ <div class="updated"><p><strong><?php _e('Changes Saved.','woocommerce-products-slider' ); ?></strong></p></div>
37
 
38
  <?php
39
  }
53
 
54
  <div class="wrap">
55
 
56
+ <div id="icon-tools" class="icon32"><br></div><?php echo "<h2>".wcps_plugin_name.' '.__(' Settings','woocommerce-products-slider')."</h2>";?>
57
  <form method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
58
  <input type="hidden" name="wcps_hidden" value="Y">
59
  <?php settings_fields( 'wcps_plugin_options' );
64
 
65
  <div class="para-settings">
66
  <ul class="tab-nav">
67
+ <li nav="1" class="nav1 active"><i class="fa fa-cogs"></i> <?php _e('Options','woocommerce-products-slider'); ?></li>
68
+ <li nav="2" class="nav2"><i class="fa fa-hand-o-right"></i> <?php _e('Help','woocommerce-products-slider'); ?></li>
69
  </ul> <!-- tab-nav end -->
70
 
71
  <ul class="box">
74
  <li style="display: block;" class="box1 tab-box active">
75
 
76
  <div class="option-box">
77
+ <p class="option-title"><?php _e('Track product View','woocommerce-products-slider'); ?></p>
78
  <p class="option-info"></p>
79
 
80
  <select name="wcps_track_product_view" >
81
+ <option value="no" <?php if($wcps_track_product_view=="no")echo "selected"; ?>><?php _e('No','woocommerce-products-slider'); ?></option>
82
+ <option value="yes" <?php if($wcps_track_product_view=="yes")echo "selected"; ?>><?php _e('Yes','woocommerce-products-slider'); ?></option>
83
 
84
 
85
  </select>
92
  <li style="display: none;" class="box2 tab-box">
93
 
94
  <div class="option-box">
95
+ <p class="option-title"><?php _e('Need Help ?','woocommerce-products-slider'); ?></p>
96
  <p class="option-info">
97
+ <?php _e('Feel free to contact with any issue for this plugin, Ask any question via forum','woocommerce-products-slider'); ?> <a href="<?php echo wcps_qa_url; ?>"><?php echo wcps_qa_url; ?></a> <strong style="color:#139b50;"><?php _e('(free)','woocommerce-products-slider'); ?></strong><br />
98
 
99
  <?php
100
 
101
  if(wcps_customer_type=="free")
102
  {
103
 
104
+ _e(sprintf('You are using <strong>%s version %s </strong> of <strong>%s</strong> To get more feature you could try our premium version.',wcps_customer_type, wcps_plugin_version, wcps_plugin_name),'woocommerce-products-slider');
105
 
106
  // echo 'You are using <strong> '.wcps_customer_type.' version '.wcps_plugin_version.'</strong> of <strong>'.wcps_plugin_name.'</strong>, To get more feature you could try our premium version. ';
107
 
110
  }
111
  else
112
  {
113
+ _e(sprintf('Thanks for using <strong> premium version %s </strong> of <strong>%s</strong>.', wcps_plugin_version, wcps_plugin_name),'woocommerce-products-slider');
114
  //echo 'Thanks for using <strong> premium version '.wcps_plugin_version.'</strong> of <strong>'.wcps_plugin_name.'</strong> ';
115
 
116
 
123
 
124
  </div>
125
  <div class="option-box">
126
+ <p class="option-title"><?php _e('Submit Reviews.','woocommerce-products-slider'); ?></p>
127
  <p class="option-info">
128
+ <?php _e('We are working hard to build some awesome plugins for you and spend thousand hour for plugins. we wish your three(3) minute by submitting five star reviews at wordpress.org. if you have any issue please submit at forum','woocommerce-products-slider'); ?>
129
  .</p>
130
  <img src="<?php echo wcps_plugin_url."assets/admin/images/five-star.png";?>" /><br />
131
  <a target="_blank" href="<?php echo wcps_wp_reviews; ?>">
136
 
137
  </div>
138
  <div class="option-box">
139
+ <p class="option-title"><?php _e('Please Share','woocommerce-products-slider'); ?></p>
140
+ <p class="option-info"><?php _e('If you like this plugin please share with your social share network.','woocommerce-products-slider'); ?></p>
141
  <?php
142
 
143
  echo wcps_share_plugin();
144
  ?>
145
  </div>
 
 
 
 
 
 
146
 
147
  </li>
148
 
includes/meta.php CHANGED
@@ -10,16 +10,16 @@ if ( ! defined('ABSPATH')) exit; // if direct access
10
  function wcps_posttype_register() {
11
 
12
  $labels = array(
13
- 'name' => __('WCPS', wcps_textdomain),
14
- 'singular_name' => __('WCPS', wcps_textdomain),
15
- 'add_new' => __('New WCPS', wcps_textdomain),
16
- 'add_new_item' => __('New WCPS',wcps_textdomain),
17
- 'edit_item' => __('Edit WCPS',wcps_textdomain),
18
- 'new_item' => __('New WCPS',wcps_textdomain),
19
- 'view_item' => __('View WCPS',wcps_textdomain),
20
- 'search_items' => __('Search WCPS',wcps_textdomain),
21
- 'not_found' => __('Nothing found',wcps_textdomain),
22
- 'not_found_in_trash' => __('Nothing found in Trash',wcps_textdomain),
23
  'parent_item_colon' => ''
24
  );
25
 
@@ -57,7 +57,7 @@ function meta_boxes_wcps()
57
  $screens = array( 'wcps' );
58
  foreach ( $screens as $screen )
59
  {
60
- add_meta_box('wcps_metabox',__( 'Woocommerce Products Slider Options',wcps_textdomain ),'meta_boxes_wcps_input', $screen);
61
  }
62
  }
63
  add_action( 'add_meta_boxes', 'meta_boxes_wcps' );
@@ -193,7 +193,7 @@ function meta_boxes_wcps_input( $post ) {
193
  if(empty($wcps_items_excerpt_count)){$wcps_items_excerpt_count = 20;}
194
 
195
  $wcps_items_excerpt_read_more = get_post_meta( $post->ID, 'wcps_items_excerpt_read_more', true );
196
- if(empty($wcps_items_excerpt_read_more)){$wcps_items_excerpt_read_more = __('View product.', wcps_textdomain);}
197
 
198
  $wcps_items_excerpt_text_align = get_post_meta( $post->ID, 'wcps_items_excerpt_text_align', true );
199
  $wcps_items_excerpt_font_size = get_post_meta( $post->ID, 'wcps_items_excerpt_font_size', true );
@@ -245,23 +245,23 @@ function meta_boxes_wcps_input( $post ) {
245
 
246
  <div class="para-settings">
247
  <ul class="tab-nav">
248
- <li nav="1" class="nav1 active"><i class="fa fa-code"></i> <?php _e('Shortcode',wcps_textdomain);?></li>
249
- <li nav="2" class="nav2"><i class="fa fa-cogs"></i> <?php _e('Options',wcps_textdomain);?></li>
250
- <li nav="3" class="nav3"><i class="fa fa-diamond"></i> <?php _e('Style',wcps_textdomain);?></li>
251
- <li nav="4" class="nav4"><i class="fa fa-pencil-square-o"></i> <?php _e('Query Product',wcps_textdomain);?></li>
252
- <li nav="5" class="nav5"><i class="fa fa-pencil-square-o"></i> <?php _e('Elements', wcps_textdomain);?></li>
253
- <li nav="6" class="nav6"><i class="fa fa-bug"></i> <?php _e('Custom CSS',wcps_textdomain);?></li>
254
  </ul> <!-- tab-nav end -->
255
 
256
  <ul class="box">
257
  <li style="display: block;" class="box1 tab-box active">
258
 
259
  <div class="option-box">
260
- <p class="option-title"><?php _e('Shortcode',wcps_textdomain);?></p>
261
  <p class="option-info">
262
- <?php _e('Copy this shortcode and paste on page or post where you want to display slider.',wcps_textdomain);?>
263
  <br />
264
- <?php _e('Use PHP code to your themes file to display slider.',wcps_textdomain);?>
265
  </p>
266
  <textarea cols="50" rows="1" style="background:#bfefff" onClick="this.select();" >[wcps <?php echo 'id="'.$post->ID.'"';?>]</textarea>
267
  <br /><br />
@@ -276,15 +276,15 @@ function meta_boxes_wcps_input( $post ) {
276
 
277
 
278
  <div class="option-box">
279
- <p class="option-title"><?php _e('Slider column number',wcps_textdomain);?></p>
280
 
281
- <p class="option-info"><?php _e('In Destop: (min:1000px and max)',wcps_textdomain);?></p>
282
  <input type="text" placeholder="4" name="wcps_column_number" value="<?php echo $wcps_column_number; ?>" />
283
 
284
- <p class="option-info"><?php _e('In Tablet & Small Desktop: (900px max width)',wcps_textdomain);?></p>
285
  <input type="text" placeholder="2" name="wcps_column_number_tablet" value="<?php echo $wcps_column_number_tablet; ?>" />
286
 
287
- <p class="option-info"><?php _e('In Mobile: (479px max width)',wcps_textdomain);?></p>
288
  <input type="text" placeholder="1" name="wcps_column_number_mobile" value="<?php echo $wcps_column_number_mobile; ?>" />
289
 
290
 
@@ -292,73 +292,73 @@ function meta_boxes_wcps_input( $post ) {
292
  </div>
293
 
294
  <div class="option-box">
295
- <p class="option-info"><?php _e('Slider Auto Play',wcps_textdomain);?></p>
296
 
297
 
298
  <select name="wcps_auto_play">
299
- <option value="true" <?php if(($wcps_auto_play=="true")) echo "selected"; ?> ><?php _e('True',wcps_textdomain);?></option>
300
- <option value="false" <?php if(($wcps_auto_play=="false")) echo "selected"; ?> ><?php _e('False',wcps_textdomain);?></option>
301
  </select>
302
 
303
 
304
- <p class="option-info"><?php _e('Slider Auto Play Speed',wcps_textdomain);?></p>
305
  <input type="text" placeholder="500" id="wcps_auto_play_speed" name="wcps_auto_play_speed" value="<?php echo $wcps_auto_play_speed; ?>" />
306
 
307
- <p class="option-info"><?php _e('Slider Auto Play Timeout',wcps_textdomain);?></p>
308
  <input type="text" placeholder="500" id="wcps_auto_play_timeout" name="wcps_auto_play_timeout" value="<?php echo $wcps_auto_play_timeout; ?>" />
309
 
310
 
311
 
312
- <p class="option-info"><?php _e('Slider rewind', wcps_textdomain);?></p>
313
  <select name="wcps_rewind">
314
- <option value="true" <?php if(($wcps_rewind=="true")) echo "selected"; ?> ><?php _e('True', wcps_textdomain);?></option>
315
- <option value="false" <?php if(($wcps_rewind=="false")) echo "selected"; ?> ><?php _e('False', wcps_textdomain);?></option>
316
  </select>
317
 
318
- <p class="option-info"><?php _e('Slider loop', wcps_textdomain);?></p>
319
  <select name="wcps_loop">
320
- <option value="true" <?php if(($wcps_loop=="true")) echo "selected"; ?> ><?php _e('True', wcps_textdomain);?></option>
321
- <option value="false" <?php if(($wcps_loop=="false")) echo "selected"; ?> ><?php _e('False', wcps_textdomain);?></option>
322
  </select>
323
 
324
- <p class="option-info"><?php _e('Slider center', wcps_textdomain);?></p>
325
  <select name="wcps_center">
326
- <option value="true" <?php if(($wcps_center=="true")) echo "selected"; ?> ><?php _e('True', wcps_textdomain);?></option>
327
- <option value="false" <?php if(($wcps_center=="false")) echo "selected"; ?> ><?php _e('False', wcps_textdomain);?></option>
328
  </select>
329
 
330
- <p class="option-info"><?php _e('RTL Enabled', wcps_textdomain);?></p>
331
 
332
  <select name="wcps_slider_rtl">
333
- <option value="false" <?php if(($wcps_slider_rtl=="false")) echo "selected"; ?> ><?php _e('False', wcps_textdomain);?></option>
334
- <option value="true" <?php if(($wcps_slider_rtl=="true")) echo "selected"; ?> ><?php _e('True', wcps_textdomain);?></option>
335
 
336
  </select>
337
 
338
 
339
 
340
- <p class="option-info"><?php _e('Animate Out', wcps_textdomain);?></p>
341
 
342
  <select name="wcps_slider_animateout">
343
- <option value="fadeOut" <?php if(($wcps_slider_animateout=="fadeOut")) echo "selected"; ?> ><?php _e('fadeOut', wcps_textdomain);?></option>
344
- <option value="bounce" <?php if(($wcps_slider_animateout=="bounce")) echo "selected"; ?> ><?php _e('bounce', wcps_textdomain);?></option>
345
- <option value="flash" <?php if(($wcps_slider_animateout=="flash")) echo "selected"; ?> ><?php _e('flash', wcps_textdomain);?></option>
346
- <option value="pulse" <?php if(($wcps_slider_animateout=="pulse")) echo "selected"; ?> ><?php _e('pulse', wcps_textdomain);?></option>
347
 
348
 
349
- <option value="shake" <?php if($wcps_slider_animateout=="shake")echo "selected"; ?>><?php _e('Shake', wcps_textdomain);?></option>
350
- <option value="swing" <?php if($wcps_slider_animateout=="swing")echo "selected"; ?>><?php _e('Swing', wcps_textdomain);?></option>
351
- <option value="tada" <?php if($wcps_slider_animateout=="tada")echo "selected"; ?>><?php _e('Tada', wcps_textdomain);?></option>
352
- <option value="wobble" <?php if($wcps_slider_animateout=="wobble")echo "selected"; ?>><?php _e('Wobble', wcps_textdomain);?></option>
353
- <option value="flip" <?php if($wcps_slider_animateout=="flip")echo "selected"; ?>><?php _e('flip', wcps_textdomain);?></option>
354
- <option value="flipInX" <?php if($wcps_slider_animateout=="flipInX")echo "selected"; ?>><?php _e('flipInX', wcps_textdomain);?></option>
355
- <option value="flipInY" <?php if($wcps_slider_animateout=="flipInY")echo "selected"; ?>><?php _e('flipInY', wcps_textdomain);?></option>
356
- <option value="fadeIn" <?php if($wcps_slider_animateout=="fadeIn")echo "selected"; ?>><?php _e('fadeIn', wcps_textdomain);?></option>
357
- <option value="fadeInDown" <?php if($wcps_slider_animateout=="fadeInDown")echo "selected"; ?>><?php _e('fadeInDown', wcps_textdomain);?></option>
358
- <option value="fadeInUp" <?php if($wcps_slider_animateout=="fadeInUp")echo "selected"; ?>><?php _e('fadeInUp', wcps_textdomain);?></option>
359
- <option value="bounceIn" <?php if($wcps_slider_animateout=="bounceIn")echo "selected"; ?>><?php _e('bounceIn', wcps_textdomain);?></option>
360
- <option value="bounceInDown" <?php if($wcps_slider_animateout=="bounceInDown")echo "selected"; ?>><?php _e('bounceInDown', wcps_textdomain);?></option>
361
- <option value="bounceInUp" <?php if($wcps_slider_animateout=="bounceInUp")echo "selected"; ?>><?php _e('bounceInUp', wcps_textdomain);?></option>
362
 
363
 
364
 
@@ -368,98 +368,98 @@ function meta_boxes_wcps_input( $post ) {
368
 
369
 
370
 
371
- <p class="option-info"><?php _e('Animate In', wcps_textdomain);?></p>
372
 
373
  <select name="wcps_slider_animatein">
374
- <option value="fadeOut" <?php if(($wcps_slider_animatein=="fadeOut")) echo "selected"; ?> ><?php _e('fadeOut', wcps_textdomain);?></option>
375
- <option value="bounce" <?php if(($wcps_slider_animatein=="bounce")) echo "selected"; ?> ><?php _e('bounce', wcps_textdomain);?></option>
376
- <option value="flash" <?php if(($wcps_slider_animatein=="flash")) echo "selected"; ?> ><?php _e('flash', wcps_textdomain);?></option>
377
- <option value="pulse" <?php if(($wcps_slider_animatein=="pulse")) echo "selected"; ?> ><?php _e('pulse', wcps_textdomain);?></option>
378
 
379
- <option value="shake" <?php if($wcps_slider_animatein=="shake")echo "selected"; ?>><?php _e('Shake', wcps_textdomain);?></option>
380
- <option value="swing" <?php if($wcps_slider_animatein=="swing")echo "selected"; ?>><?php _e('Swing', wcps_textdomain);?></option>
381
- <option value="tada" <?php if($wcps_slider_animatein=="tada")echo "selected"; ?>><?php _e('Tada', wcps_textdomain);?></option>
382
- <option value="wobble" <?php if($wcps_slider_animatein=="wobble")echo "selected"; ?>><?php _e('Wobble', wcps_textdomain);?></option>
383
- <option value="flip" <?php if($wcps_slider_animatein=="flip")echo "selected"; ?>><?php _e('flip', wcps_textdomain);?></option>
384
- <option value="flipInX" <?php if($wcps_slider_animatein=="flipInX")echo "selected"; ?>><?php _e('flipInX', wcps_textdomain);?></option>
385
- <option value="flipInY" <?php if($wcps_slider_animatein=="flipInY")echo "selected"; ?>><?php _e('flipInY', wcps_textdomain);?></option>
386
- <option value="fadeIn" <?php if($wcps_slider_animatein=="fadeIn")echo "selected"; ?>><?php _e('fadeIn', wcps_textdomain);?></option>
387
- <option value="fadeInDown" <?php if($wcps_slider_animatein=="fadeInDown")echo "selected"; ?>><?php _e('fadeInDown', wcps_textdomain);?></option>
388
- <option value="fadeInUp" <?php if($wcps_slider_animatein=="fadeInUp")echo "selected"; ?>><?php _e('fadeInUp', wcps_textdomain);?></option>
389
- <option value="bounceIn" <?php if($wcps_slider_animatein=="bounceIn")echo "selected"; ?>><?php _e('bounceIn', wcps_textdomain);?></option>
390
- <option value="bounceInDown" <?php if($wcps_slider_animatein=="bounceInDown")echo "selected"; ?>><?php _e('bounceInDown', wcps_textdomain);?></option>
391
- <option value="bounceInUp" <?php if($wcps_slider_animatein=="bounceInUp")echo "selected"; ?>><?php _e('bounceInUp', wcps_textdomain);?></option>
392
 
393
  </select>
394
 
395
- <p class="option-info"><?php _e('Slider Stop on Hover',wcps_textdomain);?></p>
396
 
397
  <select name="wcps_stop_on_hover">
398
- <option value="true" <?php if(($wcps_stop_on_hover=="true")) echo "selected"; ?> ><?php _e('True',wcps_textdomain);?></option>
399
- <option value="false" <?php if(($wcps_stop_on_hover=="false")) echo "selected"; ?> ><?php _e('False',wcps_textdomain);?></option>
400
  </select>
401
 
402
- <p class="option-info"><?php _e('Slider Navigation at Top',wcps_textdomain);?></p>
403
 
404
  <select name="wcps_slider_navigation">
405
- <option value="true" <?php if(($wcps_slider_navigation=="true")) echo "selected"; ?> ><?php _e('True',wcps_textdomain);?></option>
406
- <option value="false" <?php if(($wcps_slider_navigation=="false")) echo "selected"; ?> ><?php _e('False',wcps_textdomain);?></option>
407
  </select>
408
 
409
 
410
- <p class="option-info"><?php _e('Slider Navigation Position',wcps_textdomain);?></p>
411
  <select name="wcps_slider_navigation_position">
412
- <option value="topright" <?php if(($wcps_slider_navigation_position=="topright")) echo "selected"; ?> ><?php _e('Top Right',wcps_textdomain);?></option>
413
- <option value="middle" <?php if(($wcps_slider_navigation_position=="middle")) echo "selected"; ?> ><?php _e('Middle',wcps_textdomain);?></option>
414
- <option value="middle-fixed" <?php if(($wcps_slider_navigation_position=="middle-fixed")) echo "selected"; ?> ><?php _e('Middle fixed',wcps_textdomain);?></option>
415
 
416
  </select>
417
 
418
- <p class="option-info"><?php _e('Slide Speed',wcps_textdomain);?></p>
419
  <input type="text" placeholder="1000" id="wcps_slide_speed" name="wcps_slide_speed" value="<?php echo $wcps_slide_speed; ?>" />
420
 
421
 
422
- <p class="option-info"><?php _e('Slider Pagination at Bottom',wcps_textdomain);?></p>
423
 
424
  <select name="wcps_slider_pagination">
425
- <option value="true" <?php if(($wcps_slider_pagination=="true")) echo "selected"; ?> ><?php _e('True',wcps_textdomain);?></option>
426
- <option value="false" <?php if(($wcps_slider_pagination=="false")) echo "selected"; ?> ><?php _e('False',wcps_textdomain);?></option>
427
  </select>
428
 
429
 
430
 
431
- <p class="option-info"><?php _e('Pagination Background Color',wcps_textdomain);?></p>
432
  <input type="text" name="wcps_slider_pagination_bg" class="wcps_color" id="wcps_slider_pagination_bg" value="<?php echo $wcps_slider_pagination_bg; ?>" />
433
 
434
- <p class="option-info"><?php _e('Pagination Text Color',wcps_textdomain);?></p>
435
  <input type="text" name="wcps_slider_pagination_text_color" class="wcps_color" id="wcps_slider_pagination_text_color" value="<?php echo $wcps_slider_pagination_text_color; ?>" />
436
 
437
- <p class="option-info"><?php _e('Pagination Number Counting',wcps_textdomain);?></p>
438
  <select name="wcps_slider_pagination_count">
439
- <option value="false" <?php if(($wcps_slider_pagination_count=="false")) echo "selected"; ?> ><?php _e('False',wcps_textdomain);?></option>
440
- <option value="true" <?php if(($wcps_slider_pagination_count=="true")) echo "selected"; ?> ><?php _e('True',wcps_textdomain);?></option>
441
 
442
  </select>
443
 
444
 
445
 
446
- <p class="option-info"><?php _e('Pagination Slide Speed',wcps_textdomain);?></p>
447
  <input type="text" placeholder="1000" id="wcps_pagination_slide_speed" name="wcps_pagination_slide_speed" value="<?php echo $wcps_pagination_slide_speed; ?>" />
448
 
449
- <p class="option-info"><?php _e('Slider Touch Drag Enabled',wcps_textdomain);?></p>
450
 
451
 
452
  <select name="wcps_slider_touch_drag">
453
- <option value="true" <?php if(($wcps_slider_touch_drag=="true")) echo "selected"; ?> ><?php _e('True',wcps_textdomain);?></option>
454
- <option value="false" <?php if(($wcps_slider_touch_drag=="false")) echo "selected"; ?> ><?php _e('False',wcps_textdomain);?></option>
455
  </select>
456
 
457
 
458
- <p class="option-info"><?php _e('Slider Mouse Drag Enabled',wcps_textdomain);?></p>
459
 
460
  <select name="wcps_slider_mouse_drag">
461
- <option value="true" <?php if(($wcps_slider_mouse_drag=="true")) echo "selected"; ?> ><?php _e('True',wcps_textdomain);?></option>
462
- <option value="false" <?php if(($wcps_slider_mouse_drag=="false")) echo "selected"; ?> ><?php _e('False',wcps_textdomain);?></option>
463
  </select>
464
 
465
 
@@ -482,7 +482,7 @@ function meta_boxes_wcps_input( $post ) {
482
  </li>
483
  <li style="display: none;" class="box3 tab-box ">
484
  <div class="option-box">
485
- <p class="option-title"><?php _e('Themes for slider',wcps_textdomain);?></p>
486
  <p class="option-info"></p>
487
  <select name="wcps_themes" >
488
  <?php
@@ -505,7 +505,7 @@ function meta_boxes_wcps_input( $post ) {
505
 
506
 
507
  <div class="option-box">
508
- <p class="option-title"><?php _e('Slider ribbon',wcps_textdomain);?></p>
509
  <p class="option-info"></p>
510
  <?php
511
 
@@ -576,19 +576,19 @@ function meta_boxes_wcps_input( $post ) {
576
 
577
 
578
  <div class="option-box">
579
- <p class="option-title"><?php _e('Container options',wcps_textdomain); ?></p>
580
- <p class="option-info"><?php _e('Padding: (ex: 10px)',wcps_textdomain); ?></p>
581
  <input type="text" placeholder="10px" name="wcps_container_padding" value="<?php echo $wcps_container_padding; ?>" />
582
 
583
- <p class="option-info"><?php _e('Background color:',wcps_textdomain); ?></p>
584
  <input type="text" class="wcps_color" name="wcps_container_bg_color" value="<?php echo $wcps_container_bg_color; ?>" />
585
 
586
- <p class="option-info"><?php _e('Background image:',wcps_textdomain); ?></p>
587
  <img class="bg_image_src" onClick="bg_img_src(this)" src="<?php echo wcps_plugin_url; ?>assets/global/images/bg/dark_embroidery.png" />
588
  <img class="bg_image_src" onClick="bg_img_src(this)" src="<?php echo wcps_plugin_url; ?>assets/global/images/bg/dimension.png" />
589
  <img class="bg_image_src" onClick="bg_img_src(this)" src="<?php echo wcps_plugin_url; ?>assets/global/images/bg/eight_horns.png" />
590
  <br />
591
- <input type="text" id="wcps_bg_img" class="wcps_bg_img" name="wcps_bg_img" value="<?php echo $wcps_bg_img; ?>" /> <div onClick="clear_container_bg_image()" class="button clear-container-bg-image"> <?php _e('Clear',wcps_textdomain); ?></div>
592
 
593
  <script>
594
 
@@ -613,11 +613,11 @@ function meta_boxes_wcps_input( $post ) {
613
 
614
 
615
  <div class="option-box">
616
- <p class="option-title"><?php _e('Items Options',wcps_textdomain); ?></p>
617
- <p class="option-info"><?php _e('Items background color',wcps_textdomain); ?></p>
618
  <input type="text" class="wcps_color" name="wcps_items_bg_color" value="<?php echo $wcps_items_bg_color; ?>" />
619
 
620
- <p class="option-info"><?php _e('Items padding',wcps_textdomain); ?></p>
621
  <input type="text" name="wcps_items_padding" placeholder="5px" value="<?php echo $wcps_items_padding; ?>" />
622
 
623
  </div>
@@ -629,17 +629,17 @@ function meta_boxes_wcps_input( $post ) {
629
  <li style="display: none;" class="box4 tab-box ">
630
 
631
  <div class="option-box">
632
- <p class="option-title"><?php _e('Total Number of Product', wcps_textdomain);?></p>
633
- <p class="option-info"><?php _e('ex: 10, to display all product please use -1', wcps_textdomain);?></p>
634
  <input type="text" placeholder="10" name="wcps_total_items" value="<?php echo $wcps_total_items; ?>" />
635
  </div>
636
 
637
  <div class="option-box">
638
- <p class="option-title"><?php _e('Query order', wcps_textdomain); ?></p>
639
  <p class="option-info"></p>
640
  <select name="wcps_query_order" >
641
- <option value="DESC" <?php if($wcps_query_order=="DESC") echo "selected"; ?>><?php _e('Descending',wcps_textdomain);?></option>
642
- <option value="ASC" <?php if($wcps_query_order=="ASC") echo "selected"; ?>><?php _e('Ascending ',wcps_textdomain);?></option>
643
 
644
  </select>
645
  </div>
@@ -650,19 +650,19 @@ function meta_boxes_wcps_input( $post ) {
650
 
651
 
652
  <div class="option-box">
653
- <p class="option-title"><?php _e('Query orderBy',wcps_textdomain); ?></p>
654
  <p class="option-info"></p>
655
  <select name="wcps_query_orderby" >
656
- <option value="none" <?php if($wcps_query_orderby=="none") echo "selected"; ?>><?php _e('None',wcps_textdomain);?></option>
657
- <option value="ID" <?php if($wcps_query_orderby=="ID") echo "selected"; ?>><?php _e('ID',wcps_textdomain);?></option>
658
- <option value="date" <?php if($wcps_query_orderby=="date") echo "selected"; ?>><?php _e('Date',wcps_textdomain);?></option>
659
- <option value="rand" <?php if($wcps_query_orderby=="rand") echo "selected"; ?>><?php _e('Rand',wcps_textdomain);?></option>
660
- <option value="comment_count" <?php if($wcps_query_orderby=="comment_count") echo "selected"; ?>><?php _e('Comment Count',wcps_textdomain);?></option>
661
- <option value="author" <?php if($wcps_query_orderby=="author") echo "selected"; ?>><?php _e('Author',wcps_textdomain);?></option>
662
- <option value="title" <?php if($wcps_query_orderby=="title") echo "selected"; ?>><?php _e('Title',wcps_textdomain);?></option>
663
- <option value="name" <?php if($wcps_query_orderby=="name") echo "selected"; ?>><?php _e('Name',wcps_textdomain);?></option>
664
- <option value="type" <?php if($wcps_query_orderby=="type") echo "selected"; ?>><?php _e('Type',wcps_textdomain);?></option>
665
- <option value="menu_order" <?php if($wcps_query_orderby=="menu_order") echo "selected"; ?>><?php _e('Menu order',wcps_textdomain);?></option>
666
 
667
  </select>
668
  </div>
@@ -670,21 +670,21 @@ function meta_boxes_wcps_input( $post ) {
670
 
671
  <div class="option-box">
672
 
673
- <p class="option-info"><?php _e('Hide out of stock items',wcps_textdomain); ?></p>
674
  <label><input <?php if($wcps_hide_out_of_stock=="yes") echo "checked";?> type="radio" name="wcps_hide_out_of_stock" value="yes" />Yes</label>
675
  <label><input <?php if($wcps_hide_out_of_stock=="no") echo "checked";?> type="radio" name="wcps_hide_out_of_stock" value="no" />No</label>
676
  <label><input <?php if($wcps_hide_out_of_stock=="no_check") echo "checked";?> type="radio" name="wcps_hide_out_of_stock" value="no_check" />No Check</label>
677
 
678
- <p class="option-info"><?php _e('Featured Product display', wcps_textdomain);?></p>
679
  <label><input <?php if($wcps_product_featured=="yes") echo "checked";?> type="radio" name="wcps_product_featured" value="yes" />Yes</label>
680
  <label><input <?php if($wcps_product_featured=="no") echo "checked";?> type="radio" name="wcps_product_featured" value="no" />No</label>
681
  <label><input <?php if($wcps_product_featured=="no_check") echo "checked";?> type="radio" name="wcps_product_featured" value="no_check" />No check</label>
682
 
683
- <p class="option-info"><?php _e('On Sale Product display', wcps_textdomain);?></p>
684
  <label><input <?php if($wcps_product_on_sale=="yes") echo "checked";?> type="radio" name="wcps_product_on_sale" value="yes" />Yes</label>
685
  <label><input <?php if($wcps_product_on_sale=="no") echo "checked";?> type="radio" name="wcps_product_on_sale" value="no" />No</label>
686
 
687
- <p class="option-info"><?php _e('Catalog visibility', wcps_textdomain);?></p>
688
  <label><input <?php if($wcps_product_visibility=="visible") echo "checked";?> type="radio" name="wcps_product_visibility" value="visible" />Shop and search results</label>
689
  <label><input <?php if($wcps_product_visibility=="catalog") echo "checked";?> type="radio" name="wcps_product_visibility" value="catalog" />Shop only</label>
690
  <label><input <?php if($wcps_product_visibility=="search") echo "checked";?> type="radio" name="wcps_product_visibility" value="search" />Search results only</label>
@@ -711,9 +711,9 @@ function meta_boxes_wcps_input( $post ) {
711
  <li style="display: none;" class="box5 tab-box">
712
 
713
  <div class="option-box">
714
- <p class="option-title"><?php _e('Slider items.', wcps_textdomain); ?></p>
715
  <p class="option-info"></p>
716
- <div class="button wcps_grid_items_reset" wcps_id="<?php echo $wcps_id; ?>"><?php _e('Reset order', wcps_textdomain);?></div>
717
  <br /><br />
718
 
719
  <?php
@@ -772,7 +772,7 @@ function meta_boxes_wcps_input( $post ) {
772
 
773
  ?>
774
  <div class="option-box">
775
- <p class="option-title"><?php _e('Slider Thumbnail Size', wcps_textdomain);?></p>
776
  <p class="option-info"></p>
777
 
778
  <?php
@@ -835,11 +835,11 @@ function meta_boxes_wcps_input( $post ) {
835
 
836
 
837
  <div class="option-box">
838
- <p class="option-title"><?php _e('Items thumbnail link\'s to', wcps_textdomain);?></p>
839
  <p class="option-info"></p>
840
  <select name="wcps_items_thumb_link_to" >
841
- <option value="product" <?php if($wcps_items_thumb_link_to=="product")echo "selected"; ?>><?php _e('Product', wcps_textdomain);?></option>
842
- <option value="category" <?php if($wcps_items_thumb_link_to=="category")echo "selected"; ?>><?php _e('Category', wcps_textdomain);?></option>
843
  </select>
844
  </div>
845
 
@@ -847,25 +847,25 @@ function meta_boxes_wcps_input( $post ) {
847
 
848
 
849
  <div class="option-box">
850
- <p class="option-title"><?php _e('Slider thumb max hieght(px)', wcps_textdomain);?></p>
851
  <p class="option-info"></p>
852
  <input type="text" name="wcps_items_thumb_max_hieght" placeholder="14px" id="wcps_items_thumb_max_hieght" value="<?php echo $wcps_items_thumb_max_hieght; ?>" />
853
  </div>
854
 
855
  <div class="option-box">
856
- <p class="option-title"><?php _e('Display Thumbnail Zoom button', wcps_textdomain);?></p>
857
  <p class="option-info"></p>
858
  <select name="wcps_items_thumb_zoom" >
859
- <option value="no" <?php if($wcps_items_thumb_zoom=="no")echo "selected"; ?>><?php _e('No', wcps_textdomain);?></option>
860
- <option value="yes" <?php if($wcps_items_thumb_zoom=="yes")echo "selected"; ?>><?php _e('Yes', wcps_textdomain);?></option>
861
 
862
  </select>
863
  </div>
864
 
865
 
866
  <div class="option-box">
867
- <p class="option-title"><?php _e('Empty Thumbnail', wcps_textdomain);?></p>
868
- <p class="option-info"><?php _e('Custom thumbnail image url', wcps_textdomain);?></p>
869
  <input type="text" name="wcps_items_empty_thumb" id="wcps_items_empty_thumb" value="<?php echo $wcps_items_empty_thumb; ?>" /><br /><br />
870
  <input id="wcps_items_empty_thumb_upload" class="wcps_items_empty_thumb_upload button" type="button" value="Upload Image" />
871
  <br /><br />
@@ -941,34 +941,34 @@ function meta_boxes_wcps_input( $post ) {
941
 
942
  ?>
943
  <div class="option-box">
944
- <p class="option-title"><?php _e('Items add to cart button Style', wcps_textdomain);?></p>
945
- <p class="option-info"><?php _e('You can hide items add to cart button on slider.', wcps_textdomain);?></p>
946
  <select name="wcps_cart_style" >
947
- <option value="default" <?php if($wcps_cart_style=="default")echo "selected"; ?>><?php _e('Default', wcps_textdomain);?></option>
948
- <option value="custom" <?php if($wcps_cart_style=="custom")echo "selected"; ?>><?php _e('Custom', wcps_textdomain);?></option>
949
  </select>
950
  </div>
951
 
952
  <div class="option-box">
953
- <p class="option-title"><?php _e('Add to cart background color', wcps_textdomain);?></p>
954
  <p class="option-info"></p>
955
  <input type="text" name="wcps_cart_bg" class="wcps_color" id="wcps_cart_bg" value="<?php echo $wcps_cart_bg; ?>" />
956
  </div>
957
 
958
  <div class="option-box">
959
- <p class="option-title"><?php _e('Add to cart text color', wcps_textdomain);?></p>
960
  <p class="option-info"></p>
961
  <input type="text" name="wcps_cart_text_color" class="wcps_color" id="wcps_cart_text_color" value="<?php echo $wcps_cart_text_color; ?>" />
962
  </div>
963
 
964
  <div class="option-box">
965
- <p class="option-title"><?php _e('Items cart text align', wcps_textdomain);?></p>
966
 
967
 
968
  <select name="wcps_cart_text_align" >
969
- <option value="left" <?php if($wcps_cart_text_align=="left")echo "selected"; ?>><?php _e('Left', wcps_textdomain);?></option>
970
- <option value="right" <?php if($wcps_cart_text_align=="right")echo "selected"; ?>><?php _e('Right', wcps_textdomain);?></option>
971
- <option value="center" <?php if($wcps_cart_text_align=="center")echo "selected"; ?>><?php _e('Center', wcps_textdomain);?></option>
972
  </select>
973
 
974
  </div>
@@ -983,7 +983,7 @@ function meta_boxes_wcps_input( $post ) {
983
  ?>
984
 
985
  <div class="option-box">
986
- <p class="option-title"><?php _e('Sale marker icon url', wcps_textdomain);?></p>
987
  <p class="option-info"></p>
988
  <input type="text" name="wcps_sale_icon_url" placeholder="" id="wcps_sale_icon_url" value="<?php echo $wcps_sale_icon_url; ?>" />
989
  </div>
@@ -1003,25 +1003,25 @@ function meta_boxes_wcps_input( $post ) {
1003
 
1004
 
1005
  <div class="option-box">
1006
- <p class="option-title"><?php _e('Items Title Color', wcps_textdomain);?></p>
1007
  <p class="option-info"></p>
1008
  <input type="text" name="wcps_items_title_color" class="wcps_color" id="wcps_items_title_color" value="<?php echo $wcps_items_title_color; ?>" />
1009
  </div>
1010
  <div class="option-box">
1011
- <p class="option-title"><?php _e('Items Title Font Size', wcps_textdomain);?></p>
1012
  <p class="option-info"></p>
1013
  <input type="text" name="wcps_items_title_font_size" placeholder="14px" id="wcps_items_title_font_size" value="<?php echo $wcps_items_title_font_size; ?>" />
1014
  </div>
1015
 
1016
 
1017
  <div class="option-box">
1018
- <p class="option-title"><?php _e('Items Title Text Align', wcps_textdomain);?></p>
1019
 
1020
 
1021
  <select name="wcps_items_title_text_align" >
1022
- <option value="left" <?php if($wcps_items_title_text_align=="left")echo "selected"; ?>><?php _e('Left', wcps_textdomain);?></option>
1023
- <option value="right" <?php if($wcps_items_title_text_align=="right")echo "selected"; ?>><?php _e('Right', wcps_textdomain);?></option>
1024
- <option value="center" <?php if($wcps_items_title_text_align=="center")echo "selected"; ?>><?php _e('Center', wcps_textdomain);?></option>
1025
  </select>
1026
 
1027
  </div>
@@ -1034,7 +1034,7 @@ function meta_boxes_wcps_input( $post ) {
1034
  ?>
1035
 
1036
  <div class="option-box">
1037
- <p class="option-title"><?php _e('Featured marker icon url', wcps_textdomain);?></p>
1038
  <p class="option-info"></p>
1039
  <input type="text" name="wcps_featured_icon_url" placeholder="" id="wcps_featured_icon_url" value="<?php echo $wcps_featured_icon_url; ?>" />
1040
  </div>
@@ -1046,12 +1046,12 @@ function meta_boxes_wcps_input( $post ) {
1046
  ?>
1047
 
1048
  <div class="option-box">
1049
- <p class="option-title"><?php _e('Price format on slider', wcps_textdomain);?></p>
1050
  <p class="option-info"></p>
1051
  <select name="wcps_items_price_format">
1052
- <option value="full" <?php if(($wcps_items_price_format=="full")) echo "selected"; ?> ><?php _e('Full Format', wcps_textdomain);?></option>
1053
- <option value="sale" <?php if(($wcps_items_price_format=="sale")) echo "selected"; ?> ><?php _e('Sale price', wcps_textdomain);?></option>
1054
- <option value="regular" <?php if(($wcps_items_price_format=="regular")) echo "selected"; ?> ><?php _e('Regular price', wcps_textdomain);?></option>
1055
  </select>
1056
 
1057
  </div>
@@ -1060,13 +1060,13 @@ function meta_boxes_wcps_input( $post ) {
1060
 
1061
 
1062
  <div class="option-box">
1063
- <p class="option-title"><?php _e('Items price Color', wcps_textdomain);?></p>
1064
  <p class="option-info"></p>
1065
  <input type="text" name="wcps_items_price_color" class="wcps_color" id="wcps_items_price_color" value="<?php echo $wcps_items_price_color; ?>" />
1066
  </div>
1067
 
1068
  <div class="option-box">
1069
- <p class="option-title"><?php _e('Items price font size', wcps_textdomain);?></p>
1070
  <p class="option-info"></p>
1071
  <input type="text" name="wcps_items_price_font_size" placeholder="14px" id="wcps_items_price_font_size" value="<?php echo $wcps_items_price_font_size; ?>" />
1072
  </div>
@@ -1074,13 +1074,13 @@ function meta_boxes_wcps_input( $post ) {
1074
 
1075
 
1076
  <div class="option-box">
1077
- <p class="option-title"><?php _e('Price text align', wcps_textdomain);?></p>
1078
 
1079
 
1080
  <select name="wcps_items_price_text_align" >
1081
- <option value="left" <?php if($wcps_items_price_text_align=="left")echo "selected"; ?>><?php _e('Left', wcps_textdomain);?></option>
1082
- <option value="right" <?php if($wcps_items_price_text_align=="right")echo "selected"; ?>><?php _e('Right', wcps_textdomain);?></option>
1083
- <option value="center" <?php if($wcps_items_price_text_align=="center")echo "selected"; ?>><?php _e('Center', wcps_textdomain);?></option>
1084
  </select>
1085
 
1086
  </div>
@@ -1099,27 +1099,27 @@ function meta_boxes_wcps_input( $post ) {
1099
  ?>
1100
 
1101
  <div class="option-box">
1102
- <p class="option-title"><?php _e('Items rating text align', wcps_textdomain);?></p>
1103
 
1104
 
1105
  <select name="wcps_ratings_text_align" >
1106
- <option value="left" <?php if($wcps_ratings_text_align=="left")echo "selected"; ?>><?php _e('Left', wcps_textdomain);?></option>
1107
- <option value="right" <?php if($wcps_ratings_text_align=="right")echo "selected"; ?>><?php _e('Right', wcps_textdomain);?></option>
1108
- <option value="center" <?php if($wcps_ratings_text_align=="center")echo "selected"; ?>><?php _e('Center', wcps_textdomain);?></option>
1109
  </select>
1110
 
1111
  </div>
1112
 
1113
 
1114
  <div class="option-box">
1115
- <p class="option-title"><?php _e('Items ratings font size', wcps_textdomain);?></p>
1116
  <p class="option-info"></p>
1117
  <input type="text" name="wcps_items_ratings_font_size" placeholder="14px" id="wcps_items_ratings_font_size" value="<?php echo $wcps_items_ratings_font_size; ?>" />
1118
  </div>
1119
 
1120
 
1121
  <div class="option-box">
1122
- <p class="option-title"><?php _e('Items ratings color', wcps_textdomain);?></p>
1123
  <p class="option-info"></p>
1124
  <input type="text" name="wcps_items_ratings_color" class="wcps_color" id="wcps_items_ratings_color" value="<?php echo $wcps_items_ratings_color; ?>" />
1125
  </div>
@@ -1136,38 +1136,38 @@ function meta_boxes_wcps_input( $post ) {
1136
 
1137
  ?>
1138
  <div class="option-box">
1139
- <p class="option-title"><?php _e('Excerpt word count', wcps_textdomain);?></p>
1140
  <p class="option-info"></p>
1141
  <input type="text" name="wcps_items_excerpt_count" placeholder="30" id="wcps_items_excerpt_count" value="<?php echo $wcps_items_excerpt_count; ?>" />
1142
  </div>
1143
 
1144
  <div class="option-box">
1145
- <p class="option-title"><?php _e('Excerpt read more text', wcps_textdomain);?></p>
1146
  <p class="option-info"></p>
1147
  <input type="text" name="wcps_items_excerpt_read_more" placeholder="View product." id="wcps_items_excerpt_read_more" value="<?php echo $wcps_items_excerpt_read_more; ?>" />
1148
  </div>
1149
 
1150
  <div class="option-box">
1151
- <p class="option-title"><?php _e('Items excerpt font size', wcps_textdomain);?></p>
1152
  <p class="option-info"></p>
1153
  <input type="text" name="wcps_items_excerpt_font_size" placeholder="14px" id="wcps_items_excerpt_font_size" value="<?php echo $wcps_items_excerpt_font_size; ?>" />
1154
  </div>
1155
 
1156
 
1157
  <div class="option-box">
1158
- <p class="option-title"><?php _e('Excerpt text align', wcps_textdomain);?></p>
1159
 
1160
 
1161
  <select name="wcps_items_excerpt_text_align" >
1162
- <option value="left" <?php if($wcps_items_excerpt_text_align=="left")echo "selected"; ?>><?php _e('Left', wcps_textdomain);?></option>
1163
- <option value="right" <?php if($wcps_items_excerpt_text_align=="right")echo "selected"; ?>><?php _e('Right', wcps_textdomain);?></option>
1164
- <option value="center" <?php if($wcps_items_excerpt_text_align=="center")echo "selected"; ?>><?php _e('Center', wcps_textdomain);?></option>
1165
  </select>
1166
 
1167
  </div>
1168
 
1169
  <div class="option-box">
1170
- <p class="option-title"><?php _e('Items excerpt font color', wcps_textdomain);?></p>
1171
  <p class="option-info"></p>
1172
  <input type="text" class="wcps_color" name="wcps_items_excerpt_font_color" placeholder="" id="wcps_items_excerpt_font_color" value="<?php echo $wcps_items_excerpt_font_color; ?>" />
1173
  </div>
@@ -1187,22 +1187,22 @@ function meta_boxes_wcps_input( $post ) {
1187
  elseif($item_key=='category'){
1188
  ?>
1189
  <div class="option-box">
1190
- <p class="option-title"><?php _e('Items category font size', wcps_textdomain);?></p>
1191
  <p class="option-info"></p>
1192
  <input type="text" name="wcps_items_cat_font_size" placeholder="14px" id="wcps_items_cat_font_size" value="<?php echo $wcps_items_cat_font_size; ?>" />
1193
  </div>
1194
  <div class="option-box">
1195
- <p class="option-title"><?php _e('Category text align', wcps_textdomain);?></p>
1196
 
1197
  <select name="wcps_items_cat_text_align" >
1198
- <option value="left" <?php if($wcps_items_cat_text_align=="left")echo "selected"; ?>><?php _e('Left', wcps_textdomain);?></option>
1199
- <option value="right" <?php if($wcps_items_cat_text_align=="right")echo "selected"; ?>><?php _e('Right', wcps_textdomain);?></option>
1200
- <option value="center" <?php if($wcps_items_cat_text_align=="center")echo "selected"; ?>><?php _e('Center', wcps_textdomain);?></option>
1201
  </select>
1202
 
1203
  </div>
1204
  <div class="option-box">
1205
- <p class="option-title"><?php _e('Items category font color', wcps_textdomain);?></p>
1206
  <p class="option-info"></p>
1207
  <input type="text" class="wcps_color" name="wcps_items_cat_font_color" placeholder="" id="wcps_items_cat_font_color" value="<?php echo $wcps_items_cat_font_color; ?>" />
1208
  </div>
@@ -1213,22 +1213,22 @@ function meta_boxes_wcps_input( $post ) {
1213
  elseif( $item_key=='tag'){
1214
  ?>
1215
  <div class="option-box">
1216
- <p class="option-title"><?php _e('Items tag font size', wcps_textdomain);?></p>
1217
  <p class="option-info"></p>
1218
  <input type="text" name="wcps_items_tag_font_size" placeholder="14px" id="wcps_items_tag_font_size" value="<?php echo $wcps_items_tag_font_size; ?>" />
1219
  </div>
1220
  <div class="option-box">
1221
- <p class="option-title"><?php _e('Tag text align', wcps_textdomain);?></p>
1222
 
1223
  <select name="wcps_items_tag_text_align" >
1224
- <option value="left" <?php if($wcps_items_tag_text_align=="left")echo "selected"; ?>><?php _e('Left', wcps_textdomain);?></option>
1225
- <option value="right" <?php if($wcps_items_tag_text_align=="right")echo "selected"; ?>><?php _e('Right', wcps_textdomain);?></option>
1226
- <option value="center" <?php if($wcps_items_tag_text_align=="center")echo "selected"; ?>><?php _e('Center', wcps_textdomain);?></option>
1227
  </select>
1228
 
1229
  </div>
1230
  <div class="option-box">
1231
- <p class="option-title"><?php _e('Items tag font color', wcps_textdomain);?></p>
1232
  <p class="option-info"></p>
1233
  <input type="text" class="wcps_color" name="wcps_items_tag_font_color" placeholder="" id="wcps_items_tag_font_color" value="<?php echo $wcps_items_tag_font_color; ?>" />
1234
  </div>
@@ -1239,22 +1239,22 @@ function meta_boxes_wcps_input( $post ) {
1239
  elseif( $item_key=='sku'){
1240
  ?>
1241
  <div class="option-box">
1242
- <p class="option-title"><?php _e('Items SKU font size', wcps_textdomain);?></p>
1243
  <p class="option-info"></p>
1244
  <input type="text" name="wcps_items_sku_font_size" placeholder="14px" id="wcps_items_sku_font_size" value="<?php echo $wcps_items_sku_font_size; ?>" />
1245
  </div>
1246
  <div class="option-box">
1247
- <p class="option-title"><?php _e('SKU text align', wcps_textdomain);?></p>
1248
 
1249
  <select name="wcps_items_sku_text_align" >
1250
- <option value="left" <?php if($wcps_items_sku_text_align=="left")echo "selected"; ?>><?php _e('Left', wcps_textdomain);?></option>
1251
- <option value="right" <?php if($wcps_items_sku_text_align=="right")echo "selected"; ?>><?php _e('Right', wcps_textdomain);?></option>
1252
- <option value="center" <?php if($wcps_items_sku_text_align=="center")echo "selected"; ?>><?php _e('Center', wcps_textdomain);?></option>
1253
  </select>
1254
 
1255
  </div>
1256
  <div class="option-box">
1257
- <p class="option-title"><?php _e('Items SKU font color', wcps_textdomain);?></p>
1258
  <p class="option-info"></p>
1259
  <input type="text" class="wcps_color" name="wcps_items_sku_font_color" placeholder="" id="wcps_items_sku_font_color" value="<?php echo $wcps_items_sku_font_color; ?>" />
1260
  </div>
@@ -1302,8 +1302,8 @@ function meta_boxes_wcps_input( $post ) {
1302
 
1303
  <li style="display: none;" class="box6 tab-box">
1304
  <div class="option-box">
1305
- <p class="option-title"><?php _e('Custom CSS for this slider.',wcps_textdomain); ?></p>
1306
- <p class="option-info"><?php _e('Do not use &lt;style>&lt;/style> tag, you can use bellow prefix to your css, sometime you need use "!important" to overrid.',wcps_textdomain);?>
1307
  <br/>
1308
  <b>#wcps-<?php
1309
 
10
  function wcps_posttype_register() {
11
 
12
  $labels = array(
13
+ 'name' => __('WCPS', 'woocommerce-products-slider'),
14
+ 'singular_name' => __('WCPS', 'woocommerce-products-slider'),
15
+ 'add_new' => __('New WCPS', 'woocommerce-products-slider'),
16
+ 'add_new_item' => __('New WCPS','woocommerce-products-slider'),
17
+ 'edit_item' => __('Edit WCPS','woocommerce-products-slider'),
18
+ 'new_item' => __('New WCPS','woocommerce-products-slider'),
19
+ 'view_item' => __('View WCPS','woocommerce-products-slider'),
20
+ 'search_items' => __('Search WCPS','woocommerce-products-slider'),
21
+ 'not_found' => __('Nothing found','woocommerce-products-slider'),
22
+ 'not_found_in_trash' => __('Nothing found in Trash','woocommerce-products-slider'),
23
  'parent_item_colon' => ''
24
  );
25
 
57
  $screens = array( 'wcps' );
58
  foreach ( $screens as $screen )
59
  {
60
+ add_meta_box('wcps_metabox',__( 'Woocommerce Products Slider Options','woocommerce-products-slider' ),'meta_boxes_wcps_input', $screen);
61
  }
62
  }
63
  add_action( 'add_meta_boxes', 'meta_boxes_wcps' );
193
  if(empty($wcps_items_excerpt_count)){$wcps_items_excerpt_count = 20;}
194
 
195
  $wcps_items_excerpt_read_more = get_post_meta( $post->ID, 'wcps_items_excerpt_read_more', true );
196
+ if(empty($wcps_items_excerpt_read_more)){$wcps_items_excerpt_read_more = __('View product.', 'woocommerce-products-slider');}
197
 
198
  $wcps_items_excerpt_text_align = get_post_meta( $post->ID, 'wcps_items_excerpt_text_align', true );
199
  $wcps_items_excerpt_font_size = get_post_meta( $post->ID, 'wcps_items_excerpt_font_size', true );
245
 
246
  <div class="para-settings">
247
  <ul class="tab-nav">
248
+ <li nav="1" class="nav1 active"><i class="fa fa-code"></i> <?php _e('Shortcode','woocommerce-products-slider');?></li>
249
+ <li nav="2" class="nav2"><i class="fa fa-cogs"></i> <?php _e('Options','woocommerce-products-slider');?></li>
250
+ <li nav="3" class="nav3"><i class="fa fa-diamond"></i> <?php _e('Style','woocommerce-products-slider');?></li>
251
+ <li nav="4" class="nav4"><i class="fa fa-pencil-square-o"></i> <?php _e('Query Product','woocommerce-products-slider');?></li>
252
+ <li nav="5" class="nav5"><i class="fa fa-pencil-square-o"></i> <?php _e('Elements', 'woocommerce-products-slider');?></li>
253
+ <li nav="6" class="nav6"><i class="fa fa-bug"></i> <?php _e('Custom CSS','woocommerce-products-slider');?></li>
254
  </ul> <!-- tab-nav end -->
255
 
256
  <ul class="box">
257
  <li style="display: block;" class="box1 tab-box active">
258
 
259
  <div class="option-box">
260
+ <p class="option-title"><?php _e('Shortcode','woocommerce-products-slider');?></p>
261
  <p class="option-info">
262
+ <?php _e('Copy this shortcode and paste on page or post where you want to display slider.','woocommerce-products-slider');?>
263
  <br />
264
+ <?php _e('Use PHP code to your themes file to display slider.','woocommerce-products-slider');?>
265
  </p>
266
  <textarea cols="50" rows="1" style="background:#bfefff" onClick="this.select();" >[wcps <?php echo 'id="'.$post->ID.'"';?>]</textarea>
267
  <br /><br />
276
 
277
 
278
  <div class="option-box">
279
+ <p class="option-title"><?php _e('Slider column number','woocommerce-products-slider');?></p>
280
 
281
+ <p class="option-info"><?php _e('In Destop: (min:1000px and max)','woocommerce-products-slider');?></p>
282
  <input type="text" placeholder="4" name="wcps_column_number" value="<?php echo $wcps_column_number; ?>" />
283
 
284
+ <p class="option-info"><?php _e('In Tablet & Small Desktop: (900px max width)','woocommerce-products-slider');?></p>
285
  <input type="text" placeholder="2" name="wcps_column_number_tablet" value="<?php echo $wcps_column_number_tablet; ?>" />
286
 
287
+ <p class="option-info"><?php _e('In Mobile: (479px max width)','woocommerce-products-slider');?></p>
288
  <input type="text" placeholder="1" name="wcps_column_number_mobile" value="<?php echo $wcps_column_number_mobile; ?>" />
289
 
290
 
292
  </div>
293
 
294
  <div class="option-box">
295
+ <p class="option-info"><?php _e('Slider Auto Play','woocommerce-products-slider');?></p>
296
 
297
 
298
  <select name="wcps_auto_play">
299
+ <option value="true" <?php if(($wcps_auto_play=="true")) echo "selected"; ?> ><?php _e('True','woocommerce-products-slider');?></option>
300
+ <option value="false" <?php if(($wcps_auto_play=="false")) echo "selected"; ?> ><?php _e('False','woocommerce-products-slider');?></option>
301
  </select>
302
 
303
 
304
+ <p class="option-info"><?php _e('Slider Auto Play Speed','woocommerce-products-slider');?></p>
305
  <input type="text" placeholder="500" id="wcps_auto_play_speed" name="wcps_auto_play_speed" value="<?php echo $wcps_auto_play_speed; ?>" />
306
 
307
+ <p class="option-info"><?php _e('Slider Auto Play Timeout','woocommerce-products-slider');?></p>
308
  <input type="text" placeholder="500" id="wcps_auto_play_timeout" name="wcps_auto_play_timeout" value="<?php echo $wcps_auto_play_timeout; ?>" />
309
 
310
 
311
 
312
+ <p class="option-info"><?php _e('Slider rewind', 'woocommerce-products-slider');?></p>
313
  <select name="wcps_rewind">
314
+ <option value="true" <?php if(($wcps_rewind=="true")) echo "selected"; ?> ><?php _e('True', 'woocommerce-products-slider');?></option>
315
+ <option value="false" <?php if(($wcps_rewind=="false")) echo "selected"; ?> ><?php _e('False', 'woocommerce-products-slider');?></option>
316
  </select>
317
 
318
+ <p class="option-info"><?php _e('Slider loop', 'woocommerce-products-slider');?></p>
319
  <select name="wcps_loop">
320
+ <option value="true" <?php if(($wcps_loop=="true")) echo "selected"; ?> ><?php _e('True', 'woocommerce-products-slider');?></option>
321
+ <option value="false" <?php if(($wcps_loop=="false")) echo "selected"; ?> ><?php _e('False', 'woocommerce-products-slider');?></option>
322
  </select>
323
 
324
+ <p class="option-info"><?php _e('Slider center', 'woocommerce-products-slider');?></p>
325
  <select name="wcps_center">
326
+ <option value="true" <?php if(($wcps_center=="true")) echo "selected"; ?> ><?php _e('True', 'woocommerce-products-slider');?></option>
327
+ <option value="false" <?php if(($wcps_center=="false")) echo "selected"; ?> ><?php _e('False', 'woocommerce-products-slider');?></option>
328
  </select>
329
 
330
+ <p class="option-info"><?php _e('RTL Enabled', 'woocommerce-products-slider');?></p>
331
 
332
  <select name="wcps_slider_rtl">
333
+ <option value="false" <?php if(($wcps_slider_rtl=="false")) echo "selected"; ?> ><?php _e('False', 'woocommerce-products-slider');?></option>
334
+ <option value="true" <?php if(($wcps_slider_rtl=="true")) echo "selected"; ?> ><?php _e('True', 'woocommerce-products-slider');?></option>
335
 
336
  </select>
337
 
338
 
339
 
340
+ <p class="option-info"><?php _e('Animate Out', 'woocommerce-products-slider');?></p>
341
 
342
  <select name="wcps_slider_animateout">
343
+ <option value="fadeOut" <?php if(($wcps_slider_animateout=="fadeOut")) echo "selected"; ?> ><?php _e('fadeOut', 'woocommerce-products-slider');?></option>
344
+ <option value="bounce" <?php if(($wcps_slider_animateout=="bounce")) echo "selected"; ?> ><?php _e('bounce', 'woocommerce-products-slider');?></option>
345
+ <option value="flash" <?php if(($wcps_slider_animateout=="flash")) echo "selected"; ?> ><?php _e('flash', 'woocommerce-products-slider');?></option>
346
+ <option value="pulse" <?php if(($wcps_slider_animateout=="pulse")) echo "selected"; ?> ><?php _e('pulse', 'woocommerce-products-slider');?></option>
347
 
348
 
349
+ <option value="shake" <?php if($wcps_slider_animateout=="shake")echo "selected"; ?>><?php _e('Shake', 'woocommerce-products-slider');?></option>
350
+ <option value="swing" <?php if($wcps_slider_animateout=="swing")echo "selected"; ?>><?php _e('Swing', 'woocommerce-products-slider');?></option>
351
+ <option value="tada" <?php if($wcps_slider_animateout=="tada")echo "selected"; ?>><?php _e('Tada', 'woocommerce-products-slider');?></option>
352
+ <option value="wobble" <?php if($wcps_slider_animateout=="wobble")echo "selected"; ?>><?php _e('Wobble', 'woocommerce-products-slider');?></option>
353
+ <option value="flip" <?php if($wcps_slider_animateout=="flip")echo "selected"; ?>><?php _e('flip', 'woocommerce-products-slider');?></option>
354
+ <option value="flipInX" <?php if($wcps_slider_animateout=="flipInX")echo "selected"; ?>><?php _e('flipInX', 'woocommerce-products-slider');?></option>
355
+ <option value="flipInY" <?php if($wcps_slider_animateout=="flipInY")echo "selected"; ?>><?php _e('flipInY', 'woocommerce-products-slider');?></option>
356
+ <option value="fadeIn" <?php if($wcps_slider_animateout=="fadeIn")echo "selected"; ?>><?php _e('fadeIn', 'woocommerce-products-slider');?></option>
357
+ <option value="fadeInDown" <?php if($wcps_slider_animateout=="fadeInDown")echo "selected"; ?>><?php _e('fadeInDown', 'woocommerce-products-slider');?></option>
358
+ <option value="fadeInUp" <?php if($wcps_slider_animateout=="fadeInUp")echo "selected"; ?>><?php _e('fadeInUp', 'woocommerce-products-slider');?></option>
359
+ <option value="bounceIn" <?php if($wcps_slider_animateout=="bounceIn")echo "selected"; ?>><?php _e('bounceIn', 'woocommerce-products-slider');?></option>
360
+ <option value="bounceInDown" <?php if($wcps_slider_animateout=="bounceInDown")echo "selected"; ?>><?php _e('bounceInDown', 'woocommerce-products-slider');?></option>
361
+ <option value="bounceInUp" <?php if($wcps_slider_animateout=="bounceInUp")echo "selected"; ?>><?php _e('bounceInUp', 'woocommerce-products-slider');?></option>
362
 
363
 
364
 
368
 
369
 
370
 
371
+ <p class="option-info"><?php _e('Animate In', 'woocommerce-products-slider');?></p>
372
 
373
  <select name="wcps_slider_animatein">
374
+ <option value="fadeOut" <?php if(($wcps_slider_animatein=="fadeOut")) echo "selected"; ?> ><?php _e('fadeOut', 'woocommerce-products-slider');?></option>
375
+ <option value="bounce" <?php if(($wcps_slider_animatein=="bounce")) echo "selected"; ?> ><?php _e('bounce', 'woocommerce-products-slider');?></option>
376
+ <option value="flash" <?php if(($wcps_slider_animatein=="flash")) echo "selected"; ?> ><?php _e('flash', 'woocommerce-products-slider');?></option>
377
+ <option value="pulse" <?php if(($wcps_slider_animatein=="pulse")) echo "selected"; ?> ><?php _e('pulse', 'woocommerce-products-slider');?></option>
378
 
379
+ <option value="shake" <?php if($wcps_slider_animatein=="shake")echo "selected"; ?>><?php _e('Shake', 'woocommerce-products-slider');?></option>
380
+ <option value="swing" <?php if($wcps_slider_animatein=="swing")echo "selected"; ?>><?php _e('Swing', 'woocommerce-products-slider');?></option>
381
+ <option value="tada" <?php if($wcps_slider_animatein=="tada")echo "selected"; ?>><?php _e('Tada', 'woocommerce-products-slider');?></option>
382
+ <option value="wobble" <?php if($wcps_slider_animatein=="wobble")echo "selected"; ?>><?php _e('Wobble', 'woocommerce-products-slider');?></option>
383
+ <option value="flip" <?php if($wcps_slider_animatein=="flip")echo "selected"; ?>><?php _e('flip', 'woocommerce-products-slider');?></option>
384
+ <option value="flipInX" <?php if($wcps_slider_animatein=="flipInX")echo "selected"; ?>><?php _e('flipInX', 'woocommerce-products-slider');?></option>
385
+ <option value="flipInY" <?php if($wcps_slider_animatein=="flipInY")echo "selected"; ?>><?php _e('flipInY', 'woocommerce-products-slider');?></option>
386
+ <option value="fadeIn" <?php if($wcps_slider_animatein=="fadeIn")echo "selected"; ?>><?php _e('fadeIn', 'woocommerce-products-slider');?></option>
387
+ <option value="fadeInDown" <?php if($wcps_slider_animatein=="fadeInDown")echo "selected"; ?>><?php _e('fadeInDown', 'woocommerce-products-slider');?></option>
388
+ <option value="fadeInUp" <?php if($wcps_slider_animatein=="fadeInUp")echo "selected"; ?>><?php _e('fadeInUp', 'woocommerce-products-slider');?></option>
389
+ <option value="bounceIn" <?php if($wcps_slider_animatein=="bounceIn")echo "selected"; ?>><?php _e('bounceIn', 'woocommerce-products-slider');?></option>
390
+ <option value="bounceInDown" <?php if($wcps_slider_animatein=="bounceInDown")echo "selected"; ?>><?php _e('bounceInDown', 'woocommerce-products-slider');?></option>
391
+ <option value="bounceInUp" <?php if($wcps_slider_animatein=="bounceInUp")echo "selected"; ?>><?php _e('bounceInUp', 'woocommerce-products-slider');?></option>
392
 
393
  </select>
394
 
395
+ <p class="option-info"><?php _e('Slider Stop on Hover','woocommerce-products-slider');?></p>
396
 
397
  <select name="wcps_stop_on_hover">
398
+ <option value="true" <?php if(($wcps_stop_on_hover=="true")) echo "selected"; ?> ><?php _e('True','woocommerce-products-slider');?></option>
399
+ <option value="false" <?php if(($wcps_stop_on_hover=="false")) echo "selected"; ?> ><?php _e('False','woocommerce-products-slider');?></option>
400
  </select>
401
 
402
+ <p class="option-info"><?php _e('Slider Navigation at Top','woocommerce-products-slider');?></p>
403
 
404
  <select name="wcps_slider_navigation">
405
+ <option value="true" <?php if(($wcps_slider_navigation=="true")) echo "selected"; ?> ><?php _e('True','woocommerce-products-slider');?></option>
406
+ <option value="false" <?php if(($wcps_slider_navigation=="false")) echo "selected"; ?> ><?php _e('False','woocommerce-products-slider');?></option>
407
  </select>
408
 
409
 
410
+ <p class="option-info"><?php _e('Slider Navigation Position','woocommerce-products-slider');?></p>
411
  <select name="wcps_slider_navigation_position">
412
+ <option value="topright" <?php if(($wcps_slider_navigation_position=="topright")) echo "selected"; ?> ><?php _e('Top Right','woocommerce-products-slider');?></option>
413
+ <option value="middle" <?php if(($wcps_slider_navigation_position=="middle")) echo "selected"; ?> ><?php _e('Middle','woocommerce-products-slider');?></option>
414
+ <option value="middle-fixed" <?php if(($wcps_slider_navigation_position=="middle-fixed")) echo "selected"; ?> ><?php _e('Middle fixed','woocommerce-products-slider');?></option>
415
 
416
  </select>
417
 
418
+ <p class="option-info"><?php _e('Slide Speed','woocommerce-products-slider');?></p>
419
  <input type="text" placeholder="1000" id="wcps_slide_speed" name="wcps_slide_speed" value="<?php echo $wcps_slide_speed; ?>" />
420
 
421
 
422
+ <p class="option-info"><?php _e('Slider Pagination at Bottom','woocommerce-products-slider');?></p>
423
 
424
  <select name="wcps_slider_pagination">
425
+ <option value="true" <?php if(($wcps_slider_pagination=="true")) echo "selected"; ?> ><?php _e('True','woocommerce-products-slider');?></option>
426
+ <option value="false" <?php if(($wcps_slider_pagination=="false")) echo "selected"; ?> ><?php _e('False','woocommerce-products-slider');?></option>
427
  </select>
428
 
429
 
430
 
431
+ <p class="option-info"><?php _e('Pagination Background Color','woocommerce-products-slider');?></p>
432
  <input type="text" name="wcps_slider_pagination_bg" class="wcps_color" id="wcps_slider_pagination_bg" value="<?php echo $wcps_slider_pagination_bg; ?>" />
433
 
434
+ <p class="option-info"><?php _e('Pagination Text Color','woocommerce-products-slider');?></p>
435
  <input type="text" name="wcps_slider_pagination_text_color" class="wcps_color" id="wcps_slider_pagination_text_color" value="<?php echo $wcps_slider_pagination_text_color; ?>" />
436
 
437
+ <p class="option-info"><?php _e('Pagination Number Counting','woocommerce-products-slider');?></p>
438
  <select name="wcps_slider_pagination_count">
439
+ <option value="false" <?php if(($wcps_slider_pagination_count=="false")) echo "selected"; ?> ><?php _e('False','woocommerce-products-slider');?></option>
440
+ <option value="true" <?php if(($wcps_slider_pagination_count=="true")) echo "selected"; ?> ><?php _e('True','woocommerce-products-slider');?></option>
441
 
442
  </select>
443
 
444
 
445
 
446
+ <p class="option-info"><?php _e('Pagination Slide Speed','woocommerce-products-slider');?></p>
447
  <input type="text" placeholder="1000" id="wcps_pagination_slide_speed" name="wcps_pagination_slide_speed" value="<?php echo $wcps_pagination_slide_speed; ?>" />
448
 
449
+ <p class="option-info"><?php _e('Slider Touch Drag Enabled','woocommerce-products-slider');?></p>
450
 
451
 
452
  <select name="wcps_slider_touch_drag">
453
+ <option value="true" <?php if(($wcps_slider_touch_drag=="true")) echo "selected"; ?> ><?php _e('True','woocommerce-products-slider');?></option>
454
+ <option value="false" <?php if(($wcps_slider_touch_drag=="false")) echo "selected"; ?> ><?php _e('False','woocommerce-products-slider');?></option>
455
  </select>
456
 
457
 
458
+ <p class="option-info"><?php _e('Slider Mouse Drag Enabled','woocommerce-products-slider');?></p>
459
 
460
  <select name="wcps_slider_mouse_drag">
461
+ <option value="true" <?php if(($wcps_slider_mouse_drag=="true")) echo "selected"; ?> ><?php _e('True','woocommerce-products-slider');?></option>
462
+ <option value="false" <?php if(($wcps_slider_mouse_drag=="false")) echo "selected"; ?> ><?php _e('False','woocommerce-products-slider');?></option>
463
  </select>
464
 
465
 
482
  </li>
483
  <li style="display: none;" class="box3 tab-box ">
484
  <div class="option-box">
485
+ <p class="option-title"><?php _e('Themes for slider','woocommerce-products-slider');?></p>
486
  <p class="option-info"></p>
487
  <select name="wcps_themes" >
488
  <?php
505
 
506
 
507
  <div class="option-box">
508
+ <p class="option-title"><?php _e('Slider ribbon','woocommerce-products-slider');?></p>
509
  <p class="option-info"></p>
510
  <?php
511
 
576
 
577
 
578
  <div class="option-box">
579
+ <p class="option-title"><?php _e('Container options','woocommerce-products-slider'); ?></p>
580
+ <p class="option-info"><?php _e('Padding: (ex: 10px)','woocommerce-products-slider'); ?></p>
581
  <input type="text" placeholder="10px" name="wcps_container_padding" value="<?php echo $wcps_container_padding; ?>" />
582
 
583
+ <p class="option-info"><?php _e('Background color:','woocommerce-products-slider'); ?></p>
584
  <input type="text" class="wcps_color" name="wcps_container_bg_color" value="<?php echo $wcps_container_bg_color; ?>" />
585
 
586
+ <p class="option-info"><?php _e('Background image:','woocommerce-products-slider'); ?></p>
587
  <img class="bg_image_src" onClick="bg_img_src(this)" src="<?php echo wcps_plugin_url; ?>assets/global/images/bg/dark_embroidery.png" />
588
  <img class="bg_image_src" onClick="bg_img_src(this)" src="<?php echo wcps_plugin_url; ?>assets/global/images/bg/dimension.png" />
589
  <img class="bg_image_src" onClick="bg_img_src(this)" src="<?php echo wcps_plugin_url; ?>assets/global/images/bg/eight_horns.png" />
590
  <br />
591
+ <input type="text" id="wcps_bg_img" class="wcps_bg_img" name="wcps_bg_img" value="<?php echo $wcps_bg_img; ?>" /> <div onClick="clear_container_bg_image()" class="button clear-container-bg-image"> <?php _e('Clear','woocommerce-products-slider'); ?></div>
592
 
593
  <script>
594
 
613
 
614
 
615
  <div class="option-box">
616
+ <p class="option-title"><?php _e('Items Options','woocommerce-products-slider'); ?></p>
617
+ <p class="option-info"><?php _e('Items background color','woocommerce-products-slider'); ?></p>
618
  <input type="text" class="wcps_color" name="wcps_items_bg_color" value="<?php echo $wcps_items_bg_color; ?>" />
619
 
620
+ <p class="option-info"><?php _e('Items padding','woocommerce-products-slider'); ?></p>
621
  <input type="text" name="wcps_items_padding" placeholder="5px" value="<?php echo $wcps_items_padding; ?>" />
622
 
623
  </div>
629
  <li style="display: none;" class="box4 tab-box ">
630
 
631
  <div class="option-box">
632
+ <p class="option-title"><?php _e('Total Number of Product', 'woocommerce-products-slider');?></p>
633
+ <p class="option-info"><?php _e('ex: 10, to display all product please use -1', 'woocommerce-products-slider');?></p>
634
  <input type="text" placeholder="10" name="wcps_total_items" value="<?php echo $wcps_total_items; ?>" />
635
  </div>
636
 
637
  <div class="option-box">
638
+ <p class="option-title"><?php _e('Query order', 'woocommerce-products-slider'); ?></p>
639
  <p class="option-info"></p>
640
  <select name="wcps_query_order" >
641
+ <option value="DESC" <?php if($wcps_query_order=="DESC") echo "selected"; ?>><?php _e('Descending','woocommerce-products-slider');?></option>
642
+ <option value="ASC" <?php if($wcps_query_order=="ASC") echo "selected"; ?>><?php _e('Ascending ','woocommerce-products-slider');?></option>
643
 
644
  </select>
645
  </div>
650
 
651
 
652
  <div class="option-box">
653
+ <p class="option-title"><?php _e('Query orderBy','woocommerce-products-slider'); ?></p>
654
  <p class="option-info"></p>
655
  <select name="wcps_query_orderby" >
656
+ <option value="none" <?php if($wcps_query_orderby=="none") echo "selected"; ?>><?php _e('None','woocommerce-products-slider');?></option>
657
+ <option value="ID" <?php if($wcps_query_orderby=="ID") echo "selected"; ?>><?php _e('ID','woocommerce-products-slider');?></option>
658
+ <option value="date" <?php if($wcps_query_orderby=="date") echo "selected"; ?>><?php _e('Date','woocommerce-products-slider');?></option>
659
+ <option value="rand" <?php if($wcps_query_orderby=="rand") echo "selected"; ?>><?php _e('Rand','woocommerce-products-slider');?></option>
660
+ <option value="comment_count" <?php if($wcps_query_orderby=="comment_count") echo "selected"; ?>><?php _e('Comment Count','woocommerce-products-slider');?></option>
661
+ <option value="author" <?php if($wcps_query_orderby=="author") echo "selected"; ?>><?php _e('Author','woocommerce-products-slider');?></option>
662
+ <option value="title" <?php if($wcps_query_orderby=="title") echo "selected"; ?>><?php _e('Title','woocommerce-products-slider');?></option>
663
+ <option value="name" <?php if($wcps_query_orderby=="name") echo "selected"; ?>><?php _e('Name','woocommerce-products-slider');?></option>
664
+ <option value="type" <?php if($wcps_query_orderby=="type") echo "selected"; ?>><?php _e('Type','woocommerce-products-slider');?></option>
665
+ <option value="menu_order" <?php if($wcps_query_orderby=="menu_order") echo "selected"; ?>><?php _e('Menu order','woocommerce-products-slider');?></option>
666
 
667
  </select>
668
  </div>
670
 
671
  <div class="option-box">
672
 
673
+ <p class="option-info"><?php _e('Hide out of stock items','woocommerce-products-slider'); ?></p>
674
  <label><input <?php if($wcps_hide_out_of_stock=="yes") echo "checked";?> type="radio" name="wcps_hide_out_of_stock" value="yes" />Yes</label>
675
  <label><input <?php if($wcps_hide_out_of_stock=="no") echo "checked";?> type="radio" name="wcps_hide_out_of_stock" value="no" />No</label>
676
  <label><input <?php if($wcps_hide_out_of_stock=="no_check") echo "checked";?> type="radio" name="wcps_hide_out_of_stock" value="no_check" />No Check</label>
677
 
678
+ <p class="option-info"><?php _e('Featured Product display', 'woocommerce-products-slider');?></p>
679
  <label><input <?php if($wcps_product_featured=="yes") echo "checked";?> type="radio" name="wcps_product_featured" value="yes" />Yes</label>
680
  <label><input <?php if($wcps_product_featured=="no") echo "checked";?> type="radio" name="wcps_product_featured" value="no" />No</label>
681
  <label><input <?php if($wcps_product_featured=="no_check") echo "checked";?> type="radio" name="wcps_product_featured" value="no_check" />No check</label>
682
 
683
+ <p class="option-info"><?php _e('On Sale Product display', 'woocommerce-products-slider');?></p>
684
  <label><input <?php if($wcps_product_on_sale=="yes") echo "checked";?> type="radio" name="wcps_product_on_sale" value="yes" />Yes</label>
685
  <label><input <?php if($wcps_product_on_sale=="no") echo "checked";?> type="radio" name="wcps_product_on_sale" value="no" />No</label>
686
 
687
+ <p class="option-info"><?php _e('Catalog visibility', 'woocommerce-products-slider');?></p>
688
  <label><input <?php if($wcps_product_visibility=="visible") echo "checked";?> type="radio" name="wcps_product_visibility" value="visible" />Shop and search results</label>
689
  <label><input <?php if($wcps_product_visibility=="catalog") echo "checked";?> type="radio" name="wcps_product_visibility" value="catalog" />Shop only</label>
690
  <label><input <?php if($wcps_product_visibility=="search") echo "checked";?> type="radio" name="wcps_product_visibility" value="search" />Search results only</label>
711
  <li style="display: none;" class="box5 tab-box">
712
 
713
  <div class="option-box">
714
+ <p class="option-title"><?php _e('Slider items.', 'woocommerce-products-slider'); ?></p>
715
  <p class="option-info"></p>
716
+ <div class="button wcps_grid_items_reset" wcps_id="<?php echo $wcps_id; ?>"><?php _e('Reset order', 'woocommerce-products-slider');?></div>
717
  <br /><br />
718
 
719
  <?php
772
 
773
  ?>
774
  <div class="option-box">
775
+ <p class="option-title"><?php _e('Slider Thumbnail Size', 'woocommerce-products-slider');?></p>
776
  <p class="option-info"></p>
777
 
778
  <?php
835
 
836
 
837
  <div class="option-box">
838
+ <p class="option-title"><?php _e('Items thumbnail link\'s to', 'woocommerce-products-slider');?></p>
839
  <p class="option-info"></p>
840
  <select name="wcps_items_thumb_link_to" >
841
+ <option value="product" <?php if($wcps_items_thumb_link_to=="product")echo "selected"; ?>><?php _e('Product', 'woocommerce-products-slider');?></option>
842
+ <option value="category" <?php if($wcps_items_thumb_link_to=="category")echo "selected"; ?>><?php _e('Category', 'woocommerce-products-slider');?></option>
843
  </select>
844
  </div>
845
 
847
 
848
 
849
  <div class="option-box">
850
+ <p class="option-title"><?php _e('Slider thumb max hieght(px)', 'woocommerce-products-slider');?></p>
851
  <p class="option-info"></p>
852
  <input type="text" name="wcps_items_thumb_max_hieght" placeholder="14px" id="wcps_items_thumb_max_hieght" value="<?php echo $wcps_items_thumb_max_hieght; ?>" />
853
  </div>
854
 
855
  <div class="option-box">
856
+ <p class="option-title"><?php _e('Display Thumbnail Zoom button', 'woocommerce-products-slider');?></p>
857
  <p class="option-info"></p>
858
  <select name="wcps_items_thumb_zoom" >
859
+ <option value="no" <?php if($wcps_items_thumb_zoom=="no")echo "selected"; ?>><?php _e('No', 'woocommerce-products-slider');?></option>
860
+ <option value="yes" <?php if($wcps_items_thumb_zoom=="yes")echo "selected"; ?>><?php _e('Yes', 'woocommerce-products-slider');?></option>
861
 
862
  </select>
863
  </div>
864
 
865
 
866
  <div class="option-box">
867
+ <p class="option-title"><?php _e('Empty Thumbnail', 'woocommerce-products-slider');?></p>
868
+ <p class="option-info"><?php _e('Custom thumbnail image url', 'woocommerce-products-slider');?></p>
869
  <input type="text" name="wcps_items_empty_thumb" id="wcps_items_empty_thumb" value="<?php echo $wcps_items_empty_thumb; ?>" /><br /><br />
870
  <input id="wcps_items_empty_thumb_upload" class="wcps_items_empty_thumb_upload button" type="button" value="Upload Image" />
871
  <br /><br />
941
 
942
  ?>
943
  <div class="option-box">
944
+ <p class="option-title"><?php _e('Items add to cart button Style', 'woocommerce-products-slider');?></p>
945
+ <p class="option-info"><?php _e('You can hide items add to cart button on slider.', 'woocommerce-products-slider');?></p>
946
  <select name="wcps_cart_style" >
947
+ <option value="default" <?php if($wcps_cart_style=="default")echo "selected"; ?>><?php _e('Default', 'woocommerce-products-slider');?></option>
948
+ <option value="custom" <?php if($wcps_cart_style=="custom")echo "selected"; ?>><?php _e('Custom', 'woocommerce-products-slider');?></option>
949
  </select>
950
  </div>
951
 
952
  <div class="option-box">
953
+ <p class="option-title"><?php _e('Add to cart background color', 'woocommerce-products-slider');?></p>
954
  <p class="option-info"></p>
955
  <input type="text" name="wcps_cart_bg" class="wcps_color" id="wcps_cart_bg" value="<?php echo $wcps_cart_bg; ?>" />
956
  </div>
957
 
958
  <div class="option-box">
959
+ <p class="option-title"><?php _e('Add to cart text color', 'woocommerce-products-slider');?></p>
960
  <p class="option-info"></p>
961
  <input type="text" name="wcps_cart_text_color" class="wcps_color" id="wcps_cart_text_color" value="<?php echo $wcps_cart_text_color; ?>" />
962
  </div>
963
 
964
  <div class="option-box">
965
+ <p class="option-title"><?php _e('Items cart text align', 'woocommerce-products-slider');?></p>
966
 
967
 
968
  <select name="wcps_cart_text_align" >
969
+ <option value="left" <?php if($wcps_cart_text_align=="left")echo "selected"; ?>><?php _e('Left', 'woocommerce-products-slider');?></option>
970
+ <option value="right" <?php if($wcps_cart_text_align=="right")echo "selected"; ?>><?php _e('Right', 'woocommerce-products-slider');?></option>
971
+ <option value="center" <?php if($wcps_cart_text_align=="center")echo "selected"; ?>><?php _e('Center', 'woocommerce-products-slider');?></option>
972
  </select>
973
 
974
  </div>
983
  ?>
984
 
985
  <div class="option-box">
986
+ <p class="option-title"><?php _e('Sale marker icon url', 'woocommerce-products-slider');?></p>
987
  <p class="option-info"></p>
988
  <input type="text" name="wcps_sale_icon_url" placeholder="" id="wcps_sale_icon_url" value="<?php echo $wcps_sale_icon_url; ?>" />
989
  </div>
1003
 
1004
 
1005
  <div class="option-box">
1006
+ <p class="option-title"><?php _e('Items Title Color', 'woocommerce-products-slider');?></p>
1007
  <p class="option-info"></p>
1008
  <input type="text" name="wcps_items_title_color" class="wcps_color" id="wcps_items_title_color" value="<?php echo $wcps_items_title_color; ?>" />
1009
  </div>
1010
  <div class="option-box">
1011
+ <p class="option-title"><?php _e('Items Title Font Size', 'woocommerce-products-slider');?></p>
1012
  <p class="option-info"></p>
1013
  <input type="text" name="wcps_items_title_font_size" placeholder="14px" id="wcps_items_title_font_size" value="<?php echo $wcps_items_title_font_size; ?>" />
1014
  </div>
1015
 
1016
 
1017
  <div class="option-box">
1018
+ <p class="option-title"><?php _e('Items Title Text Align', 'woocommerce-products-slider');?></p>
1019
 
1020
 
1021
  <select name="wcps_items_title_text_align" >
1022
+ <option value="left" <?php if($wcps_items_title_text_align=="left")echo "selected"; ?>><?php _e('Left', 'woocommerce-products-slider');?></option>
1023
+ <option value="right" <?php if($wcps_items_title_text_align=="right")echo "selected"; ?>><?php _e('Right', 'woocommerce-products-slider');?></option>
1024
+ <option value="center" <?php if($wcps_items_title_text_align=="center")echo "selected"; ?>><?php _e('Center', 'woocommerce-products-slider');?></option>
1025
  </select>
1026
 
1027
  </div>
1034
  ?>
1035
 
1036
  <div class="option-box">
1037
+ <p class="option-title"><?php _e('Featured marker icon url', 'woocommerce-products-slider');?></p>
1038
  <p class="option-info"></p>
1039
  <input type="text" name="wcps_featured_icon_url" placeholder="" id="wcps_featured_icon_url" value="<?php echo $wcps_featured_icon_url; ?>" />
1040
  </div>
1046
  ?>
1047
 
1048
  <div class="option-box">
1049
+ <p class="option-title"><?php _e('Price format on slider', 'woocommerce-products-slider');?></p>
1050
  <p class="option-info"></p>
1051
  <select name="wcps_items_price_format">
1052
+ <option value="full" <?php if(($wcps_items_price_format=="full")) echo "selected"; ?> ><?php _e('Full Format', 'woocommerce-products-slider');?></option>
1053
+ <option value="sale" <?php if(($wcps_items_price_format=="sale")) echo "selected"; ?> ><?php _e('Sale price', 'woocommerce-products-slider');?></option>
1054
+ <option value="regular" <?php if(($wcps_items_price_format=="regular")) echo "selected"; ?> ><?php _e('Regular price', 'woocommerce-products-slider');?></option>
1055
  </select>
1056
 
1057
  </div>
1060
 
1061
 
1062
  <div class="option-box">
1063
+ <p class="option-title"><?php _e('Items price Color', 'woocommerce-products-slider');?></p>
1064
  <p class="option-info"></p>
1065
  <input type="text" name="wcps_items_price_color" class="wcps_color" id="wcps_items_price_color" value="<?php echo $wcps_items_price_color; ?>" />
1066
  </div>
1067
 
1068
  <div class="option-box">
1069
+ <p class="option-title"><?php _e('Items price font size', 'woocommerce-products-slider');?></p>
1070
  <p class="option-info"></p>
1071
  <input type="text" name="wcps_items_price_font_size" placeholder="14px" id="wcps_items_price_font_size" value="<?php echo $wcps_items_price_font_size; ?>" />
1072
  </div>
1074
 
1075
 
1076
  <div class="option-box">
1077
+ <p class="option-title"><?php _e('Price text align', 'woocommerce-products-slider');?></p>
1078
 
1079
 
1080
  <select name="wcps_items_price_text_align" >
1081
+ <option value="left" <?php if($wcps_items_price_text_align=="left")echo "selected"; ?>><?php _e('Left', 'woocommerce-products-slider');?></option>
1082
+ <option value="right" <?php if($wcps_items_price_text_align=="right")echo "selected"; ?>><?php _e('Right', 'woocommerce-products-slider');?></option>
1083
+ <option value="center" <?php if($wcps_items_price_text_align=="center")echo "selected"; ?>><?php _e('Center', 'woocommerce-products-slider');?></option>
1084
  </select>
1085
 
1086
  </div>
1099
  ?>
1100
 
1101
  <div class="option-box">
1102
+ <p class="option-title"><?php _e('Items rating text align', 'woocommerce-products-slider');?></p>
1103
 
1104
 
1105
  <select name="wcps_ratings_text_align" >
1106
+ <option value="left" <?php if($wcps_ratings_text_align=="left")echo "selected"; ?>><?php _e('Left', 'woocommerce-products-slider');?></option>
1107
+ <option value="right" <?php if($wcps_ratings_text_align=="right")echo "selected"; ?>><?php _e('Right', 'woocommerce-products-slider');?></option>
1108
+ <option value="center" <?php if($wcps_ratings_text_align=="center")echo "selected"; ?>><?php _e('Center', 'woocommerce-products-slider');?></option>
1109
  </select>
1110
 
1111
  </div>
1112
 
1113
 
1114
  <div class="option-box">
1115
+ <p class="option-title"><?php _e('Items ratings font size', 'woocommerce-products-slider');?></p>
1116
  <p class="option-info"></p>
1117
  <input type="text" name="wcps_items_ratings_font_size" placeholder="14px" id="wcps_items_ratings_font_size" value="<?php echo $wcps_items_ratings_font_size; ?>" />
1118
  </div>
1119
 
1120
 
1121
  <div class="option-box">
1122
+ <p class="option-title"><?php _e('Items ratings color', 'woocommerce-products-slider');?></p>
1123
  <p class="option-info"></p>
1124
  <input type="text" name="wcps_items_ratings_color" class="wcps_color" id="wcps_items_ratings_color" value="<?php echo $wcps_items_ratings_color; ?>" />
1125
  </div>
1136
 
1137
  ?>
1138
  <div class="option-box">
1139
+ <p class="option-title"><?php _e('Excerpt word count', 'woocommerce-products-slider');?></p>
1140
  <p class="option-info"></p>
1141
  <input type="text" name="wcps_items_excerpt_count" placeholder="30" id="wcps_items_excerpt_count" value="<?php echo $wcps_items_excerpt_count; ?>" />
1142
  </div>
1143
 
1144
  <div class="option-box">
1145
+ <p class="option-title"><?php _e('Excerpt read more text', 'woocommerce-products-slider');?></p>
1146
  <p class="option-info"></p>
1147
  <input type="text" name="wcps_items_excerpt_read_more" placeholder="View product." id="wcps_items_excerpt_read_more" value="<?php echo $wcps_items_excerpt_read_more; ?>" />
1148
  </div>
1149
 
1150
  <div class="option-box">
1151
+ <p class="option-title"><?php _e('Items excerpt font size', 'woocommerce-products-slider');?></p>
1152
  <p class="option-info"></p>
1153
  <input type="text" name="wcps_items_excerpt_font_size" placeholder="14px" id="wcps_items_excerpt_font_size" value="<?php echo $wcps_items_excerpt_font_size; ?>" />
1154
  </div>
1155
 
1156
 
1157
  <div class="option-box">
1158
+ <p class="option-title"><?php _e('Excerpt text align', 'woocommerce-products-slider');?></p>
1159
 
1160
 
1161
  <select name="wcps_items_excerpt_text_align" >
1162
+ <option value="left" <?php if($wcps_items_excerpt_text_align=="left")echo "selected"; ?>><?php _e('Left', 'woocommerce-products-slider');?></option>
1163
+ <option value="right" <?php if($wcps_items_excerpt_text_align=="right")echo "selected"; ?>><?php _e('Right', 'woocommerce-products-slider');?></option>
1164
+ <option value="center" <?php if($wcps_items_excerpt_text_align=="center")echo "selected"; ?>><?php _e('Center', 'woocommerce-products-slider');?></option>
1165
  </select>
1166
 
1167
  </div>
1168
 
1169
  <div class="option-box">
1170
+ <p class="option-title"><?php _e('Items excerpt font color', 'woocommerce-products-slider');?></p>
1171
  <p class="option-info"></p>
1172
  <input type="text" class="wcps_color" name="wcps_items_excerpt_font_color" placeholder="" id="wcps_items_excerpt_font_color" value="<?php echo $wcps_items_excerpt_font_color; ?>" />
1173
  </div>
1187
  elseif($item_key=='category'){
1188
  ?>
1189
  <div class="option-box">
1190
+ <p class="option-title"><?php _e('Items category font size', 'woocommerce-products-slider');?></p>
1191
  <p class="option-info"></p>
1192
  <input type="text" name="wcps_items_cat_font_size" placeholder="14px" id="wcps_items_cat_font_size" value="<?php echo $wcps_items_cat_font_size; ?>" />
1193
  </div>
1194
  <div class="option-box">
1195
+ <p class="option-title"><?php _e('Category text align', 'woocommerce-products-slider');?></p>
1196
 
1197
  <select name="wcps_items_cat_text_align" >
1198
+ <option value="left" <?php if($wcps_items_cat_text_align=="left")echo "selected"; ?>><?php _e('Left', 'woocommerce-products-slider');?></option>
1199
+ <option value="right" <?php if($wcps_items_cat_text_align=="right")echo "selected"; ?>><?php _e('Right', 'woocommerce-products-slider');?></option>
1200
+ <option value="center" <?php if($wcps_items_cat_text_align=="center")echo "selected"; ?>><?php _e('Center', 'woocommerce-products-slider');?></option>
1201
  </select>
1202
 
1203
  </div>
1204
  <div class="option-box">
1205
+ <p class="option-title"><?php _e('Items category font color', 'woocommerce-products-slider');?></p>
1206
  <p class="option-info"></p>
1207
  <input type="text" class="wcps_color" name="wcps_items_cat_font_color" placeholder="" id="wcps_items_cat_font_color" value="<?php echo $wcps_items_cat_font_color; ?>" />
1208
  </div>
1213
  elseif( $item_key=='tag'){
1214
  ?>
1215
  <div class="option-box">
1216
+ <p class="option-title"><?php _e('Items tag font size', 'woocommerce-products-slider');?></p>
1217
  <p class="option-info"></p>
1218
  <input type="text" name="wcps_items_tag_font_size" placeholder="14px" id="wcps_items_tag_font_size" value="<?php echo $wcps_items_tag_font_size; ?>" />
1219
  </div>
1220
  <div class="option-box">
1221
+ <p class="option-title"><?php _e('Tag text align', 'woocommerce-products-slider');?></p>
1222
 
1223
  <select name="wcps_items_tag_text_align" >
1224
+ <option value="left" <?php if($wcps_items_tag_text_align=="left")echo "selected"; ?>><?php _e('Left', 'woocommerce-products-slider');?></option>
1225
+ <option value="right" <?php if($wcps_items_tag_text_align=="right")echo "selected"; ?>><?php _e('Right', 'woocommerce-products-slider');?></option>
1226
+ <option value="center" <?php if($wcps_items_tag_text_align=="center")echo "selected"; ?>><?php _e('Center', 'woocommerce-products-slider');?></option>
1227
  </select>
1228
 
1229
  </div>
1230
  <div class="option-box">
1231
+ <p class="option-title"><?php _e('Items tag font color', 'woocommerce-products-slider');?></p>
1232
  <p class="option-info"></p>
1233
  <input type="text" class="wcps_color" name="wcps_items_tag_font_color" placeholder="" id="wcps_items_tag_font_color" value="<?php echo $wcps_items_tag_font_color; ?>" />
1234
  </div>
1239
  elseif( $item_key=='sku'){
1240
  ?>
1241
  <div class="option-box">
1242
+ <p class="option-title"><?php _e('Items SKU font size', 'woocommerce-products-slider');?></p>
1243
  <p class="option-info"></p>
1244
  <input type="text" name="wcps_items_sku_font_size" placeholder="14px" id="wcps_items_sku_font_size" value="<?php echo $wcps_items_sku_font_size; ?>" />
1245
  </div>
1246
  <div class="option-box">
1247
+ <p class="option-title"><?php _e('SKU text align', 'woocommerce-products-slider');?></p>
1248
 
1249
  <select name="wcps_items_sku_text_align" >
1250
+ <option value="left" <?php if($wcps_items_sku_text_align=="left")echo "selected"; ?>><?php _e('Left', 'woocommerce-products-slider');?></option>
1251
+ <option value="right" <?php if($wcps_items_sku_text_align=="right")echo "selected"; ?>><?php _e('Right', 'woocommerce-products-slider');?></option>
1252
+ <option value="center" <?php if($wcps_items_sku_text_align=="center")echo "selected"; ?>><?php _e('Center', 'woocommerce-products-slider');?></option>
1253
  </select>
1254
 
1255
  </div>
1256
  <div class="option-box">
1257
+ <p class="option-title"><?php _e('Items SKU font color', 'woocommerce-products-slider');?></p>
1258
  <p class="option-info"></p>
1259
  <input type="text" class="wcps_color" name="wcps_items_sku_font_color" placeholder="" id="wcps_items_sku_font_color" value="<?php echo $wcps_items_sku_font_color; ?>" />
1260
  </div>
1302
 
1303
  <li style="display: none;" class="box6 tab-box">
1304
  <div class="option-box">
1305
+ <p class="option-title"><?php _e('Custom CSS for this slider.','woocommerce-products-slider'); ?></p>
1306
+ <p class="option-info"><?php _e('Do not use &lt;style>&lt;/style> tag, you can use bellow prefix to your css, sometime you need use "!important" to overrid.','woocommerce-products-slider');?>
1307
  <br/>
1308
  <b>#wcps-<?php
1309
 
readme.txt CHANGED
@@ -4,7 +4,7 @@
4
  Tags: carousel, product, slider, woocommerce, carousel slider, product slider, woocommerce slider, Woocommerce Product slider
5
  Requires at least: 3.8
6
  Tested up to: 4.8
7
- Stable tag: 1.12.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -18,9 +18,9 @@ A premium quality carousel slider to slide your woo-commerce product. easy to us
18
 
19
  ### Woocommerce Products Slider by http://pickplugins.com
20
 
21
- * [Buy Premium!&raquo;](http://www.pickplugins.com/item/woocommerce-products-slider-for-wordpress/?ref=wordpress.org)
22
- * [See the Live demo!&raquo;](http://www.pickplugins.com/demo/woocommerce-products-slider/?ref=wordpress.org)
23
- * [Watch Video Tutorial!&raquo;](https://www.youtube.com/watch?v=B0sOSp3h9fE)
24
 
25
 
26
 
@@ -94,6 +94,10 @@ then paste this shortcode anywhere in your page to display slider<br />
94
 
95
 
96
 
 
 
 
 
97
  = 1.12.16 =
98
  * 14/09/2017 fix - remove comment from scripts that prevent work slider properly.
99
 
4
  Tags: carousel, product, slider, woocommerce, carousel slider, product slider, woocommerce slider, Woocommerce Product slider
5
  Requires at least: 3.8
6
  Tested up to: 4.8
7
+ Stable tag: 1.12.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
18
 
19
  ### Woocommerce Products Slider by http://pickplugins.com
20
 
21
+ * [Buy Premium !&raquo;](http://www.pickplugins.com/item/woocommerce-products-slider-for-wordpress/?ref=wordpress.org)
22
+ * [See the Live demo !&raquo;](http://www.pickplugins.com/demo/woocommerce-products-slider/?ref=wordpress.org)
23
+ * [Support !&raquo;](https://www.pickplugins.com/support/)
24
 
25
 
26
 
94
 
95
 
96
 
97
+
98
+ = 1.12.17 =
99
+ * 17/10/2017 Update - Some CSS issue updated.
100
+
101
  = 1.12.16 =
102
  * 14/09/2017 fix - remove comment from scripts that prevent work slider properly.
103
 
templates/scripts.php CHANGED
@@ -161,4 +161,35 @@ if ( ! defined('ABSPATH')) exit; // if direct access
161
  })';
162
  }
163
 
164
- $html.= '</script>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  })';
162
  }
163
 
164
+ $html.= '</script>';
165
+
166
+
167
+
168
+
169
+
170
+
171
+ if($wcps_slider_navigation_position == 'topright') {
172
+
173
+ $html.= '<style>
174
+
175
+ .wcps-container .owl-carousel {
176
+ padding-top: 60px;
177
+ }
178
+
179
+ </style>';
180
+
181
+ }
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
templates/wcps-featured.php CHANGED
@@ -19,5 +19,5 @@ if ( ! defined('ABSPATH')) exit; // if direct access
19
 
20
  if($product_is_featured=="yes")
21
  {
22
- $html.= '<div '.$wcps_featured_style.' title="'.__('Featured Product', wcps_textdomain).'" class="wcps-featured"></div>';
23
  }
19
 
20
  if($product_is_featured=="yes")
21
  {
22
+ $html.= '<div '.$wcps_featured_style.' title="'.__('Featured Product', 'woocommerce-products-slider').'" class="wcps-featured"></div>';
23
  }
templates/wcps-rating.php CHANGED
@@ -38,7 +38,7 @@ if ( ! defined('ABSPATH')) exit; // if direct access
38
 
39
  <div class="rating-list">
40
  <div class="pg-rating woocommerce">
41
- <div class="woocommerce-product-rating"><div class="star-rating" style="padding-bottom:10px;" title="'.__('Rated', wcps_textdomain).' '.$rating.'"><span style="width:'.$rating.'%;"></span></div></div>
42
  </div>
43
  </div>
44
  </div>';
38
 
39
  <div class="rating-list">
40
  <div class="pg-rating woocommerce">
41
+ <div class="woocommerce-product-rating"><div class="star-rating" style="padding-bottom:10px;" title="'.__('Rated', 'woocommerce-products-slider').' '.$rating.'"><span style="width:'.$rating.'%;"></span></div></div>
42
  </div>
43
  </div>
44
  </div>';
templates/wcps-sale.php CHANGED
@@ -16,5 +16,5 @@ if ( ! defined('ABSPATH')) exit; // if direct access
16
 
17
  if(!empty($sale_price))
18
  {
19
- $html.= '<div '.$wcps_sale_style.' title="'.__('Sale Product', wcps_textdomain).'" class="wcps-items-sale"></div>';
20
  }
16
 
17
  if(!empty($sale_price))
18
  {
19
+ $html.= '<div '.$wcps_sale_style.' title="'.__('Sale Product', 'woocommerce-products-slider').'" class="wcps-items-sale"></div>';
20
  }
woocommerce-products-slider.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Woocommerce Products Slider
4
  Plugin URI: http://pickplugins.com/items/woocommerce-product-slider-for-wordpress/
5
  Description: Fully responsive and mobile ready Carousel Slider for your woo-commerce product. unlimited slider anywhere via short-codes and easy admin setting.
6
- Version: 1.12.16
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: woocommerce-products-slider
@@ -25,14 +25,13 @@ class WoocommerceProductsSlider{
25
  define('wcps_pro_url','http://www.pickplugins.com/item/woocommerce-products-slider-for-wordpress/' );
26
  define('wcps_demo_url', 'http://pickplugins.com/demo/woocommerce-products-slider/' );
27
  define('wcps_conatct_url', 'http://pickplugins.com/contact/' );
28
- define('wcps_qa_url', 'http://pickplugins.com/questions/' );
29
  define('wcps_plugin_name', 'Woocommerce Products Slider' );
30
- define('wcps_plugin_version', '1.12.16' );
31
  define('wcps_customer_type', 'free' ); // pro & free
32
  define('wcps_share_url', 'https://wordpress.org/plugins/woocommerce-products-slider/' );
33
- define('wcps_tutorial_video_url', '//www.youtube.com/embed/B0sOSp3h9fE?rel=0' );
34
- define('wcps_textdomain', 'woocommerce-products-slider' );
35
-
36
  require_once( plugin_dir_path( __FILE__ ) . 'includes/meta.php');
37
  require_once( plugin_dir_path( __FILE__ ) . 'includes/functions.php');
38
 
@@ -63,7 +62,7 @@ class WoocommerceProductsSlider{
63
 
64
 
65
  public function wcps_load_textdomain() {
66
- load_plugin_textdomain( wcps_textdomain, false, plugin_basename( dirname( __FILE__ ) ) . '/languages/' );
67
  }
68
 
69
 
3
  Plugin Name: Woocommerce Products Slider
4
  Plugin URI: http://pickplugins.com/items/woocommerce-product-slider-for-wordpress/
5
  Description: Fully responsive and mobile ready Carousel Slider for your woo-commerce product. unlimited slider anywhere via short-codes and easy admin setting.
6
+ Version: 1.12.17
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: woocommerce-products-slider
25
  define('wcps_pro_url','http://www.pickplugins.com/item/woocommerce-products-slider-for-wordpress/' );
26
  define('wcps_demo_url', 'http://pickplugins.com/demo/woocommerce-products-slider/' );
27
  define('wcps_conatct_url', 'http://pickplugins.com/contact/' );
28
+ define('wcps_qa_url', 'https://www.pickplugins.com/support/' );
29
  define('wcps_plugin_name', 'Woocommerce Products Slider' );
30
+ define('wcps_plugin_version', '1.12.17' );
31
  define('wcps_customer_type', 'free' ); // pro & free
32
  define('wcps_share_url', 'https://wordpress.org/plugins/woocommerce-products-slider/' );
33
+ define('wcps_tutorial_video_url', '' );
34
+
 
35
  require_once( plugin_dir_path( __FILE__ ) . 'includes/meta.php');
36
  require_once( plugin_dir_path( __FILE__ ) . 'includes/functions.php');
37
 
62
 
63
 
64
  public function wcps_load_textdomain() {
65
+ load_plugin_textdomain( 'woocommerce-products-slider', false, plugin_basename( dirname( __FILE__ ) ) . '/languages/' );
66
  }
67
 
68