Cherry Team Members - Version 1.0.4

Version Description

Download this release

Release Info

Developer TemplateMonster 2002
Plugin Icon 128x128 Cherry Team Members
Version 1.0.4
Comparing to
See all releases

Code changes from version 1.0.3 to 1.0.4

cherry-team-members.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Cherry Team Members
4
  * Plugin URI: http://www.templatemonster.com/wordpress-themes.php
5
  * Description: Cherry Team Members plugin allows you to showcase your team and personnel.
6
- * Version: 1.0.3
7
  * Author: TemplateMonster
8
  * Author URI: http://www.templatemonster.com/
9
  * Text Domain: cherry-team
@@ -45,7 +45,7 @@ if ( ! class_exists( 'Cherry_Team_Members' ) ) {
45
  *
46
  * @var string
47
  */
48
- private $version = '1.0.3';
49
 
50
  /**
51
  * Plugin dir URL
3
  * Plugin Name: Cherry Team Members
4
  * Plugin URI: http://www.templatemonster.com/wordpress-themes.php
5
  * Description: Cherry Team Members plugin allows you to showcase your team and personnel.
6
+ * Version: 1.0.4
7
  * Author: TemplateMonster
8
  * Author URI: http://www.templatemonster.com/
9
  * Text Domain: cherry-team
45
  *
46
  * @var string
47
  */
48
+ private $version = '1.0.4';
49
 
50
  /**
51
  * Plugin dir URL
public/includes/class-cherry-team-data.php CHANGED
@@ -97,7 +97,7 @@ class Cherry_Team_Members_Data {
97
  'col_xs' => false,
98
  'col_sm' => false,
99
  'col_md' => false,
100
- 'col_lg' => false,
101
  'before_title' => '<h2>',
102
  'after_title' => '</h2>',
103
  'pager' => false,
@@ -575,7 +575,7 @@ class Cherry_Team_Members_Data {
575
  $item_classes = array( $args['item_class'], 'item-' . $count, 'clearfix' );
576
  $item_classes[] = ( $count % 2 ) ? 'odd' : 'even';
577
 
578
- foreach ( array( 'col_xs', 'col_sm', 'col_md', 'col_lg' ) as $col ) {
579
 
580
  if ( ! $args[ $col ] || 'none' == $args[ $col ] ) {
581
  continue;
97
  'col_xs' => false,
98
  'col_sm' => false,
99
  'col_md' => false,
100
+ 'col_xl' => false,
101
  'before_title' => '<h2>',
102
  'after_title' => '</h2>',
103
  'pager' => false,
575
  $item_classes = array( $args['item_class'], 'item-' . $count, 'clearfix' );
576
  $item_classes[] = ( $count % 2 ) ? 'odd' : 'even';
577
 
578
+ foreach ( array( 'col_xs', 'col_sm', 'col_md', 'col_xl' ) as $col ) {
579
 
580
  if ( ! $args[ $col ] || 'none' == $args[ $col ] ) {
581
  continue;
public/includes/class-cherry-team-shortcode.php CHANGED
@@ -228,6 +228,7 @@ class Cherry_Team_Members_Shortcode {
228
  'title' => '',
229
  'subtitle' => '',
230
  'columns' => 3,
 
231
  'columns_tablet' => 2,
232
  'columns_phone' => 1,
233
  'posts_per_page' => 6,
@@ -272,7 +273,7 @@ class Cherry_Team_Members_Shortcode {
272
  $col_classes = '';
273
 
274
  // Fix columns
275
- foreach ( array( 'columns', 'columns_tablet', 'columns_phone' ) as $col ) {
276
  $atts[ $col ] = ( 0 !== intval( $atts[ $col ] ) ) ? intval( $atts[ $col ] ) : 3;
277
  }
278
 
@@ -310,7 +311,8 @@ class Cherry_Team_Members_Shortcode {
310
  'excerpt_length' => 'excerpt_length',
311
  'col_xs' => 'columns_phone',
312
  'col_sm' => 'columns_tablet',
313
- 'col_md' => 'columns',
 
314
  'show_name' => 'show_name',
315
  'show_photo' => 'show_photo',
316
  'show_desc' => 'show_desc',
228
  'title' => '',
229
  'subtitle' => '',
230
  'columns' => 3,
231
+ 'columns_laptop' => 3,
232
  'columns_tablet' => 2,
233
  'columns_phone' => 1,
234
  'posts_per_page' => 6,
273
  $col_classes = '';
274
 
275
  // Fix columns
276
+ foreach ( array( 'columns', 'columns_laptop', 'columns_tablet', 'columns_phone' ) as $col ) {
277
  $atts[ $col ] = ( 0 !== intval( $atts[ $col ] ) ) ? intval( $atts[ $col ] ) : 3;
278
  }
279
 
311
  'excerpt_length' => 'excerpt_length',
312
  'col_xs' => 'columns_phone',
313
  'col_sm' => 'columns_tablet',
314
+ 'col_md' => 'columns_laptop',
315
+ 'col_xl' => 'columns',
316
  'show_name' => 'show_name',
317
  'show_photo' => 'show_photo',
318
  'show_desc' => 'show_desc',
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: TemplateMonster 2002
4
  Tags: custom post type, team, cherry-framework
5
  Requires at least: 4.5
6
  Tested up to: 4.6.1
7
- Stable tag: 1.0.3
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
4
  Tags: custom post type, team, cherry-framework
5
  Requires at least: 4.5
6
  Tested up to: 4.6.1
7
+ Stable tag: 1.0.4
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
templates/archive-team.php CHANGED
@@ -40,7 +40,7 @@ get_header( 'team' );
40
  'col_xs' => $cols['xs'],
41
  'col_sm' => $cols['sm'],
42
  'col_md' => $cols['md'],
43
- 'col_lg' => false,
44
  'size' => cherry_team_members()->get_option( 'listing-image-size', 'thumbnail' ),
45
  'pager' => true,
46
  'more' => false,
40
  'col_xs' => $cols['xs'],
41
  'col_sm' => $cols['sm'],
42
  'col_md' => $cols['md'],
43
+ 'col_xl' => false,
44
  'size' => cherry_team_members()->get_option( 'listing-image-size', 'thumbnail' ),
45
  'pager' => true,
46
  'more' => false,
templates/content-team.php CHANGED
@@ -25,7 +25,7 @@ $args = array(
25
  'col_xs' => $cols['xs'],
26
  'col_sm' => $cols['sm'],
27
  'col_md' => $cols['md'],
28
- 'col_lg' => false,
29
  'size' => 'thumbnail',
30
  'pager' => true,
31
  'limit' => cherry_team_members()->get_option( 'posts-per-page', 10 ),
25
  'col_xs' => $cols['xs'],
26
  'col_sm' => $cols['sm'],
27
  'col_md' => $cols['md'],
28
+ 'col_xl' => false,
29
  'size' => 'thumbnail',
30
  'pager' => true,
31
  'limit' => cherry_team_members()->get_option( 'posts-per-page', 10 ),