Version Description
- 11/12/2015 - fix -Shortcode issue fixed.
Download this release
Release Info
Developer | paratheme |
Plugin | Woocommerce Products Slider |
Version | 1.11 |
Comparing to | |
See all releases |
Code changes from version 1.9 to 1.11
- includes/menu/settings.php +28 -32
- includes/wcps-functions.php +17 -0
- includes/wcps-meta.php +101 -98
- languages/default.mo +0 -0
- languages/default.po +422 -0
- readme.txt +8 -3
- templates/wcps-category.php +1 -1
- templates/wcps-rating.php +1 -1
- woocommerce-products-slider.php +17 -8
includes/menu/settings.php
CHANGED
@@ -12,7 +12,7 @@ if ( ! defined('ABSPATH')) exit; // if direct access
|
|
12 |
if(empty($_POST['wcps_hidden']))
|
13 |
{
|
14 |
|
15 |
-
|
16 |
|
17 |
|
18 |
|
@@ -25,15 +25,12 @@ if ( ! defined('ABSPATH')) exit; // if direct access
|
|
25 |
//Form data sent
|
26 |
|
27 |
|
28 |
-
|
29 |
-
update_option('wcps_ribbons', $wcps_ribbons);
|
30 |
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
|
35 |
?>
|
36 |
-
<div class="updated"><p><strong><?php _e('Changes Saved.' ); ?></strong></p></div>
|
37 |
|
38 |
<?php
|
39 |
}
|
@@ -41,19 +38,11 @@ if ( ! defined('ABSPATH')) exit; // if direct access
|
|
41 |
|
42 |
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
?>
|
49 |
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
<div class="wrap">
|
55 |
|
56 |
-
<div id="icon-tools" class="icon32"><br></div><?php echo "<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,7 +53,7 @@ if ( ! defined('ABSPATH')) exit; // if direct access
|
|
64 |
|
65 |
<div class="para-settings">
|
66 |
<ul class="tab-nav">
|
67 |
-
<li nav="2" class="nav2 active"
|
68 |
</ul> <!-- tab-nav end -->
|
69 |
|
70 |
<ul class="box">
|
@@ -72,23 +61,29 @@ if ( ! defined('ABSPATH')) exit; // if direct access
|
|
72 |
<li style="display: block;" class="box2 tab-box active">
|
73 |
|
74 |
<div class="option-box">
|
75 |
-
<p class="option-title"
|
76 |
-
<p class="option-info">
|
77 |
-
|
|
|
|
|
|
|
78 |
<?php
|
79 |
|
80 |
if(wcps_customer_type=="free")
|
81 |
{
|
82 |
|
83 |
-
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. ';
|
84 |
|
|
|
|
|
|
|
85 |
echo '<br /><a href="'.wcps_pro_url.'">'.wcps_pro_url.'</a>';
|
86 |
|
87 |
}
|
88 |
else
|
89 |
{
|
90 |
-
|
91 |
-
|
92 |
|
93 |
|
94 |
}
|
@@ -100,8 +95,8 @@ if ( ! defined('ABSPATH')) exit; // if direct access
|
|
100 |
|
101 |
</div>
|
102 |
<div class="option-box">
|
103 |
-
<p class="option-title"
|
104 |
-
<p class="option-info"
|
105 |
<img class="wcps-pro-pricing" src="<?php echo wcps_plugin_url."css/five-star.png";?>" /><br />
|
106 |
<a target="_blank" href="<?php echo wcps_wp_reviews; ?>">
|
107 |
<?php echo wcps_wp_reviews; ?>
|
@@ -111,16 +106,16 @@ if ( ! defined('ABSPATH')) exit; // if direct access
|
|
111 |
|
112 |
</div>
|
113 |
<div class="option-box">
|
114 |
-
<p class="option-title"
|
115 |
-
<p class="option-info"
|
116 |
<?php
|
117 |
|
118 |
echo wcps_share_plugin();
|
119 |
?>
|
120 |
</div>
|
121 |
<div class="option-box">
|
122 |
-
<p class="option-title"
|
123 |
-
<p class="option-info"
|
124 |
<iframe width="640" height="480" src="<?php echo wcps_tutorial_video_url; ?>" frameborder="0" allowfullscreen></iframe>
|
125 |
</div>
|
126 |
|
@@ -134,11 +129,12 @@ if ( ! defined('ABSPATH')) exit; // if direct access
|
|
134 |
</div>
|
135 |
|
136 |
|
137 |
-
|
138 |
|
139 |
<p class="submit">
|
140 |
-
|
141 |
-
|
|
|
142 |
</form>
|
143 |
|
144 |
|
12 |
if(empty($_POST['wcps_hidden']))
|
13 |
{
|
14 |
|
15 |
+
//$wcps_ribbons = get_option( 'wcps_ribbons' );
|
16 |
|
17 |
|
18 |
|
25 |
//Form data sent
|
26 |
|
27 |
|
28 |
+
//$wcps_ribbons = stripslashes_deep($_POST['wcps_ribbons']);
|
29 |
+
//update_option('wcps_ribbons', $wcps_ribbons);
|
30 |
|
|
|
|
|
|
|
31 |
|
32 |
?>
|
33 |
+
<div class="updated"><p><strong><?php _e('Changes Saved.','wcps' ); ?></strong></p></div>
|
34 |
|
35 |
<?php
|
36 |
}
|
38 |
|
39 |
|
40 |
|
|
|
|
|
|
|
|
|
41 |
?>
|
42 |
|
|
|
|
|
|
|
|
|
43 |
<div class="wrap">
|
44 |
|
45 |
+
<div id="icon-tools" class="icon32"><br></div><?php echo "<h2>".wcps_plugin_name.' '.__('Settings','wcps')."</h2>";?>
|
46 |
<form method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
|
47 |
<input type="hidden" name="wcps_hidden" value="Y">
|
48 |
<?php settings_fields( 'wcps_plugin_options' );
|
53 |
|
54 |
<div class="para-settings">
|
55 |
<ul class="tab-nav">
|
56 |
+
<li nav="2" class="nav2 active"><?php _e('Help','wcps'); ?></li>
|
57 |
</ul> <!-- tab-nav end -->
|
58 |
|
59 |
<ul class="box">
|
61 |
<li style="display: block;" class="box2 tab-box active">
|
62 |
|
63 |
<div class="option-box">
|
64 |
+
<p class="option-title"><?php _e('Need Help ?','wcps'); ?></p>
|
65 |
+
<p class="option-info">
|
66 |
+
<?php
|
67 |
+
echo sprintf('Feel free to contact with any issue for this plugin, Ask any question via forum <a href="%s">%s</a> (free) ', wcps_qa_url,wcps_qa_url);
|
68 |
+
?>
|
69 |
+
<br />
|
70 |
<?php
|
71 |
|
72 |
if(wcps_customer_type=="free")
|
73 |
{
|
74 |
|
75 |
+
//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 . , To get more feature you could try our premium version .';
|
76 |
|
77 |
+
echo sprintf("You are using %s version %s of %s, To get more feature you could try our premium version.", '<b>'.wcps_customer_type.'</b>','<b>'.wcps_plugin_version.'</b>', '<b>'.wcps_plugin_name.'</b>');
|
78 |
+
|
79 |
+
|
80 |
echo '<br /><a href="'.wcps_pro_url.'">'.wcps_pro_url.'</a>';
|
81 |
|
82 |
}
|
83 |
else
|
84 |
{
|
85 |
+
echo sprintf("Thanks for using premium version %s of %s", '<b>'.wcps_plugin_version.'</b>','<b>'.wcps_plugin_name.'</b>');
|
86 |
+
// echo 'Thanks for using <strong> premium version '.wcps_plugin_version.'</strong> of <strong>'.wcps_plugin_name.'</strong> ';
|
87 |
|
88 |
|
89 |
}
|
95 |
|
96 |
</div>
|
97 |
<div class="option-box">
|
98 |
+
<p class="option-title"><?php _e('Submit Reviews','wcps'); ?></p>
|
99 |
+
<p class="option-info"><?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'); ?></p>
|
100 |
<img class="wcps-pro-pricing" src="<?php echo wcps_plugin_url."css/five-star.png";?>" /><br />
|
101 |
<a target="_blank" href="<?php echo wcps_wp_reviews; ?>">
|
102 |
<?php echo wcps_wp_reviews; ?>
|
106 |
|
107 |
</div>
|
108 |
<div class="option-box">
|
109 |
+
<p class="option-title"><?php _e('Please Share','wcps'); ?></p>
|
110 |
+
<p class="option-info"><?php _e('If you like this plugin please share with your social share network.','wcps'); ?></p>
|
111 |
<?php
|
112 |
|
113 |
echo wcps_share_plugin();
|
114 |
?>
|
115 |
</div>
|
116 |
<div class="option-box">
|
117 |
+
<p class="option-title"><?php _e('Video Tutorial','wcps'); ?></p>
|
118 |
+
<p class="option-info"><?php _e('Please watch this video tutorial.','wcps'); ?></p>
|
119 |
<iframe width="640" height="480" src="<?php echo wcps_tutorial_video_url; ?>" frameborder="0" allowfullscreen></iframe>
|
120 |
</div>
|
121 |
|
129 |
</div>
|
130 |
|
131 |
|
132 |
+
<!--
|
133 |
|
134 |
<p class="submit">
|
135 |
+
<input class="button button-primary" type="submit" name="Submit" value="<?php _e('Save Changes' ) ?>" />
|
136 |
+
</p>
|
137 |
+
-->
|
138 |
</form>
|
139 |
|
140 |
|
includes/wcps-functions.php
CHANGED
@@ -239,6 +239,23 @@ function wcps_get_product_categories($postid)
|
|
239 |
|
240 |
|
241 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
|
243 |
|
244 |
|
239 |
|
240 |
|
241 |
|
242 |
+
function wcps_add_shortcode_column( $columns ) {
|
243 |
+
return array_merge( $columns,
|
244 |
+
array( 'shortcode' => __( 'Shortcode', 'wcps' ) ) );
|
245 |
+
}
|
246 |
+
add_filter( 'manage_wcps_posts_columns' , 'wcps_add_shortcode_column' );
|
247 |
+
|
248 |
+
|
249 |
+
function wcps_posts_shortcode_display( $column, $post_id ) {
|
250 |
+
if ($column == 'shortcode'){
|
251 |
+
?>
|
252 |
+
<input style="background:#bfefff" type="text" onClick="this.select();" value="[wcps <?php echo ' id="'.$post_id.'"';?> ]" />
|
253 |
+
<textarea cols="50" rows="1" style="background:#bfefff" onClick="this.select();" ><?php echo '<?php echo do_shortcode("[wcps id='; echo "'".$post_id."' ]"; echo '"); ?>'; ?></textarea>
|
254 |
+
<?php
|
255 |
+
|
256 |
+
}
|
257 |
+
}
|
258 |
+
add_action( 'manage_wcps_posts_custom_column' , 'wcps_posts_shortcode_display', 10, 2 );
|
259 |
|
260 |
|
261 |
|
includes/wcps-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' =>
|
14 |
-
'singular_name' =>
|
15 |
-
'add_new' =>
|
16 |
-
'add_new_item' => __('New WCPS'),
|
17 |
-
'edit_item' => __('Edit WCPS'),
|
18 |
-
'new_item' => __('New WCPS'),
|
19 |
-
'view_item' => __('View WCPS'),
|
20 |
-
'search_items' => __('Search WCPS'),
|
21 |
-
'not_found' => __('Nothing found'),
|
22 |
-
'not_found_in_trash' => __('Nothing found in Trash'),
|
23 |
'parent_item_colon' => ''
|
24 |
);
|
25 |
|
@@ -179,41 +179,48 @@ function meta_boxes_wcps_input( $post ) {
|
|
179 |
|
180 |
<div class="para-settings">
|
181 |
<div class="option-box">
|
182 |
-
<p class="option-title"
|
183 |
-
<p class="option-info">
|
184 |
-
|
|
|
|
|
|
|
|
|
185 |
<br /><br />
|
186 |
PHP Code:<br />
|
187 |
-
<textarea cols="50" rows="1" style="background:#bfefff" onClick="this.select();" ><?php echo '<?php echo do_shortcode("[wcps id='; echo "'".$post->ID."'
|
188 |
</div>
|
189 |
|
190 |
|
191 |
<ul class="tab-nav">
|
192 |
-
<li nav="1" class="nav1 active"
|
193 |
-
<li nav="2" class="nav2"
|
194 |
-
<li nav="3" class="nav3"
|
195 |
-
<li nav="4" class="nav4"
|
196 |
</ul> <!-- tab-nav end -->
|
197 |
|
198 |
<ul class="box">
|
199 |
<li style="display: block;" class="box1 tab-box active">
|
200 |
<div class="option-box">
|
201 |
-
<p class="option-title"
|
202 |
<p class="option-info"></p>
|
203 |
<input type="text" size="5" name="wcps_total_items" value="<?php if(!empty($wcps_total_items))echo $wcps_total_items; else echo 15; ?>" />
|
204 |
</div>
|
205 |
|
206 |
<div class="option-box">
|
207 |
-
<p class="option-title"
|
208 |
<p class="option-info"></p>
|
209 |
-
In Destop: (min:1000px and max)
|
|
|
210 |
<input type="text" placeholder="4" name="wcps_column_number" value="<?php if(!empty($wcps_column_number))echo $wcps_column_number; else echo 4; ?>" />
|
211 |
<br /><br />
|
212 |
-
In Tablet & Small Desktop: (900px max width)
|
|
|
213 |
<input type="text" placeholder="2" name="wcps_column_number_tablet" value="<?php if(!empty($wcps_column_number_tablet)) echo $wcps_column_number_tablet; else echo 2; ?>" />
|
214 |
|
215 |
<br /><br />
|
216 |
-
In Mobile: (479px max width)
|
|
|
217 |
<input type="text" placeholder="1" name="wcps_column_number_mobile" value="<?php if(!empty($wcps_column_number_mobile)) echo $wcps_column_number_mobile; else echo 1; ?>" />
|
218 |
|
219 |
|
@@ -228,56 +235,56 @@ function meta_boxes_wcps_input( $post ) {
|
|
228 |
|
229 |
|
230 |
<div class="option-box">
|
231 |
-
<p class="option-title"
|
232 |
<p class="option-info"></p>
|
233 |
<input type="checkbox" id="wcps_auto_play" name="wcps_auto_play" value="true" <?php if(($wcps_auto_play=="true")) echo "checked"; else echo ""; ?> />
|
234 |
<?php if(($wcps_auto_play=="true")) { ?>
|
235 |
-
<label for="wcps_auto_play"
|
236 |
<?php }
|
237 |
|
238 |
else
|
239 |
{
|
240 |
?>
|
241 |
-
<label for="wcps_auto_play"
|
242 |
<?php
|
243 |
}
|
244 |
?>
|
245 |
</div>
|
246 |
<div class="option-box">
|
247 |
-
<p class="option-title"
|
248 |
<p class="option-info"></p>
|
249 |
<input type="checkbox" id="wcps_stop_on_hover" name="wcps_stop_on_hover" value="true" <?php if(($wcps_stop_on_hover=="true")) echo "checked"; else echo ""; ?> />
|
250 |
<?php if(($wcps_stop_on_hover=="true")) { ?>
|
251 |
-
<label for="wcps_stop_on_hover"
|
252 |
<?php }
|
253 |
|
254 |
else
|
255 |
{
|
256 |
?>
|
257 |
-
<label for="wcps_stop_on_hover"
|
258 |
<?php
|
259 |
}
|
260 |
?>
|
261 |
</div>
|
262 |
<div class="option-box">
|
263 |
-
<p class="option-title"
|
264 |
<p class="option-info"></p>
|
265 |
<input type="checkbox" id="wcps_slider_navigation" name="wcps_slider_navigation" value="true" <?php if(($wcps_slider_navigation=="true")) echo "checked"; else echo ""; ?> />
|
266 |
<?php if(($wcps_slider_navigation=="true")) { ?>
|
267 |
-
<label for="wcps_slider_navigation"
|
268 |
<?php }
|
269 |
|
270 |
else
|
271 |
{
|
272 |
?>
|
273 |
-
<label for="wcps_slider_navigation"
|
274 |
<?php
|
275 |
}
|
276 |
?>
|
277 |
</div>
|
278 |
|
279 |
<div class="option-box">
|
280 |
-
<p class="option-title"
|
281 |
<p class="option-info"></p>
|
282 |
<select name="wcps_slider_navigation_position">
|
283 |
<option value="topright" <?php if(($wcps_slider_navigation_position=="topright")) echo "selected"; ?> >Top Right</option>
|
@@ -298,76 +305,76 @@ function meta_boxes_wcps_input( $post ) {
|
|
298 |
|
299 |
|
300 |
<div class="option-box">
|
301 |
-
<p class="option-title"
|
302 |
<p class="option-info"></p>
|
303 |
<input type="checkbox" id="wcps_slider_pagination" name="wcps_slider_pagination" value="true" <?php if(($wcps_slider_pagination=="true")) echo "checked"; else echo ""; ?> />
|
304 |
<?php if(($wcps_slider_pagination=="true")) { ?>
|
305 |
-
<label for="wcps_slider_pagination"
|
306 |
<?php }
|
307 |
|
308 |
else
|
309 |
{
|
310 |
?>
|
311 |
-
<label for="wcps_slider_pagination"
|
312 |
<?php
|
313 |
}
|
314 |
?>
|
315 |
</div>
|
316 |
<div class="option-box">
|
317 |
-
<p class="option-title"
|
318 |
<p class="option-info"></p>
|
319 |
<input type="checkbox" id="wcps_slider_pagination_count" name="wcps_slider_pagination_count" value="true" <?php if(($wcps_slider_pagination_count=="true")) echo "checked"; else echo ""; ?> />
|
320 |
<?php if(($wcps_slider_pagination_count=="true")) { ?>
|
321 |
-
<label for="wcps_slider_pagination_count"
|
322 |
<?php }
|
323 |
|
324 |
else
|
325 |
{
|
326 |
?>
|
327 |
-
<label for="wcps_slider_pagination_count"
|
328 |
<?php
|
329 |
}
|
330 |
?>
|
331 |
</div>
|
332 |
<div class="option-box">
|
333 |
-
<p class="option-title"
|
334 |
<p class="option-info"></p>
|
335 |
<input type="text" id="wcps_slide_speed" name="wcps_slide_speed" value="<?php if(!empty($wcps_slide_speed)) echo $wcps_slide_speed; else echo "1000"; ?>" />
|
336 |
</div>
|
337 |
<div class="option-box">
|
338 |
-
<p class="option-title"
|
339 |
<p class="option-info"></p>
|
340 |
<input type="text" id="wcps_pagination_slide_speed" name="wcps_pagination_slide_speed" value="<?php if(!empty($wcps_pagination_slide_speed)) echo $wcps_pagination_slide_speed; else echo "1000"; ?>" />
|
341 |
</div>
|
342 |
|
343 |
<div class="option-box">
|
344 |
-
<p class="option-title"
|
345 |
<p class="option-info"></p>
|
346 |
<input type="checkbox" id="wcps_slider_touch_drag" name="wcps_slider_touch_drag" value="true" <?php if(($wcps_slider_touch_drag=="true")) echo "checked"; else echo ""; ?> />
|
347 |
<?php if(($wcps_slider_touch_drag=="true")) { ?>
|
348 |
-
<label for="wcps_slider_touch_drag"
|
349 |
<?php }
|
350 |
|
351 |
else
|
352 |
{
|
353 |
?>
|
354 |
-
<label for="wcps_slider_touch_drag"
|
355 |
<?php
|
356 |
}
|
357 |
?>
|
358 |
</div>
|
359 |
<div class="option-box">
|
360 |
-
<p class="option-title"
|
361 |
<p class="option-info"></p>
|
362 |
<input type="checkbox" id="wcps_slider_mouse_drag" name="wcps_slider_mouse_drag" value="true" <?php if(($wcps_slider_mouse_drag=="true")) echo "checked"; else echo ""; ?> />
|
363 |
<?php if(($wcps_slider_mouse_drag=="true")) { ?>
|
364 |
-
<label for="wcps_slider_mouse_drag"
|
365 |
<?php }
|
366 |
|
367 |
else
|
368 |
{
|
369 |
?>
|
370 |
-
<label for="wcps_slider_mouse_drag"
|
371 |
<?php
|
372 |
}
|
373 |
?>
|
@@ -376,7 +383,7 @@ function meta_boxes_wcps_input( $post ) {
|
|
376 |
</li>
|
377 |
<li style="display: none;" class="box2 tab-box ">
|
378 |
<div class="option-box">
|
379 |
-
<p class="option-title"
|
380 |
<p class="option-info"></p>
|
381 |
|
382 |
|
@@ -406,7 +413,7 @@ function meta_boxes_wcps_input( $post ) {
|
|
406 |
|
407 |
|
408 |
<div class="option-box">
|
409 |
-
<p class="option-title"
|
410 |
<p class="option-info"></p>
|
411 |
<?php
|
412 |
|
@@ -477,7 +484,7 @@ function meta_boxes_wcps_input( $post ) {
|
|
477 |
|
478 |
|
479 |
<div class="option-box">
|
480 |
-
<p class="option-title"
|
481 |
<p class="option-info"></p>
|
482 |
<script>
|
483 |
jQuery(document).ready(function(jQuery)
|
@@ -581,13 +588,13 @@ function meta_boxes_wcps_input( $post ) {
|
|
581 |
|
582 |
|
583 |
<div class="option-box">
|
584 |
-
<p class="option-title"
|
585 |
<p class="option-info"></p>
|
586 |
<input type="text" name="wcps_slider_pagination_bg" id="wcps_slider_pagination_bg" value="<?php if(!empty($wcps_slider_pagination_bg)) echo $wcps_slider_pagination_bg; else echo "#1eb286"; ?>" />
|
587 |
</div>
|
588 |
|
589 |
<div class="option-box">
|
590 |
-
<p class="option-title"
|
591 |
<p class="option-info"></p>
|
592 |
<input type="text" name="wcps_slider_pagination_text_color" id="wcps_slider_pagination_text_color" value="<?php if(!empty($wcps_slider_pagination_text_color)) echo $wcps_slider_pagination_text_color; else echo "#fff"; ?>" />
|
593 |
</div>
|
@@ -607,7 +614,7 @@ function meta_boxes_wcps_input( $post ) {
|
|
607 |
<li style="display: none;" class="box3 tab-box ">
|
608 |
|
609 |
<div class="option-box">
|
610 |
-
<p class="option-title"
|
611 |
<p class="option-info"></p>
|
612 |
<input style="width:100%;" type="text" name="wcps_items_empty_thumb" id="wcps_items_empty_thumb" value="<?php if(!empty($wcps_items_empty_thumb)) echo $wcps_items_empty_thumb; ?>" /><br /><br />
|
613 |
<input id="wcps_items_empty_thumb_upload" class="wcps_items_empty_thumb_upload button" type="button" value="Upload Image" />
|
@@ -711,31 +718,31 @@ function meta_boxes_wcps_input( $post ) {
|
|
711 |
|
712 |
|
713 |
<div class="option-box">
|
714 |
-
<p class="option-title"
|
715 |
<p class="option-info"></p>
|
716 |
<ul class="content_source_area" >
|
717 |
-
<li><input class="wcps_content_source" name="wcps_content_source" id="wcps_content_source_recent" type="radio" value="recent" <?php if($wcps_content_source=="recent") echo "checked";?> /> <label for="wcps_content_source_recent"
|
718 |
-
<div class="wcps_content_source_recent content-source-box"
|
719 |
</li>
|
720 |
|
721 |
-
<li><input class="wcps_content_source" name="wcps_content_source" id="wcps_content_source_featured" type="radio" value="featured" <?php if($wcps_content_source=="featured") echo "checked";?> /> <label for="wcps_content_source_featured"
|
722 |
|
723 |
-
<div class="wcps_content_source_featured content-source-box"
|
724 |
</li>
|
725 |
|
726 |
|
727 |
|
728 |
|
729 |
-
<li><input class="wcps_content_source" name="wcps_content_source" id="wcps_content_source_year" type="radio" value="year" <?php if($wcps_content_source=="year") echo "checked";?> /> <label for="wcps_content_source_year"
|
730 |
|
731 |
-
<div class="wcps_content_source_year content-source-box"
|
732 |
<input type="text" size="7" class="wcps_content_year" name="wcps_content_year" value="<?php if(!empty($wcps_content_year)) echo $wcps_content_year;?>" placeholder="2014" />
|
733 |
</div>
|
734 |
</li>
|
735 |
|
736 |
-
<li><input class="wcps_content_source" name="wcps_content_source" id="wcps_content_source_month" type="radio" value="month" <?php if($wcps_content_source=="month") echo "checked";?> /> <label for="wcps_content_source_month"
|
737 |
|
738 |
-
<div class="wcps_content_source_month content-source-box"
|
739 |
<input type="text" size="7" class="wcps_content_month_year" name="wcps_content_month_year" value="<?php if(!empty($wcps_content_month_year)) echo $wcps_content_month_year;?>" placeholder="2014" />
|
740 |
<input type="text" size="7" class="wcps_content_month" name="wcps_content_month" value="<?php if(!empty($wcps_content_month)) echo $wcps_content_month;?>" placeholder="06" />
|
741 |
</div>
|
@@ -795,7 +802,7 @@ function meta_boxes_wcps_input( $post ) {
|
|
795 |
|
796 |
?>
|
797 |
<div class="option-box">
|
798 |
-
<p class="option-title"
|
799 |
<p class="option-info"></p>
|
800 |
<select name="wcps_items_thumb_size" >
|
801 |
<option value="thumbnail" <?php if($wcps_items_thumb_size=="thumbnail")echo "selected"; ?>>Thumbnail</option>
|
@@ -807,7 +814,7 @@ function meta_boxes_wcps_input( $post ) {
|
|
807 |
|
808 |
|
809 |
<div class="option-box">
|
810 |
-
<p class="option-title"
|
811 |
<p class="option-info"></p>
|
812 |
<select name="wcps_items_thumb_link_to" >
|
813 |
<option value="product" <?php if($wcps_items_thumb_link_to=="product")echo "selected"; ?>>Product</option>
|
@@ -819,7 +826,7 @@ function meta_boxes_wcps_input( $post ) {
|
|
819 |
|
820 |
|
821 |
<div class="option-box">
|
822 |
-
<p class="option-title"
|
823 |
<p class="option-info"></p>
|
824 |
<input type="text" name="wcps_items_thumb_max_hieght" placeholder="14px" id="wcps_items_thumb_max_hieght" value="<?php if(!empty($wcps_items_thumb_max_hieght)) echo $wcps_items_thumb_max_hieght; else echo "1000px"; ?>" />
|
825 |
</div>
|
@@ -834,8 +841,8 @@ function meta_boxes_wcps_input( $post ) {
|
|
834 |
|
835 |
?>
|
836 |
<div class="option-box">
|
837 |
-
<p class="option-title"
|
838 |
-
<p class="option-info"
|
839 |
<select name="wcps_cart_style" >
|
840 |
<option value="default" <?php if($wcps_cart_style=="default")echo "selected"; ?>>default</option>
|
841 |
<option value="custom" <?php if($wcps_cart_style=="custom")echo "selected"; ?>>custom</option>
|
@@ -845,8 +852,8 @@ function meta_boxes_wcps_input( $post ) {
|
|
845 |
|
846 |
|
847 |
<div class="option-box">
|
848 |
-
<p class="option-title"
|
849 |
-
<p class="option-info"
|
850 |
<select name="wcps_cart_display" >
|
851 |
<option value="yes" <?php if($wcps_cart_display=="yes")echo "selected"; ?>>Yes</option>
|
852 |
<option value="no" <?php if($wcps_cart_display=="no")echo "selected"; ?>>No</option>
|
@@ -860,8 +867,8 @@ function meta_boxes_wcps_input( $post ) {
|
|
860 |
|
861 |
?>
|
862 |
<div class="option-box">
|
863 |
-
<p class="option-title"
|
864 |
-
<p class="option-info"
|
865 |
<select name="wcps_sale_display" >
|
866 |
<option value="yes" <?php if($wcps_sale_display=="yes")echo "selected"; ?>>Yes</option>
|
867 |
<option value="no" <?php if($wcps_sale_display=="no")echo "selected"; ?>>No</option>
|
@@ -869,7 +876,7 @@ function meta_boxes_wcps_input( $post ) {
|
|
869 |
</div>
|
870 |
|
871 |
<div class="option-box">
|
872 |
-
<p class="option-title"
|
873 |
<p class="option-info"></p>
|
874 |
<input type="text" name="wcps_sale_icon_url" placeholder="" id="wcps_sale_icon_url" value="<?php if(!empty($wcps_sale_icon_url)) echo $wcps_sale_icon_url; else echo ""; ?>" />
|
875 |
</div>
|
@@ -885,13 +892,13 @@ function meta_boxes_wcps_input( $post ) {
|
|
885 |
|
886 |
?>
|
887 |
<div class="option-box">
|
888 |
-
<p class="option-title"
|
889 |
<p class="option-info"></p>
|
890 |
<input type="text" name="wcps_cart_bg" id="wcps_cart_bg" value="<?php if(!empty($wcps_cart_bg)) echo $wcps_cart_bg; else echo "#0fcd95"; ?>" />
|
891 |
</div>
|
892 |
|
893 |
<div class="option-box">
|
894 |
-
<p class="option-title"
|
895 |
<p class="option-info"></p>
|
896 |
<input type="text" name="wcps_cart_text_color" id="wcps_cart_text_color" value="<?php if(!empty($wcps_cart_text_color)) echo $wcps_cart_text_color; else echo "#fff"; ?>" />
|
897 |
</div>
|
@@ -903,8 +910,8 @@ function meta_boxes_wcps_input( $post ) {
|
|
903 |
|
904 |
?>
|
905 |
<div class="option-box">
|
906 |
-
<p class="option-title"
|
907 |
-
<p class="option-info"
|
908 |
|
909 |
<select name="wcps_items_title_display" >
|
910 |
<option value="yes" <?php if($wcps_items_title_display=="yes")echo "selected"; ?>>Yes</option>
|
@@ -915,12 +922,12 @@ function meta_boxes_wcps_input( $post ) {
|
|
915 |
|
916 |
|
917 |
<div class="option-box">
|
918 |
-
<p class="option-title"
|
919 |
<p class="option-info"></p>
|
920 |
<input type="text" name="wcps_items_title_color" id="wcps_items_title_color" value="<?php if(!empty($wcps_items_title_color)) echo $wcps_items_title_color; else echo "#0fcd95"; ?>" />
|
921 |
</div>
|
922 |
<div class="option-box">
|
923 |
-
<p class="option-title"
|
924 |
<p class="option-info"></p>
|
925 |
<input type="text" name="wcps_items_title_font_size" placeholder="14px" id="wcps_items_title_font_size" value="<?php if(!empty($wcps_items_title_font_size)) echo $wcps_items_title_font_size; else echo "14px"; ?>" />
|
926 |
</div>
|
@@ -931,8 +938,8 @@ function meta_boxes_wcps_input( $post ) {
|
|
931 |
elseif($item_key == 'featured'){
|
932 |
?>
|
933 |
<div class="option-box">
|
934 |
-
<p class="option-title"
|
935 |
-
<p class="option-info"
|
936 |
<select name="wcps_featured_display" >
|
937 |
<option value="yes" <?php if($wcps_featured_display=="yes")echo "selected"; ?>>Yes</option>
|
938 |
<option value="no" <?php if($wcps_featured_display=="no")echo "selected"; ?>>No</option>
|
@@ -940,7 +947,7 @@ function meta_boxes_wcps_input( $post ) {
|
|
940 |
</div>
|
941 |
|
942 |
<div class="option-box">
|
943 |
-
<p class="option-title"
|
944 |
<p class="option-info"></p>
|
945 |
<input type="text" name="wcps_featured_icon_url" placeholder="" id="wcps_featured_icon_url" value="<?php if(!empty($wcps_featured_icon_url)) echo $wcps_featured_icon_url; else echo ""; ?>" />
|
946 |
</div>
|
@@ -953,8 +960,8 @@ function meta_boxes_wcps_input( $post ) {
|
|
953 |
|
954 |
|
955 |
<div class="option-box">
|
956 |
-
<p class="option-title"
|
957 |
-
<p class="option-info"
|
958 |
|
959 |
<select name="wcps_items_price_display" >
|
960 |
<option value="yes" <?php if($wcps_items_price_display=="yes")echo "selected"; ?>>Yes</option>
|
@@ -964,7 +971,7 @@ function meta_boxes_wcps_input( $post ) {
|
|
964 |
</div>
|
965 |
|
966 |
<div class="option-box">
|
967 |
-
<p class="option-title"
|
968 |
<p class="option-info"></p>
|
969 |
<select name="wcps_total_items_price_format">
|
970 |
<option value="full" <?php if(($wcps_total_items_price_format=="full")) echo "selected"; ?> >Full Format</option>
|
@@ -978,13 +985,13 @@ function meta_boxes_wcps_input( $post ) {
|
|
978 |
|
979 |
|
980 |
<div class="option-box">
|
981 |
-
<p class="option-title"
|
982 |
<p class="option-info"></p>
|
983 |
<input type="text" name="wcps_items_price_color" id="wcps_items_price_color" value="<?php if(!empty($wcps_items_price_color)) echo $wcps_items_price_color; else echo "#0fcd95"; ?>" />
|
984 |
</div>
|
985 |
|
986 |
<div class="option-box">
|
987 |
-
<p class="option-title"
|
988 |
<p class="option-info"></p>
|
989 |
<input type="text" name="wcps_items_price_font_size" placeholder="14px" id="wcps_items_price_font_size" value="<?php if(!empty($wcps_items_price_font_size)) echo $wcps_items_price_font_size; else echo "14px"; ?>" />
|
990 |
</div>
|
@@ -997,8 +1004,8 @@ function meta_boxes_wcps_input( $post ) {
|
|
997 |
|
998 |
?>
|
999 |
<div class="option-box">
|
1000 |
-
<p class="option-title"
|
1001 |
-
<p class="option-info"
|
1002 |
<select name="wcps_ratings_display" >
|
1003 |
<option value="yes" <?php if($wcps_ratings_display=="yes")echo "selected"; ?>>Yes</option>
|
1004 |
<option value="no" <?php if($wcps_ratings_display=="no")echo "selected"; ?>>No</option>
|
@@ -1013,13 +1020,13 @@ function meta_boxes_wcps_input( $post ) {
|
|
1013 |
|
1014 |
?>
|
1015 |
<div class="option-box">
|
1016 |
-
<p class="option-title"
|
1017 |
<p class="option-info"></p>
|
1018 |
<input type="text" name="wcps_items_excerpt_count" placeholder="30" id="wcps_items_excerpt_count" value="<?php if(!empty($wcps_items_excerpt_count)) echo $wcps_items_excerpt_count; else echo "30"; ?>" />
|
1019 |
</div>
|
1020 |
|
1021 |
<div class="option-box">
|
1022 |
-
<p class="option-title"
|
1023 |
<p class="option-info"></p>
|
1024 |
<input type="text" name="wcps_items_excerpt_read_more" placeholder="View product." id="wcps_items_excerpt_read_more" value="<?php if(!empty($wcps_items_excerpt_read_more)) echo $wcps_items_excerpt_read_more; else echo "View product."; ?>" />
|
1025 |
</div>
|
@@ -1028,17 +1035,13 @@ function meta_boxes_wcps_input( $post ) {
|
|
1028 |
<?php
|
1029 |
|
1030 |
}
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
|
1037 |
elseif($item_key=='category'){
|
1038 |
?>
|
1039 |
<div class="option-box">
|
1040 |
-
<p class="option-title"
|
1041 |
-
<p class="option-info"
|
1042 |
<select name="wcps_cat_display" >
|
1043 |
<option value="yes" <?php if($wcps_cat_display=="yes")echo "selected"; ?>>Yes</option>
|
1044 |
<option value="no" <?php if($wcps_cat_display=="no")echo "selected"; ?>>No</option>
|
@@ -1090,7 +1093,7 @@ function meta_boxes_wcps_input( $post ) {
|
|
1090 |
<li style="display: none;" class="box4 tab-box">
|
1091 |
<div class="option-box">
|
1092 |
<p class="option-title"><?php _e('Custom CSS for this slider.','wcps'); ?></p>
|
1093 |
-
<p class="option-info"
|
1094 |
<br/>
|
1095 |
<b>#wcps-<?php
|
1096 |
|
10 |
function wcps_posttype_register() {
|
11 |
|
12 |
$labels = array(
|
13 |
+
'name' => __('WCPS', 'wcps'),
|
14 |
+
'singular_name' => __('WCPS', 'wcps'),
|
15 |
+
'add_new' => __('New WCPS', 'wcps'),
|
16 |
+
'add_new_item' => __('New WCPS','wcps'),
|
17 |
+
'edit_item' => __('Edit WCPS','wcps'),
|
18 |
+
'new_item' => __('New WCPS','wcps'),
|
19 |
+
'view_item' => __('View WCPS','wcps'),
|
20 |
+
'search_items' => __('Search WCPS','wcps'),
|
21 |
+
'not_found' => __('Nothing found','wcps'),
|
22 |
+
'not_found_in_trash' => __('Nothing found in Trash','wcps'),
|
23 |
'parent_item_colon' => ''
|
24 |
);
|
25 |
|
179 |
|
180 |
<div class="para-settings">
|
181 |
<div class="option-box">
|
182 |
+
<p class="option-title"><?php _e('Shortcode','wcps'); ?></p>
|
183 |
+
<p class="option-info">
|
184 |
+
<?php _e('Copy this shortcode and paste on page or post where you want to display slider. ','wcps'); ?>
|
185 |
+
<br />
|
186 |
+
<?php _e('Use PHP code to your themes file to display slider.','wcps'); ?>
|
187 |
+
</p>
|
188 |
+
<textarea cols="50" rows="1" style="background:#bfefff" onClick="this.select();" >[wcps <?php echo 'id="'.$post->ID.'"';?>]</textarea>
|
189 |
<br /><br />
|
190 |
PHP Code:<br />
|
191 |
+
<textarea cols="50" rows="1" style="background:#bfefff" onClick="this.select();" ><?php echo '<?php echo do_shortcode("[wcps id='; echo "'".$post->ID."']"; echo '"); ?>'; ?></textarea>
|
192 |
</div>
|
193 |
|
194 |
|
195 |
<ul class="tab-nav">
|
196 |
+
<li nav="1" class="nav1 active"><?php _e('Options','wcps'); ?></li>
|
197 |
+
<li nav="2" class="nav2"><?php _e('Style','wcps'); ?></li>
|
198 |
+
<li nav="3" class="nav3"><?php _e('Content','wcps'); ?></li>
|
199 |
+
<li nav="4" class="nav4"><?php _e('Custom CSS','wcps'); ?></li>
|
200 |
</ul> <!-- tab-nav end -->
|
201 |
|
202 |
<ul class="box">
|
203 |
<li style="display: block;" class="box1 tab-box active">
|
204 |
<div class="option-box">
|
205 |
+
<p class="option-title"><?php _e('Slider Total Items','wcps'); ?></p>
|
206 |
<p class="option-info"></p>
|
207 |
<input type="text" size="5" name="wcps_total_items" value="<?php if(!empty($wcps_total_items))echo $wcps_total_items; else echo 15; ?>" />
|
208 |
</div>
|
209 |
|
210 |
<div class="option-box">
|
211 |
+
<p class="option-title"><?php _e('Slider Column Number','wcps'); ?></p>
|
212 |
<p class="option-info"></p>
|
213 |
+
<?php _e('In Destop: (min:1000px and max)','wcps'); ?>
|
214 |
+
<br />
|
215 |
<input type="text" placeholder="4" name="wcps_column_number" value="<?php if(!empty($wcps_column_number))echo $wcps_column_number; else echo 4; ?>" />
|
216 |
<br /><br />
|
217 |
+
<?php _e('In Tablet & Small Desktop: (900px max width)','wcps'); ?>
|
218 |
+
<br />
|
219 |
<input type="text" placeholder="2" name="wcps_column_number_tablet" value="<?php if(!empty($wcps_column_number_tablet)) echo $wcps_column_number_tablet; else echo 2; ?>" />
|
220 |
|
221 |
<br /><br />
|
222 |
+
<?php _e('In Mobile: (479px max width)','wcps'); ?>
|
223 |
+
<br />
|
224 |
<input type="text" placeholder="1" name="wcps_column_number_mobile" value="<?php if(!empty($wcps_column_number_mobile)) echo $wcps_column_number_mobile; else echo 1; ?>" />
|
225 |
|
226 |
|
235 |
|
236 |
|
237 |
<div class="option-box">
|
238 |
+
<p class="option-title"><?php _e('Slider Auto Play','wcps');?></p>
|
239 |
<p class="option-info"></p>
|
240 |
<input type="checkbox" id="wcps_auto_play" name="wcps_auto_play" value="true" <?php if(($wcps_auto_play=="true")) echo "checked"; else echo ""; ?> />
|
241 |
<?php if(($wcps_auto_play=="true")) { ?>
|
242 |
+
<label for="wcps_auto_play" ><?php _e('Active','wcps'); ?></label>
|
243 |
<?php }
|
244 |
|
245 |
else
|
246 |
{
|
247 |
?>
|
248 |
+
<label for="wcps_auto_play" ><?php _e('Inactive','wcps'); ?></label>
|
249 |
<?php
|
250 |
}
|
251 |
?>
|
252 |
</div>
|
253 |
<div class="option-box">
|
254 |
+
<p class="option-title"><?php _e('Slider Stop on Hover','wcps'); ?></p>
|
255 |
<p class="option-info"></p>
|
256 |
<input type="checkbox" id="wcps_stop_on_hover" name="wcps_stop_on_hover" value="true" <?php if(($wcps_stop_on_hover=="true")) echo "checked"; else echo ""; ?> />
|
257 |
<?php if(($wcps_stop_on_hover=="true")) { ?>
|
258 |
+
<label for="wcps_stop_on_hover" ><?php _e('Active','wcps'); ?></label>
|
259 |
<?php }
|
260 |
|
261 |
else
|
262 |
{
|
263 |
?>
|
264 |
+
<label for="wcps_stop_on_hover" ><?php _e('Inactive','wcps'); ?></label>
|
265 |
<?php
|
266 |
}
|
267 |
?>
|
268 |
</div>
|
269 |
<div class="option-box">
|
270 |
+
<p class="option-title"><?php _e('Slider Navigation at Top','wcps'); ?></p>
|
271 |
<p class="option-info"></p>
|
272 |
<input type="checkbox" id="wcps_slider_navigation" name="wcps_slider_navigation" value="true" <?php if(($wcps_slider_navigation=="true")) echo "checked"; else echo ""; ?> />
|
273 |
<?php if(($wcps_slider_navigation=="true")) { ?>
|
274 |
+
<label for="wcps_slider_navigation" ><?php _e('Active','wcps'); ?></label>
|
275 |
<?php }
|
276 |
|
277 |
else
|
278 |
{
|
279 |
?>
|
280 |
+
<label for="wcps_slider_navigation" ><?php _e('Inactive','wcps'); ?></label>
|
281 |
<?php
|
282 |
}
|
283 |
?>
|
284 |
</div>
|
285 |
|
286 |
<div class="option-box">
|
287 |
+
<p class="option-title"><?php _e('Slider Navigation Position','wcps'); ?></p>
|
288 |
<p class="option-info"></p>
|
289 |
<select name="wcps_slider_navigation_position">
|
290 |
<option value="topright" <?php if(($wcps_slider_navigation_position=="topright")) echo "selected"; ?> >Top Right</option>
|
305 |
|
306 |
|
307 |
<div class="option-box">
|
308 |
+
<p class="option-title"><?php _e('Slider Pagination at Bottom','wcps'); ?></p>
|
309 |
<p class="option-info"></p>
|
310 |
<input type="checkbox" id="wcps_slider_pagination" name="wcps_slider_pagination" value="true" <?php if(($wcps_slider_pagination=="true")) echo "checked"; else echo ""; ?> />
|
311 |
<?php if(($wcps_slider_pagination=="true")) { ?>
|
312 |
+
<label for="wcps_slider_pagination" ><?php _e('Active','wcps'); ?></label>
|
313 |
<?php }
|
314 |
|
315 |
else
|
316 |
{
|
317 |
?>
|
318 |
+
<label for="wcps_slider_pagination" ><?php _e('Inactive','wcps'); ?></label>
|
319 |
<?php
|
320 |
}
|
321 |
?>
|
322 |
</div>
|
323 |
<div class="option-box">
|
324 |
+
<p class="option-title"><?php _e('Pagination Number Counting','wcps'); ?></p>
|
325 |
<p class="option-info"></p>
|
326 |
<input type="checkbox" id="wcps_slider_pagination_count" name="wcps_slider_pagination_count" value="true" <?php if(($wcps_slider_pagination_count=="true")) echo "checked"; else echo ""; ?> />
|
327 |
<?php if(($wcps_slider_pagination_count=="true")) { ?>
|
328 |
+
<label for="wcps_slider_pagination_count" ><?php _e('Active','wcps'); ?></label>
|
329 |
<?php }
|
330 |
|
331 |
else
|
332 |
{
|
333 |
?>
|
334 |
+
<label for="wcps_slider_pagination_count" ><?php _e('Inactive','wcps'); ?></label>
|
335 |
<?php
|
336 |
}
|
337 |
?>
|
338 |
</div>
|
339 |
<div class="option-box">
|
340 |
+
<p class="option-title"><?php _e('Slide Speed','wcps'); ?></p>
|
341 |
<p class="option-info"></p>
|
342 |
<input type="text" id="wcps_slide_speed" name="wcps_slide_speed" value="<?php if(!empty($wcps_slide_speed)) echo $wcps_slide_speed; else echo "1000"; ?>" />
|
343 |
</div>
|
344 |
<div class="option-box">
|
345 |
+
<p class="option-title"><?php _e('Pagination Slide Speed','wcps'); ?></p>
|
346 |
<p class="option-info"></p>
|
347 |
<input type="text" id="wcps_pagination_slide_speed" name="wcps_pagination_slide_speed" value="<?php if(!empty($wcps_pagination_slide_speed)) echo $wcps_pagination_slide_speed; else echo "1000"; ?>" />
|
348 |
</div>
|
349 |
|
350 |
<div class="option-box">
|
351 |
+
<p class="option-title"><?php _e('Slider Touch Drag Enabled','wcps'); ?></p>
|
352 |
<p class="option-info"></p>
|
353 |
<input type="checkbox" id="wcps_slider_touch_drag" name="wcps_slider_touch_drag" value="true" <?php if(($wcps_slider_touch_drag=="true")) echo "checked"; else echo ""; ?> />
|
354 |
<?php if(($wcps_slider_touch_drag=="true")) { ?>
|
355 |
+
<label for="wcps_slider_touch_drag" ><?php _e('Active','wcps'); ?></label>
|
356 |
<?php }
|
357 |
|
358 |
else
|
359 |
{
|
360 |
?>
|
361 |
+
<label for="wcps_slider_touch_drag" ><?php _e('Inactive','wcps'); ?></label>
|
362 |
<?php
|
363 |
}
|
364 |
?>
|
365 |
</div>
|
366 |
<div class="option-box">
|
367 |
+
<p class="option-title"><?php _e('Slider Mouse Drag Enabled','wcps'); ?></p>
|
368 |
<p class="option-info"></p>
|
369 |
<input type="checkbox" id="wcps_slider_mouse_drag" name="wcps_slider_mouse_drag" value="true" <?php if(($wcps_slider_mouse_drag=="true")) echo "checked"; else echo ""; ?> />
|
370 |
<?php if(($wcps_slider_mouse_drag=="true")) { ?>
|
371 |
+
<label for="wcps_slider_mouse_drag" ><?php _e('Active','wcps'); ?></label>
|
372 |
<?php }
|
373 |
|
374 |
else
|
375 |
{
|
376 |
?>
|
377 |
+
<label for="wcps_slider_mouse_drag" ><?php _e('Inactive','wcps'); ?></label>
|
378 |
<?php
|
379 |
}
|
380 |
?>
|
383 |
</li>
|
384 |
<li style="display: none;" class="box2 tab-box ">
|
385 |
<div class="option-box">
|
386 |
+
<p class="option-title"><?php _e('Themes','wcps'); ?></p>
|
387 |
<p class="option-info"></p>
|
388 |
|
389 |
|
413 |
|
414 |
|
415 |
<div class="option-box">
|
416 |
+
<p class="option-title"><?php _e('Slider Ribbon','wcps'); ?></p>
|
417 |
<p class="option-info"></p>
|
418 |
<?php
|
419 |
|
484 |
|
485 |
|
486 |
<div class="option-box">
|
487 |
+
<p class="option-title"><?php _e('Background Image','wcps'); ?></p>
|
488 |
<p class="option-info"></p>
|
489 |
<script>
|
490 |
jQuery(document).ready(function(jQuery)
|
588 |
|
589 |
|
590 |
<div class="option-box">
|
591 |
+
<p class="option-title"><?php _e('Pagination Background Color','wcps'); ?></p>
|
592 |
<p class="option-info"></p>
|
593 |
<input type="text" name="wcps_slider_pagination_bg" id="wcps_slider_pagination_bg" value="<?php if(!empty($wcps_slider_pagination_bg)) echo $wcps_slider_pagination_bg; else echo "#1eb286"; ?>" />
|
594 |
</div>
|
595 |
|
596 |
<div class="option-box">
|
597 |
+
<p class="option-title"><?php _e('Pagination Text Color','wcps'); ?></p>
|
598 |
<p class="option-info"></p>
|
599 |
<input type="text" name="wcps_slider_pagination_text_color" id="wcps_slider_pagination_text_color" value="<?php if(!empty($wcps_slider_pagination_text_color)) echo $wcps_slider_pagination_text_color; else echo "#fff"; ?>" />
|
600 |
</div>
|
614 |
<li style="display: none;" class="box3 tab-box ">
|
615 |
|
616 |
<div class="option-box">
|
617 |
+
<p class="option-title"><?php _e('Empty Thumbnail','wcps'); ?></p>
|
618 |
<p class="option-info"></p>
|
619 |
<input style="width:100%;" type="text" name="wcps_items_empty_thumb" id="wcps_items_empty_thumb" value="<?php if(!empty($wcps_items_empty_thumb)) echo $wcps_items_empty_thumb; ?>" /><br /><br />
|
620 |
<input id="wcps_items_empty_thumb_upload" class="wcps_items_empty_thumb_upload button" type="button" value="Upload Image" />
|
718 |
|
719 |
|
720 |
<div class="option-box">
|
721 |
+
<p class="option-title"><?php _e('Filter Slider Content.','wcps'); ?></p>
|
722 |
<p class="option-info"></p>
|
723 |
<ul class="content_source_area" >
|
724 |
+
<li><input class="wcps_content_source" name="wcps_content_source" id="wcps_content_source_recent" type="radio" value="recent" <?php if($wcps_content_source=="recent") echo "checked";?> /> <label for="wcps_content_source_recent"><?php _e('Display from Recent Published','wcps'); ?></label>
|
725 |
+
<div class="wcps_content_source_recent content-source-box"><?php _e('Slider items will query from recent published product.','wcps'); ?></div>
|
726 |
</li>
|
727 |
|
728 |
+
<li><input class="wcps_content_source" name="wcps_content_source" id="wcps_content_source_featured" type="radio" value="featured" <?php if($wcps_content_source=="featured") echo "checked";?> /> <label for="wcps_content_source_featured"><?php _e('Display from Featured Product','wcps'); ?></label>
|
729 |
|
730 |
+
<div class="wcps_content_source_featured content-source-box"><?php _e('Slider items will query from featured marked product.','wcps'); ?></div>
|
731 |
</li>
|
732 |
|
733 |
|
734 |
|
735 |
|
736 |
+
<li><input class="wcps_content_source" name="wcps_content_source" id="wcps_content_source_year" type="radio" value="year" <?php if($wcps_content_source=="year") echo "checked";?> /> <label for="wcps_content_source_year"><?php _e('Display from Only Year','wcps'); ?></label>
|
737 |
|
738 |
+
<div class="wcps_content_source_year content-source-box"><?php _e('Slider items will query from a year.','wcps'); ?>
|
739 |
<input type="text" size="7" class="wcps_content_year" name="wcps_content_year" value="<?php if(!empty($wcps_content_year)) echo $wcps_content_year;?>" placeholder="2014" />
|
740 |
</div>
|
741 |
</li>
|
742 |
|
743 |
+
<li><input class="wcps_content_source" name="wcps_content_source" id="wcps_content_source_month" type="radio" value="month" <?php if($wcps_content_source=="month") echo "checked";?> /> <label for="wcps_content_source_month"><?php _e('Display from Month','wcps'); ?></label>
|
744 |
|
745 |
+
<div class="wcps_content_source_month content-source-box"><?php _e('Slider items will query from Month of a year.','wcps'); ?><br />
|
746 |
<input type="text" size="7" class="wcps_content_month_year" name="wcps_content_month_year" value="<?php if(!empty($wcps_content_month_year)) echo $wcps_content_month_year;?>" placeholder="2014" />
|
747 |
<input type="text" size="7" class="wcps_content_month" name="wcps_content_month" value="<?php if(!empty($wcps_content_month)) echo $wcps_content_month;?>" placeholder="06" />
|
748 |
</div>
|
802 |
|
803 |
?>
|
804 |
<div class="option-box">
|
805 |
+
<p class="option-title"><?php _e('Slider Thumbnail Size','wcps'); ?></p>
|
806 |
<p class="option-info"></p>
|
807 |
<select name="wcps_items_thumb_size" >
|
808 |
<option value="thumbnail" <?php if($wcps_items_thumb_size=="thumbnail")echo "selected"; ?>>Thumbnail</option>
|
814 |
|
815 |
|
816 |
<div class="option-box">
|
817 |
+
<p class="option-title"><?php _e('Items thumbnail link\'s to','wcps'); ?></p>
|
818 |
<p class="option-info"></p>
|
819 |
<select name="wcps_items_thumb_link_to" >
|
820 |
<option value="product" <?php if($wcps_items_thumb_link_to=="product")echo "selected"; ?>>Product</option>
|
826 |
|
827 |
|
828 |
<div class="option-box">
|
829 |
+
<p class="option-title"><?php _e('Slider thumb max hieght(px)','wcps'); ?></p>
|
830 |
<p class="option-info"></p>
|
831 |
<input type="text" name="wcps_items_thumb_max_hieght" placeholder="14px" id="wcps_items_thumb_max_hieght" value="<?php if(!empty($wcps_items_thumb_max_hieght)) echo $wcps_items_thumb_max_hieght; else echo "1000px"; ?>" />
|
832 |
</div>
|
841 |
|
842 |
?>
|
843 |
<div class="option-box">
|
844 |
+
<p class="option-title"><?php _e('Items Add to cart button Style','wcps'); ?></p>
|
845 |
+
<p class="option-info"><?php _e('You can hide items Add to cart button on slider.','wcps'); ?></p>
|
846 |
<select name="wcps_cart_style" >
|
847 |
<option value="default" <?php if($wcps_cart_style=="default")echo "selected"; ?>>default</option>
|
848 |
<option value="custom" <?php if($wcps_cart_style=="custom")echo "selected"; ?>>custom</option>
|
852 |
|
853 |
|
854 |
<div class="option-box">
|
855 |
+
<p class="option-title"><?php _e('Items Add to cart button Display','wcps'); ?></p>
|
856 |
+
<p class="option-info"><?php _e('You can hide items Add to cart button on slider.','wcps'); ?></p>
|
857 |
<select name="wcps_cart_display" >
|
858 |
<option value="yes" <?php if($wcps_cart_display=="yes")echo "selected"; ?>>Yes</option>
|
859 |
<option value="no" <?php if($wcps_cart_display=="no")echo "selected"; ?>>No</option>
|
867 |
|
868 |
?>
|
869 |
<div class="option-box">
|
870 |
+
<p class="option-title"><?php _e('Items Sale marker display','wcps'); ?></p>
|
871 |
+
<p class="option-info"><?php _e('You can hide items featured marker on slider.','wcps'); ?></p>
|
872 |
<select name="wcps_sale_display" >
|
873 |
<option value="yes" <?php if($wcps_sale_display=="yes")echo "selected"; ?>>Yes</option>
|
874 |
<option value="no" <?php if($wcps_sale_display=="no")echo "selected"; ?>>No</option>
|
876 |
</div>
|
877 |
|
878 |
<div class="option-box">
|
879 |
+
<p class="option-title"><?php _e('Custom sale marker icon url','wcps'); ?></p>
|
880 |
<p class="option-info"></p>
|
881 |
<input type="text" name="wcps_sale_icon_url" placeholder="" id="wcps_sale_icon_url" value="<?php if(!empty($wcps_sale_icon_url)) echo $wcps_sale_icon_url; else echo ""; ?>" />
|
882 |
</div>
|
892 |
|
893 |
?>
|
894 |
<div class="option-box">
|
895 |
+
<p class="option-title"><?php _e('Add to cart Background Color','wcps'); ?></p>
|
896 |
<p class="option-info"></p>
|
897 |
<input type="text" name="wcps_cart_bg" id="wcps_cart_bg" value="<?php if(!empty($wcps_cart_bg)) echo $wcps_cart_bg; else echo "#0fcd95"; ?>" />
|
898 |
</div>
|
899 |
|
900 |
<div class="option-box">
|
901 |
+
<p class="option-title"><?php _e('Add to cart Text Color','wcps'); ?></p>
|
902 |
<p class="option-info"></p>
|
903 |
<input type="text" name="wcps_cart_text_color" id="wcps_cart_text_color" value="<?php if(!empty($wcps_cart_text_color)) echo $wcps_cart_text_color; else echo "#fff"; ?>" />
|
904 |
</div>
|
910 |
|
911 |
?>
|
912 |
<div class="option-box">
|
913 |
+
<p class="option-title"><?php _e('Items Title Display','wcps'); ?></p>
|
914 |
+
<p class="option-info"><?php _e('You can hide items title on slider.','wcps'); ?></p>
|
915 |
|
916 |
<select name="wcps_items_title_display" >
|
917 |
<option value="yes" <?php if($wcps_items_title_display=="yes")echo "selected"; ?>>Yes</option>
|
922 |
|
923 |
|
924 |
<div class="option-box">
|
925 |
+
<p class="option-title"><?php _e('Items Title Color','wcps'); ?></p>
|
926 |
<p class="option-info"></p>
|
927 |
<input type="text" name="wcps_items_title_color" id="wcps_items_title_color" value="<?php if(!empty($wcps_items_title_color)) echo $wcps_items_title_color; else echo "#0fcd95"; ?>" />
|
928 |
</div>
|
929 |
<div class="option-box">
|
930 |
+
<p class="option-title"><?php _e('Items Title Font Size','wcps'); ?></p>
|
931 |
<p class="option-info"></p>
|
932 |
<input type="text" name="wcps_items_title_font_size" placeholder="14px" id="wcps_items_title_font_size" value="<?php if(!empty($wcps_items_title_font_size)) echo $wcps_items_title_font_size; else echo "14px"; ?>" />
|
933 |
</div>
|
938 |
elseif($item_key == 'featured'){
|
939 |
?>
|
940 |
<div class="option-box">
|
941 |
+
<p class="option-title"><?php _e('Items featured marker display','wcps'); ?></p>
|
942 |
+
<p class="option-info"><?php _e('You can hide items featured marker on slider.','wcps'); ?></p>
|
943 |
<select name="wcps_featured_display" >
|
944 |
<option value="yes" <?php if($wcps_featured_display=="yes")echo "selected"; ?>>Yes</option>
|
945 |
<option value="no" <?php if($wcps_featured_display=="no")echo "selected"; ?>>No</option>
|
947 |
</div>
|
948 |
|
949 |
<div class="option-box">
|
950 |
+
<p class="option-title"><?php _e('Featured marker icon','wcps'); ?></p>
|
951 |
<p class="option-info"></p>
|
952 |
<input type="text" name="wcps_featured_icon_url" placeholder="" id="wcps_featured_icon_url" value="<?php if(!empty($wcps_featured_icon_url)) echo $wcps_featured_icon_url; else echo ""; ?>" />
|
953 |
</div>
|
960 |
|
961 |
|
962 |
<div class="option-box">
|
963 |
+
<p class="option-title"><?php _e('Items Price Display','wcps'); ?></p>
|
964 |
+
<p class="option-info"><?php _e('You can hide items price on slider.','wcps'); ?></p>
|
965 |
|
966 |
<select name="wcps_items_price_display" >
|
967 |
<option value="yes" <?php if($wcps_items_price_display=="yes")echo "selected"; ?>>Yes</option>
|
971 |
</div>
|
972 |
|
973 |
<div class="option-box">
|
974 |
+
<p class="option-title"><?php _e('Price format on slider','wcps'); ?></p>
|
975 |
<p class="option-info"></p>
|
976 |
<select name="wcps_total_items_price_format">
|
977 |
<option value="full" <?php if(($wcps_total_items_price_format=="full")) echo "selected"; ?> >Full Format</option>
|
985 |
|
986 |
|
987 |
<div class="option-box">
|
988 |
+
<p class="option-title"><?php _e('Items Price Color','wcps'); ?></p>
|
989 |
<p class="option-info"></p>
|
990 |
<input type="text" name="wcps_items_price_color" id="wcps_items_price_color" value="<?php if(!empty($wcps_items_price_color)) echo $wcps_items_price_color; else echo "#0fcd95"; ?>" />
|
991 |
</div>
|
992 |
|
993 |
<div class="option-box">
|
994 |
+
<p class="option-title"><?php _e('Items price Font Size','wcps'); ?></p>
|
995 |
<p class="option-info"></p>
|
996 |
<input type="text" name="wcps_items_price_font_size" placeholder="14px" id="wcps_items_price_font_size" value="<?php if(!empty($wcps_items_price_font_size)) echo $wcps_items_price_font_size; else echo "14px"; ?>" />
|
997 |
</div>
|
1004 |
|
1005 |
?>
|
1006 |
<div class="option-box">
|
1007 |
+
<p class="option-title"><?php _e('Star Rating Display','wcps'); ?></p>
|
1008 |
+
<p class="option-info"><?php _e('You can hide star ratings on slider.','wcps'); ?></p>
|
1009 |
<select name="wcps_ratings_display" >
|
1010 |
<option value="yes" <?php if($wcps_ratings_display=="yes")echo "selected"; ?>>Yes</option>
|
1011 |
<option value="no" <?php if($wcps_ratings_display=="no")echo "selected"; ?>>No</option>
|
1020 |
|
1021 |
?>
|
1022 |
<div class="option-box">
|
1023 |
+
<p class="option-title"><?php _e('Excerpt word count','wcps'); ?></p>
|
1024 |
<p class="option-info"></p>
|
1025 |
<input type="text" name="wcps_items_excerpt_count" placeholder="30" id="wcps_items_excerpt_count" value="<?php if(!empty($wcps_items_excerpt_count)) echo $wcps_items_excerpt_count; else echo "30"; ?>" />
|
1026 |
</div>
|
1027 |
|
1028 |
<div class="option-box">
|
1029 |
+
<p class="option-title"><?php _e('Excerpt read more text','wcps'); ?></p>
|
1030 |
<p class="option-info"></p>
|
1031 |
<input type="text" name="wcps_items_excerpt_read_more" placeholder="View product." id="wcps_items_excerpt_read_more" value="<?php if(!empty($wcps_items_excerpt_read_more)) echo $wcps_items_excerpt_read_more; else echo "View product."; ?>" />
|
1032 |
</div>
|
1035 |
<?php
|
1036 |
|
1037 |
}
|
1038 |
+
|
|
|
|
|
|
|
|
|
1039 |
|
1040 |
elseif($item_key=='category'){
|
1041 |
?>
|
1042 |
<div class="option-box">
|
1043 |
+
<p class="option-title"><?php _e('Items category display','wcps'); ?></p>
|
1044 |
+
<p class="option-info"><?php _e('You can hide items category on slider.','wcps'); ?></p>
|
1045 |
<select name="wcps_cat_display" >
|
1046 |
<option value="yes" <?php if($wcps_cat_display=="yes")echo "selected"; ?>>Yes</option>
|
1047 |
<option value="no" <?php if($wcps_cat_display=="no")echo "selected"; ?>>No</option>
|
1093 |
<li style="display: none;" class="box4 tab-box">
|
1094 |
<div class="option-box">
|
1095 |
<p class="option-title"><?php _e('Custom CSS for this slider.','wcps'); ?></p>
|
1096 |
+
<p class="option-info"><?php _e('Do not use <style></style> tag, you can use bellow prefix to your css, sometime you need use "!important" to overrid.','wcps'); ?>
|
1097 |
<br/>
|
1098 |
<b>#wcps-<?php
|
1099 |
|
languages/default.mo
ADDED
Binary file
|
languages/default.po
ADDED
@@ -0,0 +1,422 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Woocommerce Products Slider\n"
|
4 |
+
"POT-Creation-Date: 2015-10-25 00:22+0600\n"
|
5 |
+
"PO-Revision-Date: 2015-10-25 00:22+0600\n"
|
6 |
+
"Last-Translator: Nur Hasan <public.nurhasan@gmail.com>\n"
|
7 |
+
"Language-Team: ParaTheme <support@paratheme.com>\n"
|
8 |
+
"Language: en\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.7.1\n"
|
13 |
+
"X-Poedit-Basepath: ../\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
+
"X-Poedit-KeywordsList: _e;__\n"
|
16 |
+
"X-Poedit-SearchPath-0: .\n"
|
17 |
+
"X-Poedit-SearchPath-1: includes\n"
|
18 |
+
"X-Poedit-SearchPath-2: templates\n"
|
19 |
+
"X-Poedit-SearchPath-3: themes\n"
|
20 |
+
|
21 |
+
#: includes/class-settings.php:21 includes/menu/settings.php:45
|
22 |
+
msgid "Settings"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: includes/menu/settings.php:33
|
26 |
+
msgid "Changes Saved."
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: includes/menu/settings.php:56
|
30 |
+
msgid "Help"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: includes/menu/settings.php:64
|
34 |
+
msgid "Need Help ?"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: includes/menu/settings.php:98
|
38 |
+
msgid "Submit Reviews"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: includes/menu/settings.php:99
|
42 |
+
msgid ""
|
43 |
+
"We are working hard to build some awesome plugins for you and spend thousand "
|
44 |
+
"hour for plugins. we wish your three(3) minute by submitting five star "
|
45 |
+
"reviews at wordpress.org. if you have any issue please submit at forum."
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: includes/menu/settings.php:109
|
49 |
+
msgid "Please Share"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: includes/menu/settings.php:110
|
53 |
+
msgid "If you like this plugin please share with your social share network."
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: includes/menu/settings.php:117
|
57 |
+
msgid "Video Tutorial"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
+
#: includes/menu/settings.php:118
|
61 |
+
msgid "Please watch this video tutorial."
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#: includes/menu/settings.php:135
|
65 |
+
msgid "Save Changes"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: includes/wcps-functions.php:244 includes/wcps-meta.php:182
|
69 |
+
msgid "Shortcode"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: includes/wcps-meta.php:13 includes/wcps-meta.php:14
|
73 |
+
msgid "WCPS"
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: includes/wcps-meta.php:15 includes/wcps-meta.php:16
|
77 |
+
#: includes/wcps-meta.php:18
|
78 |
+
msgid "New WCPS"
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: includes/wcps-meta.php:17
|
82 |
+
msgid "Edit WCPS"
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: includes/wcps-meta.php:19
|
86 |
+
msgid "View WCPS"
|
87 |
+
msgstr ""
|
88 |
+
|
89 |
+
#: includes/wcps-meta.php:20
|
90 |
+
msgid "Search WCPS"
|
91 |
+
msgstr ""
|
92 |
+
|
93 |
+
#: includes/wcps-meta.php:21
|
94 |
+
msgid "Nothing found"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: includes/wcps-meta.php:22
|
98 |
+
msgid "Nothing found in Trash"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: includes/wcps-meta.php:60
|
102 |
+
msgid "Woocommerce Products Slider Options"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: includes/wcps-meta.php:184
|
106 |
+
msgid ""
|
107 |
+
"Copy this shortcode and paste on page or post where you want to display "
|
108 |
+
"slider. "
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: includes/wcps-meta.php:186
|
112 |
+
msgid "Use PHP code to your themes file to display slider."
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: includes/wcps-meta.php:196
|
116 |
+
msgid "Options"
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: includes/wcps-meta.php:197
|
120 |
+
msgid "Style"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: includes/wcps-meta.php:198
|
124 |
+
msgid "Content"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: includes/wcps-meta.php:199
|
128 |
+
msgid "Custom CSS"
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: includes/wcps-meta.php:205
|
132 |
+
msgid "Slider Total Items"
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: includes/wcps-meta.php:211
|
136 |
+
msgid "Slider Column Number"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: includes/wcps-meta.php:213
|
140 |
+
msgid "In Destop: (min:1000px and max)"
|
141 |
+
msgstr ""
|
142 |
+
|
143 |
+
#: includes/wcps-meta.php:217
|
144 |
+
msgid "In Tablet & Small Desktop: (900px max width)"
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#: includes/wcps-meta.php:222
|
148 |
+
msgid "In Mobile: (479px max width)"
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: includes/wcps-meta.php:238
|
152 |
+
msgid "Slider Auto Play"
|
153 |
+
msgstr ""
|
154 |
+
|
155 |
+
#: includes/wcps-meta.php:242 includes/wcps-meta.php:258
|
156 |
+
#: includes/wcps-meta.php:274 includes/wcps-meta.php:312
|
157 |
+
#: includes/wcps-meta.php:328 includes/wcps-meta.php:355
|
158 |
+
#: includes/wcps-meta.php:371
|
159 |
+
msgid "Active"
|
160 |
+
msgstr ""
|
161 |
+
|
162 |
+
#: includes/wcps-meta.php:248 includes/wcps-meta.php:264
|
163 |
+
#: includes/wcps-meta.php:280 includes/wcps-meta.php:318
|
164 |
+
#: includes/wcps-meta.php:334 includes/wcps-meta.php:361
|
165 |
+
#: includes/wcps-meta.php:377
|
166 |
+
msgid "Inactive"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#: includes/wcps-meta.php:254
|
170 |
+
msgid "Slider Stop on Hover"
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: includes/wcps-meta.php:270
|
174 |
+
msgid "Slider Navigation at Top"
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: includes/wcps-meta.php:287
|
178 |
+
msgid "Slider Navigation Position"
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: includes/wcps-meta.php:308
|
182 |
+
msgid "Slider Pagination at Bottom"
|
183 |
+
msgstr ""
|
184 |
+
|
185 |
+
#: includes/wcps-meta.php:324
|
186 |
+
msgid "Pagination Number Counting"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: includes/wcps-meta.php:340
|
190 |
+
msgid "Slide Speed"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: includes/wcps-meta.php:345
|
194 |
+
msgid "Pagination Slide Speed"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#: includes/wcps-meta.php:351
|
198 |
+
msgid "Slider Touch Drag Enabled"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: includes/wcps-meta.php:367
|
202 |
+
msgid "Slider Mouse Drag Enabled"
|
203 |
+
msgstr ""
|
204 |
+
|
205 |
+
#: includes/wcps-meta.php:386
|
206 |
+
msgid "Themes"
|
207 |
+
msgstr ""
|
208 |
+
|
209 |
+
#: includes/wcps-meta.php:416
|
210 |
+
msgid "Slider Ribbon"
|
211 |
+
msgstr ""
|
212 |
+
|
213 |
+
#: includes/wcps-meta.php:487
|
214 |
+
msgid "Background Image"
|
215 |
+
msgstr ""
|
216 |
+
|
217 |
+
#: includes/wcps-meta.php:591
|
218 |
+
msgid "Pagination Background Color"
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: includes/wcps-meta.php:597
|
222 |
+
msgid "Pagination Text Color"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: includes/wcps-meta.php:617
|
226 |
+
msgid "Empty Thumbnail"
|
227 |
+
msgstr ""
|
228 |
+
|
229 |
+
#: includes/wcps-meta.php:687
|
230 |
+
msgid "Query order"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: includes/wcps-meta.php:697
|
234 |
+
msgid "Query orderBy"
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: includes/wcps-meta.php:721
|
238 |
+
msgid "Filter Slider Content."
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: includes/wcps-meta.php:724
|
242 |
+
msgid "Display from Recent Published"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: includes/wcps-meta.php:725
|
246 |
+
msgid "Slider items will query from recent published product."
|
247 |
+
msgstr ""
|
248 |
+
|
249 |
+
#: includes/wcps-meta.php:728
|
250 |
+
msgid "Display from Featured Product"
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
+
#: includes/wcps-meta.php:730
|
254 |
+
msgid "Slider items will query from featured marked product."
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
+
#: includes/wcps-meta.php:736
|
258 |
+
msgid "Display from Only Year"
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: includes/wcps-meta.php:738
|
262 |
+
msgid "Slider items will query from a year."
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: includes/wcps-meta.php:743
|
266 |
+
msgid "Display from Month"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: includes/wcps-meta.php:745
|
270 |
+
msgid "Slider items will query from Month of a year."
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: includes/wcps-meta.php:761
|
274 |
+
msgid "Product Items sort."
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: includes/wcps-meta.php:805
|
278 |
+
msgid "Slider Thumbnail Size"
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: includes/wcps-meta.php:817
|
282 |
+
msgid "Items thumbnail link's to"
|
283 |
+
msgstr ""
|
284 |
+
|
285 |
+
#: includes/wcps-meta.php:829
|
286 |
+
msgid "Slider thumb max hieght(px)"
|
287 |
+
msgstr ""
|
288 |
+
|
289 |
+
#: includes/wcps-meta.php:844
|
290 |
+
msgid "Items Add to cart button Style"
|
291 |
+
msgstr ""
|
292 |
+
|
293 |
+
#: includes/wcps-meta.php:845 includes/wcps-meta.php:856
|
294 |
+
msgid "You can hide items Add to cart button on slider."
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: includes/wcps-meta.php:855
|
298 |
+
msgid "Items Add to cart button Display"
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: includes/wcps-meta.php:870
|
302 |
+
msgid "Items Sale marker display"
|
303 |
+
msgstr ""
|
304 |
+
|
305 |
+
#: includes/wcps-meta.php:871 includes/wcps-meta.php:942
|
306 |
+
msgid "You can hide items featured marker on slider."
|
307 |
+
msgstr ""
|
308 |
+
|
309 |
+
#: includes/wcps-meta.php:879
|
310 |
+
msgid "Custom sale marker icon url"
|
311 |
+
msgstr ""
|
312 |
+
|
313 |
+
#: includes/wcps-meta.php:895
|
314 |
+
msgid "Add to cart Background Color"
|
315 |
+
msgstr ""
|
316 |
+
|
317 |
+
#: includes/wcps-meta.php:901
|
318 |
+
msgid "Add to cart Text Color"
|
319 |
+
msgstr ""
|
320 |
+
|
321 |
+
#: includes/wcps-meta.php:913
|
322 |
+
msgid "Items Title Display"
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: includes/wcps-meta.php:914
|
326 |
+
msgid "You can hide items title on slider."
|
327 |
+
msgstr ""
|
328 |
+
|
329 |
+
#: includes/wcps-meta.php:925
|
330 |
+
msgid "Items Title Color"
|
331 |
+
msgstr ""
|
332 |
+
|
333 |
+
#: includes/wcps-meta.php:930
|
334 |
+
msgid "Items Title Font Size"
|
335 |
+
msgstr ""
|
336 |
+
|
337 |
+
#: includes/wcps-meta.php:941
|
338 |
+
msgid "Items featured marker display"
|
339 |
+
msgstr ""
|
340 |
+
|
341 |
+
#: includes/wcps-meta.php:950
|
342 |
+
msgid "Featured marker icon"
|
343 |
+
msgstr ""
|
344 |
+
|
345 |
+
#: includes/wcps-meta.php:963
|
346 |
+
msgid "Items Price Display"
|
347 |
+
msgstr ""
|
348 |
+
|
349 |
+
#: includes/wcps-meta.php:964
|
350 |
+
msgid "You can hide items price on slider."
|
351 |
+
msgstr ""
|
352 |
+
|
353 |
+
#: includes/wcps-meta.php:974
|
354 |
+
msgid "Price format on slider"
|
355 |
+
msgstr ""
|
356 |
+
|
357 |
+
#: includes/wcps-meta.php:988
|
358 |
+
msgid "Items Price Color"
|
359 |
+
msgstr ""
|
360 |
+
|
361 |
+
#: includes/wcps-meta.php:994
|
362 |
+
msgid "Items price Font Size"
|
363 |
+
msgstr ""
|
364 |
+
|
365 |
+
#: includes/wcps-meta.php:1007
|
366 |
+
msgid "Star Rating Display"
|
367 |
+
msgstr ""
|
368 |
+
|
369 |
+
#: includes/wcps-meta.php:1008
|
370 |
+
msgid "You can hide star ratings on slider."
|
371 |
+
msgstr ""
|
372 |
+
|
373 |
+
#: includes/wcps-meta.php:1023
|
374 |
+
msgid "Excerpt word count"
|
375 |
+
msgstr ""
|
376 |
+
|
377 |
+
#: includes/wcps-meta.php:1029
|
378 |
+
msgid "Excerpt read more text"
|
379 |
+
msgstr ""
|
380 |
+
|
381 |
+
#: includes/wcps-meta.php:1043
|
382 |
+
msgid "Items category display"
|
383 |
+
msgstr ""
|
384 |
+
|
385 |
+
#: includes/wcps-meta.php:1044
|
386 |
+
msgid "You can hide items category on slider."
|
387 |
+
msgstr ""
|
388 |
+
|
389 |
+
#: includes/wcps-meta.php:1095
|
390 |
+
msgid "Custom CSS for this slider."
|
391 |
+
msgstr ""
|
392 |
+
|
393 |
+
#: includes/wcps-meta.php:1096
|
394 |
+
msgid ""
|
395 |
+
"Do not use <style></style> tag, you can use bellow prefix to your css, "
|
396 |
+
"sometime you need use \"!important\" to overrid."
|
397 |
+
msgstr ""
|
398 |
+
|
399 |
+
#: templates/wcps-category.php:24
|
400 |
+
msgid "Category:"
|
401 |
+
msgstr ""
|
402 |
+
|
403 |
+
#: templates/wcps-featured.php:22 themes/theme6/index-old.php:128
|
404 |
+
msgid "Featured Product"
|
405 |
+
msgstr ""
|
406 |
+
|
407 |
+
#: templates/wcps-price.php:12
|
408 |
+
msgid "Price:"
|
409 |
+
msgstr ""
|
410 |
+
|
411 |
+
#: templates/wcps-rating.php:16
|
412 |
+
msgid "Rated"
|
413 |
+
msgstr ""
|
414 |
+
|
415 |
+
#: templates/wcps-sale.php:19 themes/theme6/index-old.php:133
|
416 |
+
msgid "Sale Product"
|
417 |
+
msgstr ""
|
418 |
+
|
419 |
+
#: themes/theme1/index-old.php:141 themes/theme1/index.php:94
|
420 |
+
#: themes/theme6/index-old.php:172 themes/theme6/index.php:132
|
421 |
+
msgid "No Product to Slide"
|
422 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
Donate link: http://paratheme.com
|
4 |
Tags: product slider,carousel, product, slider, woocommerce, carousel slider, woocommerce slider, Woocommerce Product slider, featured product slider, sale product slider
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -92,7 +92,12 @@ then paste this shortcode anywhere in your page to display slider<br />
|
|
92 |
|
93 |
== Changelog ==
|
94 |
|
95 |
-
|
|
|
|
|
|
|
|
|
|
|
96 |
= 1.9 =
|
97 |
* 17/10/2015 fix - sale marker issue fixed.
|
98 |
|
3 |
Donate link: http://paratheme.com
|
4 |
Tags: product slider,carousel, product, slider, woocommerce, carousel slider, woocommerce slider, Woocommerce Product slider, featured product slider, sale product slider
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 4.4.0
|
7 |
+
Stable tag: 1.11
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
92 |
|
93 |
== Changelog ==
|
94 |
|
95 |
+
= 1.11 =
|
96 |
+
* 11/12/2015 - fix -Shortcode issue fixed.
|
97 |
+
|
98 |
+
= 1.10 =
|
99 |
+
* 25/10/2015 Translation ready.
|
100 |
+
|
101 |
= 1.9 =
|
102 |
* 17/10/2015 fix - sale marker issue fixed.
|
103 |
|
templates/wcps-category.php
CHANGED
@@ -21,4 +21,4 @@ if ( ! defined('ABSPATH')) exit; // if direct access
|
|
21 |
$cat_html.= '<a href="'.$cat_link.'">'.$cat_name.'</a>, ';
|
22 |
}
|
23 |
|
24 |
-
$html.= '<div class="wcps-items-category" >Category: '.$cat_html.'</div>';
|
21 |
$cat_html.= '<a href="'.$cat_link.'">'.$cat_name.'</a>, ';
|
22 |
}
|
23 |
|
24 |
+
$html.= '<div class="wcps-items-category" >'.__('Category:','wcps').' '.$cat_html.'</div>';
|
templates/wcps-rating.php
CHANGED
@@ -13,7 +13,7 @@ if ( ! defined('ABSPATH')) exit; // if direct access
|
|
13 |
|
14 |
|
15 |
if( $rating > 0 )
|
16 |
-
$html .= '<div class="pg-rating woocommerce wcps-items-rating"><div class="woocommerce-product-rating"><div class="star-rating" style="color:#E0BC0D; padding-bottom:10px;" title="Rated '.$rating.'"><span style="width:'.$rating.'%;"></span></div></div></div>';
|
17 |
|
18 |
|
19 |
|
13 |
|
14 |
|
15 |
if( $rating > 0 )
|
16 |
+
$html .= '<div class="pg-rating woocommerce wcps-items-rating"><div class="woocommerce-product-rating"><div class="star-rating" style="color:#E0BC0D; padding-bottom:10px;" title="'.__('Rated','wcps').' '.$rating.'"><span style="width:'.$rating.'%;"></span></div></div></div>';
|
17 |
|
18 |
|
19 |
|
woocommerce-products-slider.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
Plugin Name: Woocommerce Products Slider
|
4 |
Plugin URI: http://paratheme.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.
|
7 |
Author: paratheme
|
8 |
Author URI: http://paratheme.com
|
9 |
-
License:
|
10 |
-
License URI: http://
|
11 |
*/
|
12 |
|
13 |
if ( ! defined('ABSPATH')) exit; // if direct access
|
@@ -22,12 +22,12 @@ class WoocommerceProductsSlider{
|
|
22 |
define('wcps_wp_url', 'https://wordpress.org/plugins/woocommerce-products-slider/' );
|
23 |
define('wcps_wp_reviews', 'http://wordpress.org/support/view/plugin-reviews/woocommerce-products-slider' );
|
24 |
define('wcps_pro_url','http://paratheme.com/items/woocommerce-product-slider-for-wordpress/' );
|
25 |
-
define('wcps_demo_url', '
|
26 |
define('wcps_conatct_url', 'http://paratheme.com/contact/' );
|
27 |
define('wcps_qa_url', 'http://paratheme.com/qa/' );
|
28 |
define('wcps_plugin_name', 'Woocommerce Products Slider' );
|
29 |
-
define('wcps_plugin_version', '1.
|
30 |
-
define('wcps_customer_type', 'free' );
|
31 |
define('wcps_share_url', 'https://wordpress.org/plugins/woocommerce-products-slider/' );
|
32 |
define('wcps_tutorial_video_url', '//www.youtube.com/embed/B0sOSp3h9fE?rel=0' );
|
33 |
|
@@ -43,15 +43,24 @@ class WoocommerceProductsSlider{
|
|
43 |
// to work upload button
|
44 |
add_action( 'admin_enqueue_scripts', 'wp_enqueue_media' );
|
45 |
|
46 |
-
//
|
47 |
add_filter('widget_text', 'do_shortcode');
|
48 |
|
49 |
add_action( 'wp_enqueue_scripts', array( $this, 'wcps_front_scripts' ) );
|
50 |
add_action( 'admin_enqueue_scripts', array( $this, 'wcps_admin_scripts' ) );
|
51 |
|
52 |
-
|
53 |
}
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
public function wcps_install(){
|
56 |
|
57 |
do_action( 'wcps_action_install' );
|
3 |
Plugin Name: Woocommerce Products Slider
|
4 |
Plugin URI: http://paratheme.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.11
|
7 |
Author: paratheme
|
8 |
Author URI: http://paratheme.com
|
9 |
+
License: GPLv2 or later
|
10 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
*/
|
12 |
|
13 |
if ( ! defined('ABSPATH')) exit; // if direct access
|
22 |
define('wcps_wp_url', 'https://wordpress.org/plugins/woocommerce-products-slider/' );
|
23 |
define('wcps_wp_reviews', 'http://wordpress.org/support/view/plugin-reviews/woocommerce-products-slider' );
|
24 |
define('wcps_pro_url','http://paratheme.com/items/woocommerce-product-slider-for-wordpress/' );
|
25 |
+
define('wcps_demo_url', 'http://paratheme.com/demo/woocommerce-products-slider/' );
|
26 |
define('wcps_conatct_url', 'http://paratheme.com/contact/' );
|
27 |
define('wcps_qa_url', 'http://paratheme.com/qa/' );
|
28 |
define('wcps_plugin_name', 'Woocommerce Products Slider' );
|
29 |
+
define('wcps_plugin_version', '1.11' );
|
30 |
+
define('wcps_customer_type', 'free' );
|
31 |
define('wcps_share_url', 'https://wordpress.org/plugins/woocommerce-products-slider/' );
|
32 |
define('wcps_tutorial_video_url', '//www.youtube.com/embed/B0sOSp3h9fE?rel=0' );
|
33 |
|
43 |
// to work upload button
|
44 |
add_action( 'admin_enqueue_scripts', 'wp_enqueue_media' );
|
45 |
|
46 |
+
//short-code support into sidebar.
|
47 |
add_filter('widget_text', 'do_shortcode');
|
48 |
|
49 |
add_action( 'wp_enqueue_scripts', array( $this, 'wcps_front_scripts' ) );
|
50 |
add_action( 'admin_enqueue_scripts', array( $this, 'wcps_admin_scripts' ) );
|
51 |
|
52 |
+
add_action( 'plugins_loaded', array( $this, 'wcps_load_textdomain' ));
|
53 |
}
|
54 |
|
55 |
+
|
56 |
+
public function wcps_load_textdomain() {
|
57 |
+
load_plugin_textdomain( 'wcps', false, plugin_basename( dirname( __FILE__ ) ) . '/languages/' );
|
58 |
+
}
|
59 |
+
|
60 |
+
|
61 |
+
|
62 |
+
|
63 |
+
|
64 |
public function wcps_install(){
|
65 |
|
66 |
do_action( 'wcps_action_install' );
|