Our Team Showcase - Version 4.3.2

Version Description

  1. Updates to the Import & Export tool
  2. Bug fix with group filtering
  3. Added new search & filtering tools to the Pro version
Download this release

Release Info

Developer smartcat
Plugin Icon 128x128 Our Team Showcase
Version 4.3.2
Comparing to
See all releases

Code changes from version 4.3.1 to 4.3.2

assets/admin/css/settings.css CHANGED
@@ -319,6 +319,15 @@
319
  }
320
 
321
 
 
 
 
 
 
 
 
 
 
322
 
323
  /* Reorder Page */
324
 
319
  }
320
 
321
 
322
+ .ots-documentation .widefat.data th,
323
+ .ots-documentation .widefat.data td {
324
+ display: table-cell;
325
+ width: auto;
326
+ }
327
+
328
+ .ots-documentation .widefat.data tbody tr:nth-child(odd) {
329
+ background: #f2f2f2;
330
+ }
331
 
332
  /* Reorder Page */
333
 
assets/admin/js/settings.js CHANGED
@@ -1,13 +1,11 @@
1
  jQuery(document).ready(function ($) {
2
 
3
  // ---------- Tools //
4
- $( '#ots-import-form' ).submit( function() {
5
- // alert()
6
- if( $( '#ots-import-replace-button' ).val() === 'Import & Replace Existing' ) {
7
-
8
- var r
9
 
10
- r = confirm( 'This will delete all your team members' )
11
 
12
  if( r == true ) {
13
  return true
1
  jQuery(document).ready(function ($) {
2
 
3
  // ---------- Tools //
4
+ $( '#ots-import-form' ).submit( function(e) {
5
+
6
+ if( $( '#ots-import-replace-existing' ).prop('checked') === true ) {
 
 
7
 
8
+ var r = confirm( 'This will delete all your team members' )
9
 
10
  if( r == true ) {
11
  return true
assets/css/common.css CHANGED
@@ -2,7 +2,7 @@
2
  clear: both;
3
  }
4
 
5
- .left {
6
  float: left;
7
  box-sizing: border-box;
8
  }
@@ -107,3 +107,19 @@
107
  }
108
 
109
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  clear: both;
3
  }
4
 
5
+ .sc-left {
6
  float: left;
7
  box-sizing: border-box;
8
  }
107
  }
108
 
109
  }
110
+
111
+ .sc-hidden-member {
112
+ opacity: 0;
113
+ width: 0;
114
+ transform: translate(-50px,0);
115
+ transition: 0.3s all ease-in-out;
116
+ -moz-transition: 0.3s all ease-in-out;
117
+ -webkit-transition: 0.3s all ease-in-out;
118
+ }
119
+
120
+ .sc-reveal-member {
121
+
122
+ transform: translate( -50px, 0 );
123
+ -moz-transform: translate( -50px, 0 );
124
+ -webkit-transform: translate( -50px, 0 );
125
+ }
assets/images/social/instagram.png CHANGED
Binary file
assets/images/social/pinterest.png CHANGED
Binary file
assets/images/social/website.png CHANGED
Binary file
constants.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  namespace ots;
4
 
5
- const VERSION = '4.3.0';
6
 
7
 
8
  interface Options {
2
 
3
  namespace ots;
4
 
5
+ const VERSION = '4.3.2';
6
 
7
 
8
  interface Options {
includes/admin-settings.php CHANGED
@@ -165,6 +165,8 @@ function add_settings_fields() {
165
  $templates = array( '' => __( 'Select a template', 'ots' ) ) + get_templates();
166
 
167
  $preview_templates = !$display_field_previews ? array() : array(
 
 
168
  'list-stacked' => __( 'List - Stacked (Pro)', 'ots' ),
169
  'honey-comb' => __( 'Honey Comb (Pro)', 'ots' ),
170
  'carousel' => __( 'Carousel (Pro)', 'ots' ),
165
  $templates = array( '' => __( 'Select a template', 'ots' ) ) + get_templates();
166
 
167
  $preview_templates = !$display_field_previews ? array() : array(
168
+ 'grid2' => __( 'Grid - Boxes 2 (Pro)', 'ots' ),
169
+ 'grid3' => __( 'Grid - Boxes 3 (Pro)', 'ots' ),
170
  'list-stacked' => __( 'List - Stacked (Pro)', 'ots' ),
171
  'honey-comb' => __( 'Honey Comb (Pro)', 'ots' ),
172
  'carousel' => __( 'Carousel (Pro)', 'ots' ),
includes/documentation.php CHANGED
@@ -24,7 +24,7 @@ add_action( 'admin_menu', 'ots\add_documentation_pages' );
24
  */
25
  function add_documentation_sections() {
26
 
27
- add_settings_section( 'plugin-usage', __( 'Plugin Usage', 'ots' ), '', 'ots-getting-started' );
28
  add_settings_section( 'templates', __( 'Templates', 'ots' ), '', 'ots-getting-started' );
29
  add_settings_section( 'widgets', __( 'Widgets', 'ots' ), '', 'ots-getting-started' );
30
 
@@ -35,6 +35,7 @@ function add_documentation_sections() {
35
  add_settings_section( 'export-general', __( 'Exporting Team Members', 'ots-pro' ), '', 'ots-import-export' );
36
  add_settings_section( 'import-general', __( 'Importing Team Members', 'ots-pro' ), '', 'ots-import-export' );
37
 
 
38
 
39
  }
40
 
@@ -48,7 +49,7 @@ add_action( 'admin_init', 'ots\add_documentation_sections' );
48
  */
49
  function add_documentation_fields() {
50
 
51
- add_settings_field( 'usage', __( 'Usage', 'ots' ), 'ots\doc_usage', 'ots-getting-started', 'plugin-usage' );
52
  add_settings_field( 'templates', __( 'Team View Templates', 'ots' ), 'ots\doc_templates', 'ots-getting-started', 'templates' );
53
  add_settings_field( 'shortcode-templates', __( 'Setting a Template and Using Shortcodes', 'ots' ), 'ots\doc_shortcode_templates', 'ots-getting-started', 'templates' );
54
  add_settings_field( 'shortcode-columns', __( 'Setting The number of columns Using Shortcodes', 'ots' ), 'ots\doc_shortcode_columns', 'ots-getting-started', 'templates' );
@@ -70,6 +71,8 @@ function add_documentation_fields() {
70
 
71
  add_settings_field( 'export-basics', __( 'Export Team Members', 'ots-pro' ), 'ots\doc_export_team', 'ots-import-export', 'export-general' );
72
  add_settings_field( 'import-basics', __( 'Import Team Members', 'ots-pro' ), 'ots\doc_import_team', 'ots-import-export', 'import-general' );
 
 
73
 
74
  }
75
 
@@ -83,23 +86,27 @@ add_action( 'admin_init', 'ots\add_documentation_fields' );
83
  function doc_usage() { ?>
84
 
85
  <div>
86
- <p>
87
- <?php _e( 'To display a team showcase on any page of your site, simply place the short-code <code>[our-team]</code> where you want it to appear within the page.', 'ots' ); ?>
88
- </p>
89
- <p>
90
- <?php _e( 'You can also indicate a specific group to display, as well as override the settings for the full team and single member templates through the short-code:', 'ots' ); ?>
91
- <br>
92
- <code>[our-team group="slug" template="grid" single_template="panel" columns="3"]</code>
93
- </p>
94
- <p>
95
- <i>
96
- <strong><?php _e( 'Tip:', 'ots' ); ?></strong>
97
- <?php _e( 'The group "slug" can be viewed and edited from the plugin settings. Go to Team > Groups and select "Quick Edit" for the group you want to use. The slug should have no capital letters, and use underscores (group_slug) or dashes (group-slug) instead of spaces.', 'ots' ); ?>
98
- </i>
99
- </p>
100
- <p>
101
- <?php _e( 'Overriding your settings is useful when you want to display the showcase in different ways on different pages.', 'ots' ); ?>
102
- </p>
 
 
 
 
103
  </div>
104
 
105
  <?php }
@@ -118,7 +125,7 @@ function doc_templates() { ?>
118
  </p>
119
  <p>
120
  <i>
121
- <?php _e( 'Please note that <strong>Carousel, Honeycomb, Stacked</strong> and <strong>Directory</strong> are only available in the Pro version.', 'ots' ); ?>
122
  </i>
123
  </p>
124
 
@@ -150,6 +157,10 @@ function doc_shortcode_templates() { ?>
150
  <br>
151
  <code>[our-team template="grid"]</code>
152
  <br>
 
 
 
 
153
  <code>[our-team template="grid_cirlces"]</code>
154
  <br>
155
  <code>[our-team template="grid_circles2"]</code>
@@ -292,7 +303,7 @@ function doc_sidebar_widget() { ?>
292
  function doc_whatis_hub() { ?>
293
 
294
  <p>
295
- <?php _e( 'Our Community Hub is an add-on for Our Team Showcase, which creates a private, password-protected area on your site that can be only accessed by your team members.', 'ots' ); ?>
296
  </p>
297
 
298
  <p>
@@ -331,9 +342,7 @@ function doc_manage_members() { ?>
331
  <img src="<?php echo esc_url( asset( 'images/doc/manage-members-2.jpg' ) ); ?>">
332
  </a>
333
  </p>
334
- <p>
335
- <?php _e( 'The <i>Team Portal</i> widget in the plugin settings page will display helpful information about the status of your member portal. Here you also have the option to enable portal access for all members.', 'ots' ); ?>
336
- </p>
337
  <p>
338
  <i>
339
  <?php _e( 'Note: When bulk enabling access, all newly activated members will have a new password auto generated and sent to their contact email address', 'ots' ); ?>
@@ -506,6 +515,84 @@ function doc_import_team() { ?>
506
 
507
  <?php }
508
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509
  /**
510
  * Render the documentation page.
511
  *
@@ -516,7 +603,8 @@ function do_documentation_page() {
516
  $tabs = array(
517
  'ots-getting-started' => __( 'Getting Started', 'ots' ),
518
  'ots-portal' => __( 'Community Hub', 'ots-pro' ),
519
- 'ots-import-export' => __( 'Import & Export', 'ots-pro' )
 
520
  );
521
 
522
  $tabs = apply_filters( 'ots_documentation_tabs', $tabs );
24
  */
25
  function add_documentation_sections() {
26
 
27
+ add_settings_section( 'plugin-usage', __( 'Displaying the team', 'ots' ), '', 'ots-getting-started' );
28
  add_settings_section( 'templates', __( 'Templates', 'ots' ), '', 'ots-getting-started' );
29
  add_settings_section( 'widgets', __( 'Widgets', 'ots' ), '', 'ots-getting-started' );
30
 
35
  add_settings_section( 'export-general', __( 'Exporting Team Members', 'ots-pro' ), '', 'ots-import-export' );
36
  add_settings_section( 'import-general', __( 'Importing Team Members', 'ots-pro' ), '', 'ots-import-export' );
37
 
38
+ add_settings_section( 'shortcode-general', __( 'Shortcode Details', 'ots-pro' ), '', 'ots-shortcode' );
39
 
40
  }
41
 
49
  */
50
  function add_documentation_fields() {
51
 
52
+ add_settings_field( 'usage', '', 'ots\doc_usage', 'ots-getting-started', 'plugin-usage' );
53
  add_settings_field( 'templates', __( 'Team View Templates', 'ots' ), 'ots\doc_templates', 'ots-getting-started', 'templates' );
54
  add_settings_field( 'shortcode-templates', __( 'Setting a Template and Using Shortcodes', 'ots' ), 'ots\doc_shortcode_templates', 'ots-getting-started', 'templates' );
55
  add_settings_field( 'shortcode-columns', __( 'Setting The number of columns Using Shortcodes', 'ots' ), 'ots\doc_shortcode_columns', 'ots-getting-started', 'templates' );
71
 
72
  add_settings_field( 'export-basics', __( 'Export Team Members', 'ots-pro' ), 'ots\doc_export_team', 'ots-import-export', 'export-general' );
73
  add_settings_field( 'import-basics', __( 'Import Team Members', 'ots-pro' ), 'ots\doc_import_team', 'ots-import-export', 'import-general' );
74
+
75
+ add_settings_field( 'shortcode-details', __( 'Shortcode Details', 'ots-pro' ), 'ots\doc_shortcode_details', 'ots-shortcode', 'shortcode-general' );
76
 
77
  }
78
 
86
  function doc_usage() { ?>
87
 
88
  <div>
89
+
90
+ <h3>Using the Shortcode</h3>
91
+ This is the primary recommended way to display your team. Simply add <code>[our-team]</code> to any page, post, widget etc.. and that will render the team members.
92
+ You can have multiple shortcodes per page. When you use the shortcode without any parameters, the plugin will display your team members according to the layout and appearance settings you have set in the
93
+ plugin's <a href="<?php echo esc_url( admin_url( 'edit.php?post_type=team_member&page=ots-settings' ) ) ?>">Settings page.</a>
94
+ <br>
95
+ You can add parameters to the shortcode which allows you to customize the output for each instance of the shortcode.<br><br>
96
+ <strong><a herf="">Click here </a></strong> for a list of all the available Shortcode parameters.
97
+
98
+
99
+ <h3>Using the Widgets</h3>
100
+ The plugin creates two custom widgets that you can use to display your team members. <strong>Our Team Widget</strong> and <strong>Our Team Sidebar Widget</strong>.
101
+ You can place these widgets in any of the widget areas provided by your theme.
102
+
103
+ <h3>Using PHP Code</h3>
104
+ Sometimes you may want to call the shortcode directly from your PHP template code. You can leverage WordPress's <code>do_shortcode</code> method for this.
105
+ <br>
106
+ <code>echo do_shortcode( '[our-team group="developers"]' );</code>
107
+
108
+
109
+
110
  </div>
111
 
112
  <?php }
125
  </p>
126
  <p>
127
  <i>
128
+ <?php _e( 'Please note that several of these demo templates are only available in the Pro version.', 'ots' ); ?>
129
  </i>
130
  </p>
131
 
157
  <br>
158
  <code>[our-team template="grid"]</code>
159
  <br>
160
+ <code>[our-team template="grid2"]</code>
161
+ <br>
162
+ <code>[our-team template="grid3"]</code>
163
+ <br>
164
  <code>[our-team template="grid_cirlces"]</code>
165
  <br>
166
  <code>[our-team template="grid_circles2"]</code>
303
  function doc_whatis_hub() { ?>
304
 
305
  <p>
306
+ <?php _e( 'Our Community Hub is included in <strong>Our Team Showcase Pro</strong>, which creates a private, password-protected area on your site that can be only accessed by your team members.', 'ots' ); ?>
307
  </p>
308
 
309
  <p>
342
  <img src="<?php echo esc_url( asset( 'images/doc/manage-members-2.jpg' ) ); ?>">
343
  </a>
344
  </p>
345
+
 
 
346
  <p>
347
  <i>
348
  <?php _e( 'Note: When bulk enabling access, all newly activated members will have a new password auto generated and sent to their contact email address', 'ots' ); ?>
515
 
516
  <?php }
517
 
518
+ /**
519
+ *
520
+ * @since 4.4
521
+ */
522
+ function doc_shortcode_details() { ?>
523
+
524
+ <table class="widefat data">
525
+ <thead>
526
+ <tr>
527
+ <th>Parameter</th>
528
+ <th>Accepted Values</th>
529
+ <th>Description</th>
530
+ </tr>
531
+ </thead>
532
+ <tbody>
533
+ <tr>
534
+ <td>group</td>
535
+ <td><i>The slug of the group.</i></td>
536
+ <td>Example: <i>development-team</i></td>
537
+ </tr>
538
+ <tr>
539
+ <td>Template</td>
540
+ <td>
541
+ grid, grid2, grid3, grid_circles, grid_circles2, hc, stacked, directory
542
+ </td>
543
+ <td>Allows you to set the template for the Team display</td>
544
+ </tr>
545
+ <tr>
546
+ <td>Columns</td>
547
+ <td>
548
+ 1, 2, 3, 4
549
+ </td>
550
+ <td>Set the number of team members per row</td>
551
+ </tr>
552
+ <tr>
553
+ <td>limit</td>
554
+ <td>
555
+ <i>number</i>
556
+ </td>
557
+ <td>Set the total number of team members to display</td>
558
+ </tr>
559
+ <tr>
560
+ <td>id</td>
561
+ <td>
562
+ <i>your-unique-id</i>
563
+ </td>
564
+ <td>Give each team member view a unique ID. Useful for developers who want to make customizations per shortcode</td>
565
+ </tr>
566
+ <tr>
567
+ <td>single_template</td>
568
+ <td>
569
+ vcard, panel, custom, disabled
570
+ </td>
571
+ <td>Give each team member view a unique ID. Useful for developers who want to make customizations per shortcode</td>
572
+ </tr>
573
+ <tr>
574
+ <td>show_filter</td>
575
+ <td>
576
+ yes, no
577
+ </td>
578
+ <td>Display buttons that allow viewers to filter your team members by group. You must have groups with assigned team members for this to work.</td>
579
+ </tr>
580
+ <tr>
581
+ <td>show_search</td>
582
+ <td>
583
+ yes, no
584
+ </td>
585
+ <td>Display a search bar allowing viewers to search team members by name, title, bio etc...</td>
586
+ </tr>
587
+ </tbody>
588
+
589
+
590
+ </table>
591
+
592
+
593
+ <?php }
594
+
595
+
596
  /**
597
  * Render the documentation page.
598
  *
603
  $tabs = array(
604
  'ots-getting-started' => __( 'Getting Started', 'ots' ),
605
  'ots-portal' => __( 'Community Hub', 'ots-pro' ),
606
+ 'ots-import-export' => __( 'Import & Export', 'ots-pro' ),
607
+ 'ots-shortcode' => __( 'Shortcode Parameters', 'ots-pro' )
608
  );
609
 
610
  $tabs = apply_filters( 'ots_documentation_tabs', $tabs );
includes/functions.php CHANGED
@@ -38,11 +38,6 @@ function get_members_in_order( $limit = null, $group = false ) {
38
  'field' => 'slug',
39
  'terms' => $group
40
  ),
41
- array(
42
- 'taxonomy' => 'team_member_position',
43
- 'field' => 'term_id',
44
- 'terms' => absint( $group )
45
- ),
46
  );
47
 
48
  }
@@ -80,7 +75,7 @@ function get_member_avatar( $member = null, $size = 'post-thumbnail' ) {
80
  * @param string|array $size The size of the thumbnail, can be array( width, height ).
81
  * @since 4.0.0
82
  */
83
- function member_avatar( $member = null, $size = 'post_thumbnail' ) {
84
 
85
  if( has_post_thumbnail( $member ) ) {
86
  the_post_thumbnail( $size );
38
  'field' => 'slug',
39
  'terms' => $group
40
  ),
 
 
 
 
 
41
  );
42
 
43
  }
75
  * @param string|array $size The size of the thumbnail, can be array( width, height ).
76
  * @since 4.0.0
77
  */
78
+ function member_avatar( $member = null, $size = 'large' ) {
79
 
80
  if( has_post_thumbnail( $member ) ) {
81
  the_post_thumbnail( $size );
includes/team-member.php CHANGED
@@ -244,13 +244,13 @@ function single_member_content( $content ) {
244
 
245
  <div class="sc-team-member-post">
246
 
247
- <div class="width25 left">
248
 
249
  <a href="<?php the_permalink( $article ); ?>"><?php echo get_the_post_thumbnail( $article, 'medium' ); ?></a>
250
 
251
  </div>
252
 
253
- <div class="width75 left">
254
 
255
  <a href="<?php the_permalink( $article ); ?>"><?php echo get_the_title( $article ); ?></a>
256
 
244
 
245
  <div class="sc-team-member-post">
246
 
247
+ <div class="width25 sc-left">
248
 
249
  <a href="<?php the_permalink( $article ); ?>"><?php echo get_the_post_thumbnail( $article, 'medium' ); ?></a>
250
 
251
  </div>
252
 
253
+ <div class="width75 sc-left">
254
 
255
  <a href="<?php the_permalink( $article ); ?>"><?php echo get_the_title( $article ); ?></a>
256
 
includes/team-view.php CHANGED
@@ -27,14 +27,14 @@ function enqueue_team_view_scripts() {
27
  */
28
  function do_shortcode_output( $attributes = array() ) {
29
 
30
- $defaults = array(
31
  'id' => '',
32
  'group' => '',
33
  'columns' => get_option( Options::GRID_COLUMNS ),
34
  'limit' => get_option( Options::DISPLAY_LIMIT ),
35
  'template' => get_option( Options::TEMPLATE ),
36
- 'single_template' => get_option( Options::SINGLE_TEMPLATE )
37
- );
38
 
39
  return do_team_view_output( shortcode_atts( $defaults, $attributes, 'our-team' ) );
40
 
27
  */
28
  function do_shortcode_output( $attributes = array() ) {
29
 
30
+ $defaults = apply_filters( 'ots_default_shortcode_atts', array(
31
  'id' => '',
32
  'group' => '',
33
  'columns' => get_option( Options::GRID_COLUMNS ),
34
  'limit' => get_option( Options::DISPLAY_LIMIT ),
35
  'template' => get_option( Options::TEMPLATE ),
36
+ 'single_template' => get_option( Options::SINGLE_TEMPLATE ),
37
+ ) );
38
 
39
  return do_team_view_output( shortcode_atts( $defaults, $attributes, 'our-team' ) );
40
 
includes/tools.php CHANGED
@@ -7,8 +7,9 @@ add_action( 'admin_post_ots_export_team', function() {
7
  $message = array();
8
 
9
  $team = new \WP_Query( array(
10
- 'post_type' => 'team_member',
11
- 'post_status' => 'publish'
 
12
  ) );
13
 
14
 
@@ -280,10 +281,12 @@ function create_file( $file_path, $contents, $mode = 'w' ) {
280
 
281
  function maybe_delete_members() {
282
 
283
- if( isset( $_POST['ots-import-replace-button'] ) ) {
284
 
285
  $team = new \WP_Query( array(
286
- 'post_type' => 'team_member'
 
 
287
  ) );
288
 
289
 
@@ -456,8 +459,10 @@ function do_import_export_page() { ?>
456
  <th scope="row"><?php _e( 'Import Team Members', 'ots' ) ?></th>
457
  <td>
458
  <input type="file" name="ots_file_import"/><br><br>
459
- <?php submit_button( __( 'Import', 'ots' ), 'secondary', 'ots-import-button', false, false ); ?>
460
- <?php submit_button( __( 'Import & Replace Existing', 'ots' ), 'primary', 'ots-import-replace-button', false, false ); ?>
 
 
461
  </td>
462
  </tr>
463
 
7
  $message = array();
8
 
9
  $team = new \WP_Query( array(
10
+ 'post_type' => 'team_member',
11
+ 'post_status' => 'publish',
12
+ 'posts_per_page' => -1
13
  ) );
14
 
15
 
281
 
282
  function maybe_delete_members() {
283
 
284
+ if( isset( $_POST['ots_delete_existing'] ) && $_POST['ots_delete_existing'] == 'on' ) {
285
 
286
  $team = new \WP_Query( array(
287
+ 'post_type' => 'team_member',
288
+ 'post_status' => 'publish',
289
+ 'posts_per_page' => -1
290
  ) );
291
 
292
 
459
  <th scope="row"><?php _e( 'Import Team Members', 'ots' ) ?></th>
460
  <td>
461
  <input type="file" name="ots_file_import"/><br><br>
462
+
463
+ <input type="checkbox" name="ots_delete_existing" id="ots-import-replace-existing"/>
464
+ <label><?php _e( 'Delete existing ?', 'ots' ); ?></label><br><br>
465
+ <?php submit_button( __( 'Import', 'ots' ), 'primary', 'ots-import--button', false, false ); ?>
466
  </td>
467
  </tr>
468
 
our-team-showcase.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Our Team Showcase
4
  * Plugin URI: https://smartcatdesign.net/downloads/our-team-showcase/
5
  * Description: Display your team members in a very attractive way as a widget or page with the shortcode [our-team]
6
- * Version: 4.3.1
7
  * Author: Smartcat
8
  * Author URI: https://smartcatdesign.net
9
  * License: GPL2
3
  * Plugin Name: Our Team Showcase
4
  * Plugin URI: https://smartcatdesign.net/downloads/our-team-showcase/
5
  * Description: Display your team members in a very attractive way as a widget or page with the shortcode [our-team]
6
+ * Version: 4.3.2
7
  * Author: Smartcat
8
  * Author URI: https://smartcatdesign.net
9
  * License: GPL2
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: smartcat
3
  Donate link: https://smartcatdesign.net/downloads/our-team-showcase/
4
  Tags: team, staff, directory, employees, widget, shortcode, members, carousel, honeycomb, stack, grid, custom, template, social, profile, custom post type, portfolio, profile,meet team, skills, cv,v-card, portal
5
  Requires at least: 4.6
6
- Tested up to: 4.8.1
7
- Stable tag: 4.3.0
8
  License: GPLv2 or later
9
 
10
  The best way to display your employees, team members, or any type of list. Multiple appealing templates,SEO friendly, re-order, import/export functionality
@@ -52,6 +52,8 @@ Pro Version Features:
52
 
53
  * 4 Additional team templates: Carousel, Honeycomb, Stacked & Company Directory
54
  * 3 Single member display templates
 
 
55
  * Animated sliding Panel & Card
56
  * Click-to-call team member phone number
57
  * Team member personal quote
@@ -99,6 +101,11 @@ Team Member Details & Icons:
99
 
100
  == Changelog ==
101
 
 
 
 
 
 
102
  = 4.3.1 =
103
  1. Bug fix impacting group filtering since WP4.9
104
 
3
  Donate link: https://smartcatdesign.net/downloads/our-team-showcase/
4
  Tags: team, staff, directory, employees, widget, shortcode, members, carousel, honeycomb, stack, grid, custom, template, social, profile, custom post type, portfolio, profile,meet team, skills, cv,v-card, portal
5
  Requires at least: 4.6
6
+ Tested up to: 4.9.2
7
+ Stable tag: 4.3.1
8
  License: GPLv2 or later
9
 
10
  The best way to display your employees, team members, or any type of list. Multiple appealing templates,SEO friendly, re-order, import/export functionality
52
 
53
  * 4 Additional team templates: Carousel, Honeycomb, Stacked & Company Directory
54
  * 3 Single member display templates
55
+ * Team Member **Search bar**. Search by name, group, bio
56
+ * Team Member Filter. **Filter members** by one or multiple groups
57
  * Animated sliding Panel & Card
58
  * Click-to-call team member phone number
59
  * Team member personal quote
101
 
102
  == Changelog ==
103
 
104
+ = 4.3.2 =
105
+ 1. Updates to the Import & Export tool
106
+ 2. Bug fix with group filtering
107
+ 3. Added new search & filtering tools to the Pro version
108
+
109
  = 4.3.1 =
110
  1. Bug fix impacting group filtering since WP4.9
111
 
templates/grid-circles-2.php CHANGED
@@ -12,7 +12,12 @@ namespace ots;
12
 
13
  <?php while ( $members->have_posts() ) : $members->the_post(); ?>
14
 
15
- <div itemscope itemtype="http://schema.org/Person" class="sc_team_member" data-id="<?php the_ID(); ?>">
 
 
 
 
 
16
 
17
  <div class="sc_team_member_inner">
18
 
12
 
13
  <?php while ( $members->have_posts() ) : $members->the_post(); ?>
14
 
15
+ <?php $groups = \ots\member_groups( null, ';', false ); ?>
16
+
17
+ <div itemscope itemtype="http://schema.org/Person"
18
+ class="sc_team_member"
19
+ data-id="<?php the_ID(); ?>"
20
+ data-group="<?php echo !empty( $groups ) ? $groups : 'groupless'; ?>">
21
 
22
  <div class="sc_team_member_inner">
23
 
templates/grid-circles.php CHANGED
@@ -12,7 +12,12 @@ namespace ots;
12
 
13
  <?php while ( $members->have_posts() ) : $members->the_post(); ?>
14
 
15
- <div itemscope itemtype="http://schema.org/Person" class="sc_team_member" data-id="<?php the_ID(); ?>">
 
 
 
 
 
16
 
17
  <div class="sc_team_member_inner">
18
 
12
 
13
  <?php while ( $members->have_posts() ) : $members->the_post(); ?>
14
 
15
+ <?php $groups = \ots\member_groups( null, ';', false ); ?>
16
+
17
+ <div itemscope itemtype="http://schema.org/Person"
18
+ class="sc_team_member"
19
+ data-id="<?php the_ID(); ?>"
20
+ data-group="<?php echo !empty( $groups ) ? $groups : 'groupless'; ?>">
21
 
22
  <div class="sc_team_member_inner">
23
 
templates/grid.php CHANGED
@@ -12,7 +12,12 @@ namespace ots;
12
 
13
  <?php while ( $members->have_posts() ) : $members->the_post(); ?>
14
 
15
- <div itemscope itemtype="http://schema.org/Person" class="sc_team_member" data-id="<?php the_ID(); ?>">
 
 
 
 
 
16
 
17
  <div class="sc_team_member_inner">
18
 
12
 
13
  <?php while ( $members->have_posts() ) : $members->the_post(); ?>
14
 
15
+ <?php $groups = \ots\member_groups( null, ';', false ); ?>
16
+
17
+ <div itemscope itemtype="http://schema.org/Person"
18
+ class="sc_team_member"
19
+ data-id="<?php the_ID(); ?>"
20
+ data-group="<?php echo !empty( $groups ) ? $groups : 'groupless'; ?>">
21
 
22
  <div class="sc_team_member_inner">
23