Version Description
= 1.5.0 =
1.5.0 is a major update. carousel_slider
and all-carousels
have been depreciated in this version. Check detail description befor upgrading to new version.
= 1.4.0 = 1.4.0 is a major update. Some previous settings and shortcode will not work in this version. Check detail description befor upgrading to new version.
Download this release
Release Info
Developer | sayful |
Plugin | Carousel Slider |
Version | 1.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.5.0 to 1.5.1
- admin/Carousel_Slider_Admin.php +3 -5
- admin/partials/MetaBox.php +2 -0
- carousel-slider.php +1 -1
- includes/Carousel_Slider.php +1 -1
- readme.txt +9 -27
admin/Carousel_Slider_Admin.php
CHANGED
@@ -92,7 +92,7 @@ class Carousel_Slider_Admin {
|
|
92 |
echo '<p><pre><code>'.$id.'</code></pre></p>';
|
93 |
echo "<hr>";
|
94 |
echo '<p>'.__('If you like this plugin or if you make money using this or if you want to help me to continue my contribution on open source projects, consider to make a small donation.', $this->plugin_name).'</p>';
|
95 |
-
echo '<a target="_blank" href="
|
96 |
echo '<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" alt="">';
|
97 |
echo '</a>';
|
98 |
}
|
@@ -242,10 +242,10 @@ class Carousel_Slider_Admin {
|
|
242 |
),
|
243 |
)
|
244 |
);
|
245 |
-
|
246 |
}
|
247 |
|
248 |
-
public function columns_head(
|
249 |
|
250 |
$columns = array(
|
251 |
'cb' => '<input type="checkbox">',
|
@@ -260,8 +260,6 @@ class Carousel_Slider_Admin {
|
|
260 |
|
261 |
|
262 |
public function columns_content($column, $post_id) {
|
263 |
-
global $post;
|
264 |
-
|
265 |
switch ($column) {
|
266 |
|
267 |
case 'usage':
|
92 |
echo '<p><pre><code>'.$id.'</code></pre></p>';
|
93 |
echo "<hr>";
|
94 |
echo '<p>'.__('If you like this plugin or if you make money using this or if you want to help me to continue my contribution on open source projects, consider to make a small donation.', $this->plugin_name).'</p>';
|
95 |
+
echo '<a target="_blank" href="https://sayfulit.com/donate">';
|
96 |
echo '<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" alt="">';
|
97 |
echo '</a>';
|
98 |
}
|
242 |
),
|
243 |
)
|
244 |
);
|
245 |
+
new \CarouselSlider\MetaBox($carousel_metabox);
|
246 |
}
|
247 |
|
248 |
+
public function columns_head(){
|
249 |
|
250 |
$columns = array(
|
251 |
'cb' => '<input type="checkbox">',
|
260 |
|
261 |
|
262 |
public function columns_content($column, $post_id) {
|
|
|
|
|
263 |
switch ($column) {
|
264 |
|
265 |
case 'usage':
|
admin/partials/MetaBox.php
CHANGED
@@ -39,6 +39,8 @@ class MetaBox {
|
|
39 |
* @method meta_box_callback
|
40 |
* @param string $post name of post type
|
41 |
* @param array $form_fields Arguments to pass into your callback function.
|
|
|
|
|
42 |
*/
|
43 |
public function meta_box_callback($post, $form_fields)
|
44 |
{
|
39 |
* @method meta_box_callback
|
40 |
* @param string $post name of post type
|
41 |
* @param array $form_fields Arguments to pass into your callback function.
|
42 |
+
*
|
43 |
+
* @return string
|
44 |
*/
|
45 |
public function meta_box_callback($post, $form_fields)
|
46 |
{
|
carousel-slider.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Carousel Slider
|
4 |
Plugin URI: http://wordpress.org/plugins/carousel-slider
|
5 |
-
Description: Touch enabled
|
6 |
Version: 1.5.0
|
7 |
Author: Sayful Islam
|
8 |
Author URI: http://sayfulit.com
|
2 |
/*
|
3 |
Plugin Name: Carousel Slider
|
4 |
Plugin URI: http://wordpress.org/plugins/carousel-slider
|
5 |
+
Description: Touch enabled WordPress plugin that lets you create beautiful responsive carousel slider.
|
6 |
Version: 1.5.0
|
7 |
Author: Sayful Islam
|
8 |
Author URI: http://sayfulit.com
|
includes/Carousel_Slider.php
CHANGED
@@ -11,7 +11,7 @@ class Carousel_Slider {
|
|
11 |
public function __construct() {
|
12 |
|
13 |
$this->plugin_name = 'carousel-slider';
|
14 |
-
$this->version = '1.
|
15 |
|
16 |
$this->load_dependencies();
|
17 |
$this->set_locale();
|
11 |
public function __construct() {
|
12 |
|
13 |
$this->plugin_name = 'carousel-slider';
|
14 |
+
$this->version = '1.5.1';
|
15 |
|
16 |
$this->load_dependencies();
|
17 |
$this->set_locale();
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: sayful
|
3 |
Tags: carousel, carousel slider, image carousel, slider, responsive slider
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LKV6BEG3BA4KQ
|
5 |
-
Requires at least: 3.
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -13,29 +13,9 @@ Touch enabled wordpress plugin that lets you create beautiful responsive carouse
|
|
13 |
== Description ==
|
14 |
|
15 |
|
16 |
-
Fully written in jQuery, touch enabled
|
17 |
|
18 |
-
|
19 |
-
`carousel_slider`
|
20 |
-
`all-carousels`
|
21 |
-
|
22 |
-
= Depreciated shortcode attribute from "carousel" shortcode at version 1.5.0 =
|
23 |
-
`pagination_speed
|
24 |
-
rewind_speed
|
25 |
-
scroll_per_page
|
26 |
-
pagination_numbers
|
27 |
-
auto_height
|
28 |
-
single_item`
|
29 |
-
|
30 |
-
= Introduce new shortcode attribute in "carousel" shortcode at version 1.5.0 =
|
31 |
-
`margin_right
|
32 |
-
inifnity_loop
|
33 |
-
autoplay_timeout
|
34 |
-
autoplay_speed
|
35 |
-
slide_by
|
36 |
-
nav_color
|
37 |
-
nav_active_color
|
38 |
-
`
|
39 |
|
40 |
= Usage 1st method =
|
41 |
|
@@ -139,9 +119,8 @@ Example 2 (with attribute):
|
|
139 |
|
140 |
`[carousel id='myCustomId' items='3' items_desktop='3' margin_right='5' navigation='false'][item img_link='http://lorempixel.com/400/200/city/1/'][item img_link='http://lorempixel.com/400/200/city/2/'][item img_link='http://lorempixel.com/400/200/city/3/'][item img_link='http://lorempixel.com/400/200/city/4/'][item img_link='http://lorempixel.com/400/200/city/5/'][item img_link='http://lorempixel.com/400/200/city/6/'][item img_link='http://lorempixel.com/400/200/city/7/'][item img_link='http://lorempixel.com/400/200/city/8/'][item img_link='http://lorempixel.com/400/200/city/9/'][item img_link='http://lorempixel.com/400/200/city/10/'][/carousel]`
|
141 |
|
142 |
-
|
143 |
If you like the plugin or earning using this plugin, make a small <a href="http://www.sayfulit.com/donate/">donation</a>.
|
144 |
-
`
|
145 |
|
146 |
== Installation ==
|
147 |
|
@@ -178,6 +157,9 @@ Do you have questions or issues with Carousel Slider? [Ask for support here](htt
|
|
178 |
|
179 |
== Changelog ==
|
180 |
|
|
|
|
|
|
|
181 |
= version 1.5.0 =
|
182 |
|
183 |
* Added graphical interface to add carousel
|
2 |
Contributors: sayful
|
3 |
Tags: carousel, carousel slider, image carousel, slider, responsive slider
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LKV6BEG3BA4KQ
|
5 |
+
Requires at least: 3.5
|
6 |
+
Tested up to: 4.6
|
7 |
+
Stable tag: 1.5.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
13 |
== Description ==
|
14 |
|
15 |
|
16 |
+
Fully written in jQuery, touch enabled WordPress plugin based on [OWL Carousel](http://www.owlgraphic.com/owlcarousel/) that lets you create beautiful responsive carousel slider.
|
17 |
|
18 |
+
If you like this plugin, please give us ratings for future improvement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
= Usage 1st method =
|
21 |
|
119 |
|
120 |
`[carousel id='myCustomId' items='3' items_desktop='3' margin_right='5' navigation='false'][item img_link='http://lorempixel.com/400/200/city/1/'][item img_link='http://lorempixel.com/400/200/city/2/'][item img_link='http://lorempixel.com/400/200/city/3/'][item img_link='http://lorempixel.com/400/200/city/4/'][item img_link='http://lorempixel.com/400/200/city/5/'][item img_link='http://lorempixel.com/400/200/city/6/'][item img_link='http://lorempixel.com/400/200/city/7/'][item img_link='http://lorempixel.com/400/200/city/8/'][item img_link='http://lorempixel.com/400/200/city/9/'][item img_link='http://lorempixel.com/400/200/city/10/'][/carousel]`
|
121 |
|
122 |
+
|
123 |
If you like the plugin or earning using this plugin, make a small <a href="http://www.sayfulit.com/donate/">donation</a>.
|
|
|
124 |
|
125 |
== Installation ==
|
126 |
|
157 |
|
158 |
== Changelog ==
|
159 |
|
160 |
+
= version 1.5.1 =
|
161 |
+
* Version compatibility check and some bug fix.
|
162 |
+
|
163 |
= version 1.5.0 =
|
164 |
|
165 |
* Added graphical interface to add carousel
|