WP Logo Showcase Responsive Slider - Version 1.2.2

Version Description

  • Added two new shortcode parameters "order and orderby"
Download this release

Release Info

Developer anoopranawat
Plugin Icon 128x128 WP Logo Showcase Responsive Slider
Version 1.2.2
Comparing to
See all releases

Code changes from version 1.2.1 to 1.2.2

assets/css/slick.css CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  .logo_showcase .slick-arrow{text-indent:-99999px; padding:0px !important; margin:0px !important; border-radius:0px !important}
2
  .logo_showcase button.slick-arrow {background-color: transparent!important; width:15px; height:26px; position:absolute; z-index:999;
3
  border:0px !important;padding:0 !important; margin:0px !important; border-radius:0px !important}
1
+ .logo_showcase{visibility: hidden; opacity:0; transition:opacity 0.5s linear; }
2
+ .slick-initialized { visibility: visible; opacity:1; }
3
+
4
  .logo_showcase .slick-arrow{text-indent:-99999px; padding:0px !important; margin:0px !important; border-radius:0px !important}
5
  .logo_showcase button.slick-arrow {background-color: transparent!important; width:15px; height:26px; position:absolute; z-index:999;
6
  border:0px !important;padding:0 !important; margin:0px !important; border-radius:0px !important}
includes/logo-showcase-functions.php CHANGED
@@ -136,6 +136,8 @@ function wplss_logoshowcase_shortcode( $atts) {
136
  "link_target" => '',
137
  "show_title" => '',
138
  "image_size" => '',
 
 
139
 
140
  ), $atts));
141
 
@@ -223,14 +225,22 @@ function wplss_logoshowcase_shortcode( $atts) {
223
  if( $image_size ) {
224
  $sliderimage_size = $image_size;
225
  } else {
226
- $sliderimage_size = 'original';}
 
 
 
 
 
 
 
 
227
 
228
  ob_start();
229
 
230
  $unique = wplss_get_unique();
231
  $post_type = 'logoshowcase';
232
- $orderby = 'post_date';
233
- $order = 'DESC';
234
 
235
  $args = array (
236
  'post_type' => $post_type,
136
  "link_target" => '',
137
  "show_title" => '',
138
  "image_size" => '',
139
+ "orderby" => '',
140
+ "order" => '',
141
 
142
  ), $atts));
143
 
225
  if( $image_size ) {
226
  $sliderimage_size = $image_size;
227
  } else {
228
+ $sliderimage_size = 'original';}
229
+ if( $orderby ) {
230
+ $sliderimage_orderby = $orderby;
231
+ } else {
232
+ $sliderimage_orderby = 'post_date';}
233
+ if( $order ) {
234
+ $sliderimage_order = $order;
235
+ } else {
236
+ $sliderimage_order = 'DESC';}
237
 
238
  ob_start();
239
 
240
  $unique = wplss_get_unique();
241
  $post_type = 'logoshowcase';
242
+ $orderby = $sliderimage_orderby;
243
+ $order = $sliderimage_order;
244
 
245
  $args = array (
246
  'post_type' => $post_type,
logo-showcase.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://www.wponlinesupport.com/
5
  * Description: Easy to add and display Logo Showcase Responsive Slider on your website.
6
  * Author: WP Online Support
7
- * Version: 1.2.1
8
  * Author URI: http://www.wponlinesupport.com/
9
  *
10
  * @package WordPress
4
  * Plugin URI: http://www.wponlinesupport.com/
5
  * Description: Easy to add and display Logo Showcase Responsive Slider on your website.
6
  * Author: WP Online Support
7
+ * Version: 1.2.2
8
  * Author URI: http://www.wponlinesupport.com/
9
  *
10
  * @package WordPress
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: wponlinesupport, anoopranawat
3
  Tags: logo slider, widget , client logo carousel, client logo slider, client, customer, image carousel, carousel, logo showcase, Responsive logo slider, Responsive logo carousel, WordPress logo slider, WordPress logo carousel, slick carousel, Best logo showcase, easy logo slider, logo carousel wordpress, logo slider wordpress, sponsors, sponsors slider, sponsors carousel
4
  Requires at least: 3.1
5
- Tested up to: 4.4.2
6
  Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -26,7 +26,8 @@ View [DEMO](http://wponlinesupport.com/wp-plugin/wp-logo-showcase-responsive-sli
26
  <code>[logoshowcase limit="-1" cat_id="15" cat_name="Support"
27
  dots="true" arrows="true" slides_column="3" slides_scroll="2" autoplay="true"
28
  autoplay_interval="300" speed="2000" loop="true" center_mode="true"
29
- link_target="blank" show_title="false" image_size="original"]</code>
 
30
 
31
 
32
  = Use Following parameters with shortcode =
@@ -57,8 +58,14 @@ link_target="blank" show_title="false" image_size="original"]</code>
57
  [logoshowcase show_title="false"] (ie show logo title or not. By default value is "false" Values are "true" and "false")
58
  * **image_size:**
59
  [logoshowcase image_size="original"] (ie set image size of logo. By default value is "original" Values are "original, large, medium, thumbnail")
 
 
 
 
 
60
 
61
  = Features include: =
 
62
  * Display Client logoshowcase in slider view.
63
  * Display Unlimited Client logoshowcase categories wise.
64
  * Add Link for image.
@@ -94,6 +101,9 @@ link_target="blank" show_title="false" image_size="original"]</code>
94
 
95
  == Changelog ==
96
 
 
 
 
97
  = 1.2.1 =
98
  * Fixed some css issues.
99
  * Resolved multiple slider jquery conflict issue.
@@ -114,6 +124,9 @@ link_target="blank" show_title="false" image_size="original"]</code>
114
 
115
  == Upgrade Notice ==
116
 
 
 
 
117
  = 1.2.1 =
118
  * Fixed some css issues.
119
  * Resolved multiple slider jquery conflict issue.
2
  Contributors: wponlinesupport, anoopranawat
3
  Tags: logo slider, widget , client logo carousel, client logo slider, client, customer, image carousel, carousel, logo showcase, Responsive logo slider, Responsive logo carousel, WordPress logo slider, WordPress logo carousel, slick carousel, Best logo showcase, easy logo slider, logo carousel wordpress, logo slider wordpress, sponsors, sponsors slider, sponsors carousel
4
  Requires at least: 3.1
5
+ Tested up to: 4.5.1
6
  Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
26
  <code>[logoshowcase limit="-1" cat_id="15" cat_name="Support"
27
  dots="true" arrows="true" slides_column="3" slides_scroll="2" autoplay="true"
28
  autoplay_interval="300" speed="2000" loop="true" center_mode="true"
29
+ link_target="blank" show_title="false" image_size="original"
30
+ order="DESC" orderby="post_date"]</code>
31
 
32
 
33
  = Use Following parameters with shortcode =
58
  [logoshowcase show_title="false"] (ie show logo title or not. By default value is "false" Values are "true" and "false")
59
  * **image_size:**
60
  [logoshowcase image_size="original"] (ie set image size of logo. By default value is "original" Values are "original, large, medium, thumbnail")
61
+ * **order:**
62
+ [logoshowcase order="original"] (Designates the ascending or descending order of the 'orderby' parameter. Defaults to 'DESC'. Values are "DESC" and "ASC")
63
+ * **orderby :**
64
+ [logoshowcase orderby="post_date"] (Sort retrieved posts by parameter. Defaults to 'date (post_date)'. One or more options can be passed. 'none',ID','author','title','name',rand',date')
65
+
66
 
67
  = Features include: =
68
+ * Added two new shortcode parameters "order and orderby"
69
  * Display Client logoshowcase in slider view.
70
  * Display Unlimited Client logoshowcase categories wise.
71
  * Add Link for image.
101
 
102
  == Changelog ==
103
 
104
+ = 1.2.2 =
105
+ * Added two new shortcode parameters "order and orderby"
106
+
107
  = 1.2.1 =
108
  * Fixed some css issues.
109
  * Resolved multiple slider jquery conflict issue.
124
 
125
  == Upgrade Notice ==
126
 
127
+ = 1.2.2 =
128
+ * Added two new shortcode parameters "order and orderby"
129
+
130
  = 1.2.1 =
131
  * Fixed some css issues.
132
  * Resolved multiple slider jquery conflict issue.