Version Description
(12, 11 2019) = * [+] Added new class in css : wpls-dots-false if you are using dots="false" shortcode parameter. It help to set the arrows position in the center. * [+] Added "wpls" prefix to .center (if you are using center_mode="true") class to avoid the conflict ie .wpls-center * [*] Fixed some design issue with the help of css.
Download this release
Release Info
Developer | wponlinesupport |
Plugin | WP Logo Showcase Responsive Slider |
Version | 2.4 |
Comparing to | |
See all releases |
Code changes from version 2.3.2 to 2.4
- assets/css/logo-showcase.css +6 -4
- includes/shortcode/wpls-logo-slider.php +3 -2
- logo-showcase.php +2 -2
- readme.txt +6 -2
assets/css/logo-showcase.css
CHANGED
@@ -11,7 +11,9 @@
|
|
11 |
.wpls-logo-clearfix{clear: both;}
|
12 |
|
13 |
.wpls-logo-showcase{padding:0 30px 20px 30px !important; margin:0 !important; text-align:center; clear:both;}
|
|
|
14 |
.wpls-logo-showcase .slick-arrow {top: 42%;-webkit-transform: translateY(-50%);transform: translateY(-50%);cursor:pointer;}
|
|
|
15 |
.wpls-logo-showcase .slick-next{right:0px !important;}
|
16 |
.wpls-logo-showcase .slick-prev{ left:0px !important}
|
17 |
.wpls-logo-showcase .slick-dots{left:15px !important; right:15px !important; text-align:center;bottom:-10px !important; position: absolute; }
|
@@ -22,8 +24,8 @@
|
|
22 |
.wpls-logo-showcase .slick-slide .logo-title{color:#444; padding:10px 0; font-size:16px;}
|
23 |
.wpls-logo-showcase .slick-arrow{display: none; }
|
24 |
|
25 |
-
.wpls-logo-slider.center .slick-slide {opacity: 0.5;transform: scale(0.7);transition: all 300ms ease 0s;}
|
26 |
-
.wpls-logo-showcase.center .slick-center{opacity: 1;transform: scale(1);}
|
27 |
|
28 |
.wpls-logo-showcase .slick-prev::before, .wpls-logo-showcase .slick-next::before{display: none !important;}
|
29 |
.wpls-logo-showcase .wplss-logo-slide::before, .wpls-logo-showcase .wplss-logo-slide::after{display: none !important;}
|
@@ -31,8 +33,8 @@
|
|
31 |
|
32 |
@media screen and (max-width: 641px)
|
33 |
{
|
34 |
-
.wpls-logo-showcase.center .slick-slide {opacity: 1;transform: scale(1);transition: all 300ms ease 0s;}
|
35 |
-
.wpls-logo-showcase.center .slick-center{opacity: 1;transform: scale(1);}
|
36 |
}
|
37 |
|
38 |
/* Slider Common CSS Starts */
|
11 |
.wpls-logo-clearfix{clear: both;}
|
12 |
|
13 |
.wpls-logo-showcase{padding:0 30px 20px 30px !important; margin:0 !important; text-align:center; clear:both;}
|
14 |
+
.wpls-logo-showcase.wpls-dots-false{padding:0 30px 0px 30px !important;}
|
15 |
.wpls-logo-showcase .slick-arrow {top: 42%;-webkit-transform: translateY(-50%);transform: translateY(-50%);cursor:pointer;}
|
16 |
+
.wpls-logo-showcase.wpls-dots-false .slick-arrow {top: 50%;}
|
17 |
.wpls-logo-showcase .slick-next{right:0px !important;}
|
18 |
.wpls-logo-showcase .slick-prev{ left:0px !important}
|
19 |
.wpls-logo-showcase .slick-dots{left:15px !important; right:15px !important; text-align:center;bottom:-10px !important; position: absolute; }
|
24 |
.wpls-logo-showcase .slick-slide .logo-title{color:#444; padding:10px 0; font-size:16px;}
|
25 |
.wpls-logo-showcase .slick-arrow{display: none; }
|
26 |
|
27 |
+
.wpls-logo-slider.wpls-center .slick-slide {opacity: 0.5;transform: scale(0.7);transition: all 300ms ease 0s;}
|
28 |
+
.wpls-logo-showcase.wpls-center .slick-center{opacity: 1;transform: scale(1);}
|
29 |
|
30 |
.wpls-logo-showcase .slick-prev::before, .wpls-logo-showcase .slick-next::before{display: none !important;}
|
31 |
.wpls-logo-showcase .wplss-logo-slide::before, .wpls-logo-showcase .wplss-logo-slide::after{display: none !important;}
|
33 |
|
34 |
@media screen and (max-width: 641px)
|
35 |
{
|
36 |
+
.wpls-logo-showcase.wpls-center .slick-slide {opacity: 1;transform: scale(1);transition: all 300ms ease 0s;}
|
37 |
+
.wpls-logo-showcase.wpls-center .slick-center{opacity: 1;transform: scale(1);}
|
38 |
}
|
39 |
|
40 |
/* Slider Common CSS Starts */
|
includes/shortcode/wpls-logo-slider.php
CHANGED
@@ -112,7 +112,8 @@ function wpls_logo_slider( $atts, $content ) {
|
|
112 |
// Slider configuration and taken care of centermode
|
113 |
$slides_column = (!empty($slides_column) && $slides_column <= $post_count) ? $slides_column : $post_count;
|
114 |
$center_mode = ($center_mode == 'true' && $slides_column % 2 != 0 && $slides_column != $post_count) ? 'true' : 'false';
|
115 |
-
$center_mode_cls = ($center_mode == 'true') ? 'center' : '';
|
|
|
116 |
|
117 |
// Slider configuration
|
118 |
$slider_conf = compact('slides_column', 'slides_scroll', 'dots', 'arrows', 'autoplay', 'autoplay_interval', 'loop' , 'rtl', 'speed', 'center_mode');
|
@@ -130,7 +131,7 @@ function wpls_logo_slider( $atts, $content ) {
|
|
130 |
#wpls-logo-showcase-slider-<?php echo $unique; ?> .wp-post-image img.wp-post-image{max-height:<?php echo $max_height; ?>px; }
|
131 |
</style>
|
132 |
<div class="wpls-logo-showcase-slider-wrp wpls-logo-clearfix">
|
133 |
-
<div class="wpls-logo-showcase logo_showcase wpls-logo-slider wpls-<?php echo $design; ?> <?php echo $center_mode_cls; ?> <?php echo $hide_border; ?>" id="wpls-logo-showcase-slider-<?php echo $unique; ?>" >
|
134 |
<?php while ($logo_query->have_posts()) : $logo_query->the_post();
|
135 |
|
136 |
$feat_image = wpls_get_logo_image( $post->ID, $image_size);
|
112 |
// Slider configuration and taken care of centermode
|
113 |
$slides_column = (!empty($slides_column) && $slides_column <= $post_count) ? $slides_column : $post_count;
|
114 |
$center_mode = ($center_mode == 'true' && $slides_column % 2 != 0 && $slides_column != $post_count) ? 'true' : 'false';
|
115 |
+
$center_mode_cls = ($center_mode == 'true') ? 'wpls-center' : '';
|
116 |
+
$dots_cls = ($dots == 'false') ? 'wpls-dots-false' : '';
|
117 |
|
118 |
// Slider configuration
|
119 |
$slider_conf = compact('slides_column', 'slides_scroll', 'dots', 'arrows', 'autoplay', 'autoplay_interval', 'loop' , 'rtl', 'speed', 'center_mode');
|
131 |
#wpls-logo-showcase-slider-<?php echo $unique; ?> .wp-post-image img.wp-post-image{max-height:<?php echo $max_height; ?>px; }
|
132 |
</style>
|
133 |
<div class="wpls-logo-showcase-slider-wrp wpls-logo-clearfix">
|
134 |
+
<div class="wpls-logo-showcase logo_showcase wpls-logo-slider wpls-<?php echo $design; ?> <?php echo $center_mode_cls; ?> <?php echo $hide_border; ?> <?php echo $dots_cls; ?>" id="wpls-logo-showcase-slider-<?php echo $unique; ?>" >
|
135 |
<?php while ($logo_query->have_posts()) : $logo_query->the_post();
|
136 |
|
137 |
$feat_image = wpls_get_logo_image( $post->ID, $image_size);
|
logo-showcase.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Author: WP OnlineSupport
|
7 |
* Text Domain: wp-logo-showcase-responsive-slider-slider
|
8 |
* Domain Path: /languages/
|
9 |
-
* Version: 2.
|
10 |
* Author URI: https://www.wponlinesupport.com/
|
11 |
*
|
12 |
* @package WordPress
|
@@ -14,7 +14,7 @@
|
|
14 |
*/
|
15 |
|
16 |
if( !defined( 'WPLS_VERSION' ) ) {
|
17 |
-
define( 'WPLS_VERSION', '2.
|
18 |
}
|
19 |
if( !defined( 'WPLS_DIR' ) ) {
|
20 |
define( 'WPLS_DIR', dirname( __FILE__ ) ); // Plugin dir
|
6 |
* Author: WP OnlineSupport
|
7 |
* Text Domain: wp-logo-showcase-responsive-slider-slider
|
8 |
* Domain Path: /languages/
|
9 |
+
* Version: 2.4
|
10 |
* Author URI: https://www.wponlinesupport.com/
|
11 |
*
|
12 |
* @package WordPress
|
14 |
*/
|
15 |
|
16 |
if( !defined( 'WPLS_VERSION' ) ) {
|
17 |
+
define( 'WPLS_VERSION', '2.4' ); // Version of plugin
|
18 |
}
|
19 |
if( !defined( 'WPLS_DIR' ) ) {
|
20 |
define( 'WPLS_DIR', dirname( __FILE__ ) ); // Plugin dir
|
readme.txt
CHANGED
@@ -19,8 +19,7 @@ WP Logo Showcase Responsive Slider plugin helps your website to display carousal
|
|
19 |
|
20 |
The plugin work with shortcode so you can easily display logo slideshow anywhere on your site.
|
21 |
|
22 |
-
Check [
|
23 |
-
Check [PRO DEMO and Features](https://demo.wponlinesupport.com/prodemo/pro-logo-showcase-responsive-slider/) for additional information.
|
24 |
|
25 |
### Also work with Gutenberg shortcode block.
|
26 |
|
@@ -149,6 +148,11 @@ Check [PRO DEMO and Features](https://demo.wponlinesupport.com/prodemo/pro-logo-
|
|
149 |
|
150 |
== Changelog ==
|
151 |
|
|
|
|
|
|
|
|
|
|
|
152 |
= 2.3.2 (30, 10 2019) =
|
153 |
* [*] Replaced wp_reset_query() with wp_reset_postdata()
|
154 |
|
19 |
|
20 |
The plugin work with shortcode so you can easily display logo slideshow anywhere on your site.
|
21 |
|
22 |
+
Check [Demo and Features](https://www.wponlinesupport.com/wp-plugin/wp-logo-showcase-responsive-slider/) for additional information.
|
|
|
23 |
|
24 |
### Also work with Gutenberg shortcode block.
|
25 |
|
148 |
|
149 |
== Changelog ==
|
150 |
|
151 |
+
= 2.4 (12, 11 2019) =
|
152 |
+
* [+] Added new class in css : wpls-dots-false if you are using dots="false" shortcode parameter. It help to set the arrows position in the center.
|
153 |
+
* [+] Added "wpls" prefix to .center (if you are using center_mode="true") class to avoid the conflict ie .wpls-center
|
154 |
+
* [*] Fixed some design issue with the help of css.
|
155 |
+
|
156 |
= 2.3.2 (30, 10 2019) =
|
157 |
* [*] Replaced wp_reset_query() with wp_reset_postdata()
|
158 |
|