Our Team Showcase - Version 3.0.0

Version Description

Download this release

Release Info

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

Code changes from version 2.42 to 3.0.0

admin/addons.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style>
2
+ div.addon {
3
+ display: inline-block;
4
+ position: relative;
5
+ background: rgb(249, 249, 249);
6
+ text-align: center;
7
+ padding: 20px;
8
+ border-radius: 4px;
9
+ min-height: 390px;
10
+ vertical-align: top;
11
+ }
12
+ .col-sm-6{
13
+ float: left;
14
+ margin-right: 20px;
15
+ }
16
+ .addon{
17
+ width: 350px;
18
+ }
19
+ .addon img{
20
+ width: 100%;
21
+ }
22
+ .addon h2{
23
+ font-size: 24px;
24
+ }
25
+ .button{
26
+ display: inline-block;
27
+ margin-right: 3px !important;
28
+ }
29
+ </style>
30
+
31
+ <br>
32
+
33
+ <div class="row">
34
+
35
+
36
+ <div class="col-sm-6">
37
+ <div class="addon">
38
+
39
+ <img src="<?php echo SC_TEAM_URL ?>inc/img/team_showcase_pro_logo.jpg" alt="team_showcase_pro_logo" class="" />
40
+ <h2>Our Team Showcase Pro</h2>
41
+ <p>Feature-loaded Pro version of Our Team Showcase adds additional professional templates to your Team Showcase, including a Staff Directory, Honeycomb Layout, Carousel, Stacked Layout, as well as 3 impressive Single Member views: Slide-in Side Panel, Popup V-Card and a Custom Page Single View. It also adds new features such as Team Member Skills, Tags/hobbies, Favorite Content and more!</p>
42
+ <div>
43
+ <a target="_BLANK" href="https://smartcatdesign.net/our-team-showcase-demo/" class="button button-default">View Demo</a>
44
+ <a target="_BLANK" href="https://smartcatdesign.net/downloads/our-team-showcase/" class="button button-primary">Learn More</a>
45
+ </div>
46
+ </div>
47
+
48
+ </div>
49
+
50
+ <div class="col-sm-6">
51
+ <div class="addon">
52
+ <img src="<?php echo SC_TEAM_URL ?>inc/img/member_portal_logo.jpg" alt="member_portal_logo" class="" />
53
+ <h2>Member Login Portal</h2>
54
+ <p>Restrict pages & posts to Team Members. Login/Logout/Member Profiles. Creates a private portal on your site for your team members to login, view restricted content, edit their own profile details & profile picture, while giving the site admin complete control, user management, content restriction by group/department and more!</p>
55
+ <div>
56
+ <a target="_BLANK" href="http://wordpressteamplugin.com/member-portal/login/" class="button button-default">View Demo</a>
57
+ <a target="_BLANK" href="https://smartcatdesign.net/downloads/member-login-portal/" class="button button-primary">Learn More</a>
58
+ </div>
59
+ </div>
60
+ </div>
61
+
62
+ </div>
admin/documentation.php CHANGED
@@ -72,6 +72,7 @@
72
  padding-right: 125px;
73
  padding-top: 10px;
74
  padding-bottom: 10px;
 
75
  }
76
 
77
  p.warning {
@@ -115,7 +116,7 @@
115
 
116
  #nav li {
117
  display: table;
118
- font-size: 12px;
119
  font-style: normal;
120
  background-color: #ffffff;
121
  color: #178dc4;
@@ -169,13 +170,20 @@
169
  }
170
  em.pro{
171
  margin-left: 5px;
172
- font-size: 11px;
173
  color: #CC0000;
174
 
175
  }
 
 
 
 
 
176
  </style>
177
 
178
  <div id="wrapper">
 
 
179
  <div id="header">
180
  <img src="<?php echo SC_TEAM_URL ?>inc/img/smartcat_icon.png" alt="Smartcat" id="logo">
181
  <h1 id="title">Our Team Showcase</h1>
@@ -189,18 +197,29 @@
189
  <li><a href="#welcome" class="navlink">Welcome</a></li>
190
  <li><a href="#overview" class="navlink">Plugin Overview</a></li>
191
  <li><a href="#downloading" class="navlink">Downloading</a></li>
192
- <li><a href="#installing" class="navlink">Installing</a></li>
193
  </ul>
194
  <h1 class="navheading"><i class="fa fa-plug"></i>Plugin Usage</h1>
195
  <ul>
196
  <li><a href="#include-sc" class="navlink">Including the Shortcode</a></li>
197
- <li><a href="#add-member" class="navlink">Add a New Member</a></li>
198
- <li><a href="#manage-members" class="navlink">Managing Members</a></li>
199
  <li><a href="#groups" class="navlink">Groups</a></li>
200
  <li><a href="#templates" class="navlink">Templates</a></li>
201
  <li><a href="#custom_templates" class="navlink">Custom Template</a></li>
202
- <li><a href="#view-settings" class="navlink">Settings</a></li>
203
  <li><a href="#sidebar-widget" class="navlink">Sidebar Widget</a></li>
 
 
 
 
 
 
 
 
 
 
 
204
  </ul>
205
  <h1 class="navheading"><i class="fa fa-question-circle"></i>Miscellaneous</h1>
206
  <ul>
@@ -210,43 +229,44 @@
210
  <div id="content">
211
  <h2 id="welcome">Welcome!</h2>
212
  <p>
213
- This is the documentation page for the 'Our Team Showcase' plugin, by Smartcat.
214
- This document covers the details for both the free and the Pro versions of the plugin. <br>
215
- Some of the items that only exist in the Pro version are labelled as such.
216
  </p>
217
 
218
  <h2 id="overview">Plugin Overview</h2>
219
  <p>
220
- Easily create, edit and display your staff, group or team on your website. This plugin has many team view and single view layouts, and comes with a settings menu through which you can manipulate the output easily.
221
- The settings allow you to quickly and easily change the plugin's behaviour and appearance.
222
  </p>
223
 
224
  <h2 id="downloading">Downloading</h2>
225
  <p>
226
- After your purchase, you will receive an email receipt containing the a link
227
  to download the plugin, 'Our Team Showcase Pro'. To start your download, click the link labelled
228
- "smartcat_our_team", and your download will begin. You now have two options to install the plugin.
229
  </p>
230
 
231
- <h2 id="installing">Installing</h2>
232
  <div class="sub-section">
233
- <h3>Method One</h3>
234
  <p>
235
- If you decide to unzip / decompress the zip file, to install the plugin you must put the unzipped folder in
236
- your WordPress directory. Navigate to the root folder of your WordPress install and open the folder labelled
237
- "wp-content". From there, open the folder "plugins", and drag or copy the "smartcat_our_team" folder into it.
238
- Reload your WordPress Dashboard and you will now see a menu option titled "Team".
239
  </p>
240
  </div>
241
  <div class="sub-section">
242
- <h3>Method Two</h3>
 
 
 
 
 
 
 
 
 
243
  <p>
244
- If you want to install the plugin directly from the WordPress Dashboard, you must leave the downloaded file in its
245
- current, format (.zip). From the WordPress Dashboard, select "Plugins" from the sidebar menu. At the top of the
246
- next page, click a button labelled "Add New". Click another button, labelled "Upload Plugin", and you
247
- will be directed to a simple page that will let you upload the file. Simply navigate to and choose
248
- the "smartcat_our_team.zip" file, and select "Install Now". Reload your WordPress Dashboard and you will
249
- now see a menu option titled "Team".
250
  </p>
251
  </div>
252
 
@@ -254,32 +274,42 @@
254
  <div class="sub-section" id="include-sc">
255
  <h3>Including the [our-team] Shortcode</h3>
256
  <p>
257
- To include a showcase display on any page of your site, you simply place the shortcode, "[our-team]" (without quotes) wherever you would like it to appear within the page.
258
  </p>
259
  <p>
260
- You can also set the group to display as well as full team template as well as the single member template through the shortcode:
261
  </p>
262
  <p>
263
- <strong>[our-team group="Name of Group" template="grid" single_template="panel"]</strong>
 
264
  </p>
 
 
265
  </div>
266
  <div class="sub-section" id="add-member">
267
- <h3>Add a New Member</h3>
268
  <p>
269
- Selecting "Add New" near the top of the page will open up the Add New Member editor, which will prompt you
270
- for some information. Enter the name of the person you are adding in the first box that asks you to enter a title.
271
- The main content box can be used to provide a brief biography of the person, their work history, or the
272
- contributions they provide to the team.
273
  </p>
 
274
  <p>
275
- Additional information, including job title and social media account links may be added using the section below the main content area. A small list of standout skills or proficiencies may also be listed, along with a 1 - 10 rating of that competencty. If you have a Group you would like to add the member to, you may select it from this page.
 
 
 
 
 
 
 
276
  </p>
277
  <p>
278
- A featured image may be set by clicking the corresponding link. This image will be used as the main portrait photo
279
- for the corresponding team member in the different team showcase layouts. For best results, the ideal image size is 300 x 300 pixels.
280
  </p>
281
 
282
- <img style="width: 60%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/userdetails_demo.jpg"/>
283
 
284
 
285
  <h3>Member Details</h3>
@@ -306,36 +336,36 @@
306
  <li>Skill/Attribute Title<em class="pro">Pro Version</em></li>
307
  <li>Skill/Attribute Rating<em class="pro">Pro Version</em></li>
308
 
309
- </ul>
310
 
311
 
312
  </div>
313
  <div class="sub-section" id="manage-members">
314
  <h3>Managing Team Members</h3>
315
  <p>
316
- From the main "Team" page, you will see a list of all currently added team members. Once you have added a member,
317
- you may modify their details or change their featured portrait image by clicking on their name, or selecting Edit while
318
  hovering over it.
319
  </p>
320
  <p>
321
- From the main "Team" menu, selecting the "Re-Order Members" option will allow you to change the order in which your team members will be displayed. Simply click and drag the member you would like to move, and release the mouse button once that member is in the ideal position.
322
- Once the order is set, select Save Order to make your changes final.
323
  </p>
324
  <p>
325
- Should you need to delete a team member from the showcase, you may do so by hovering over the name of the member, then
326
- selecting the red "Trash" link. You will not be prompted to confirm your decision, but if you have made a mistake, you may still retrieve the deleted member. After a delete has been performed, there will be a new link titled "Trash (x)", where "x" is the number of pending deleted items. Clicking that link will take you to the Trash, where you may hover over any members and select either "Restore" or "Delete Permanently".
327
  </p>
328
  </div>
329
  <div class="sub-section" id="groups">
330
  <h3>Groups</h3>
331
  <p>
332
- If your company works with a larger team, Our Team Showcase Pro allows you to divide that team into smaller sections based on projects or responsibilities. This is where Groups become helpful, as you can easily display smaller Groups of your team with separate headings.
333
  </p>
334
  <p>
335
- Creating a new Group for your team is easy, and there are two ways you can do it. The first method is to select the "Groups" option from the main "Team" sidebar menu, then enter a name for the Group and click the "Add New Group" button. Alternatively, if you are currently viewing a single team member, the "Groups" box on the right-hand side of the page has an "Add New Group" option.
336
  </p>
337
  <p>
338
- Using the [our-team] shortcode will default to displaying members regardless of Groups. If you would like to have a showcase that only includes members of a specific group, you must modify the shortcode to include the Group name.
339
  </p>
340
  <p>
341
  Example: [our-team group="name of your group"]
@@ -343,7 +373,9 @@
343
  </div>
344
  <div class="sub-section" id="templates">
345
  <h3>Team View Templates</h3>
346
- <h4>Grid - Boxes</h4>
 
 
347
  <p>
348
  Displays a grid based layout of team members, with rectangular edges.
349
  </p>
@@ -372,7 +404,7 @@
372
  <p>
373
  Displays a stacked list of each team member, with details such as Name, Title, Description, and Social Media links.
374
  </p>
375
- <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>screenshot-5.jpg"/>
376
  <div class="clear"></div>
377
 
378
  <h4>Honey Comb <em class="pro">Pro Version</em></h4>
@@ -380,7 +412,7 @@
380
  Displays a honeycomb style layout, consisting of interconnected, hexagonally shaped images that can display information when hovered over.
381
  </p>
382
 
383
- <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>screenshot-4.jpg"/>
384
  <div class="clear"></div>
385
 
386
  <h4>Carousel <em class="pro">Pro Version</em></h4>
@@ -388,68 +420,84 @@
388
 
389
 
390
 
391
- <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>screenshot-6.jpg"/>
392
- <div class="clear"></div>
393
 
394
- <h4>Setting a Template and Using Shortcodes</h4>
395
  <p>
396
- The default template is "Grid - Boxes", but it can easily be changed to one of several other options. Each one will display your team showcase in a different visual arrangement. To change the default template, select "Settings" under the "Team" menu, and select the desired template from the drop-down list.
397
  </p>
398
  <p>
399
- You can also modify the shortcode with an option to specify a different template than the one selected in the main settings. This is useful if you would like to have multiple different showcase template options on a single page.
400
  </p>
401
  <p>
402
  Example: [our-team template="grid"]
403
  </p>
404
  <p>
405
- The options that can be placed within the quotes are as follows: grid, grid_circles, hc, stacked, carousel
 
 
 
 
 
 
 
 
406
  </p>
407
 
408
  <h3>Single Member View Templates</h3>
409
- <h4>Theme Default( Single Post)</h4>
410
  <p>This will load the single member page based on your theme's single.php file</p>
411
 
412
  <h4>Custom Template</h4>
413
  <p>This will load the single member page from a custom template file (team_members_template.php)</p>
414
 
415
 
416
- <h4>Card Popup ( vcard ) <em class="pro">Pro Version</em></h4>
417
  <p>This will load a lightbox and the member details in a sliding box.</p>
418
  <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/card_demo.jpg"/>
419
  <div class="clear"></div>
420
 
421
 
422
- <h4>Side Panel<em class="pro">Pro Version</em></h4>
423
  <p>Clicking on a member will slide in a panel that includes all their details in a very appealing design</p>
424
  <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/panel_demo.jpg"/>
425
  <div class="clear"></div>
 
 
 
426
  </div>
427
 
428
 
429
  <div class="sub-section" id="custom_templates">
430
- <h3>Custom templates </h3>
431
-
432
- <h4>Overriding the Single Team Member Template</h4>
433
- The plugin loads the single team member template based on your theme's single.php file. You can however use the template included in the plugin.
434
- Copy /inc/template/single-team_member.php into your theme's root directory.
435
- </p>
 
 
 
 
436
 
437
-
 
 
 
 
438
 
439
- <div>
440
-
441
- <em class="pro">Pro Version</em> Additionally, you can choose the pre-designed custom template from the settings page
442
-
443
- <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/custom_demo.jpg"/>
444
- <div class="clear"></div>
445
-
446
- </div>
447
 
448
  </div>
449
 
450
-
451
- <div class="sub-section" id="view-settings">
452
  <h2>Team View</h2>
 
 
 
453
  <h4>Grid Columns:</h4>
454
  <p>Specify the number of columns per row of members.</p>
455
 
@@ -475,27 +523,30 @@
475
  <p>Specify the main color, used as the background for member name and job title text.</p>
476
  <h4>[ HONEY COMB TEMPLATE ONLY ] Honey Comb Color:<em class="pro">Pro version</em></h4>
477
  <p> Specify the color used as the overlay for honey comb shape.</p>
478
- <h3>Single Member View</h3>
 
 
479
  <h4>Template:</h4>
480
  <p>
481
  This option will set the way that a single member is displayed when selected from the showcase. "Card (pop-up)" displays an index card style display of a single member. A custom template may also be selected from the drop-down menu. The custom template should be a file located in "/inc/template/team_members_template.php".
482
  </p>
483
- <h4>Display Social Icons:</h4>
 
 
 
 
484
  <p>
485
  Toggles whether social icons are displayed when viewing an individual team member.
486
  </p>
487
- <h4>Display Skills:<em class="pro">Pro version</em></h4>
488
- <p>
489
- Toggles whether skills are displayed when viewing an individual team member.
490
- </p>
491
  <h4>Image Style:<em class="pro">Pro version</em></h4>
492
  <p>
493
  Specifies whether the featured image should have a round or rectangular border, when viewing an individual team member.
494
  </p>
495
- <h4>Skills Title:<em class="pro">Pro version</em></h4>
496
- <p>
497
- ALlows you to rename the Skills section to anything you like.
498
- </p>
499
  </div>
500
 
501
  <div class="sub-section" id="sidebar-widget">
@@ -508,10 +559,78 @@
508
  <p>
509
  You can drag & drop the widget into any widget placeholder
510
  </p>
511
- <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>screenshot-2.jpg"/>
512
  <div class="clear"></div>
513
 
514
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
515
 
516
  <h2 id="faq">Frequently Asked Questions</h2>
517
 
@@ -542,9 +661,14 @@
542
  <p>The date usually comes from your theme's single.php file. If you remove the code snippet from your single.php file,
543
  the date will also be removed from your Posts.</p>
544
  <p>Alternatively, you can use the Custom Template included in the plugin, which you can select from the plugin settings</p>
 
 
 
 
 
545
  </div>
546
 
547
- <footer>Copyright © <a href="https://smartcatdesign.net">Smartcat</a></footer>
548
  </div>
549
  </div>
550
  </div>
72
  padding-right: 125px;
73
  padding-top: 10px;
74
  padding-bottom: 10px;
75
+ font-size: 14px;
76
  }
77
 
78
  p.warning {
116
 
117
  #nav li {
118
  display: table;
119
+ font-size: 14px;
120
  font-style: normal;
121
  background-color: #ffffff;
122
  color: #178dc4;
170
  }
171
  em.pro{
172
  margin-left: 5px;
173
+ font-size: 14px;
174
  color: #CC0000;
175
 
176
  }
177
+
178
+ em.tip{
179
+ font-size: 15px;
180
+ color: #0066ff;
181
+ }
182
  </style>
183
 
184
  <div id="wrapper">
185
+ <?php //if( ! $this->strap_pl() ) : exit( 'Please activate your license <a class="button-primary" href="' . admin_url( 'edit.php?post_type=team_member&page=smartcat_team_license' ) . '">Activate</a>' ); endif; ?>
186
+
187
  <div id="header">
188
  <img src="<?php echo SC_TEAM_URL ?>inc/img/smartcat_icon.png" alt="Smartcat" id="logo">
189
  <h1 id="title">Our Team Showcase</h1>
197
  <li><a href="#welcome" class="navlink">Welcome</a></li>
198
  <li><a href="#overview" class="navlink">Plugin Overview</a></li>
199
  <li><a href="#downloading" class="navlink">Downloading</a></li>
200
+ <li><a href="#installing" class="navlink">Installation & Activation</a></li>
201
  </ul>
202
  <h1 class="navheading"><i class="fa fa-plug"></i>Plugin Usage</h1>
203
  <ul>
204
  <li><a href="#include-sc" class="navlink">Including the Shortcode</a></li>
205
+ <li><a href="#add-member" class="navlink">Adding & Configuring a Team Member Profile</a></li>
206
+ <li><a href="#manage-members" class="navlink">Managing Team Members</a></li>
207
  <li><a href="#groups" class="navlink">Groups</a></li>
208
  <li><a href="#templates" class="navlink">Templates</a></li>
209
  <li><a href="#custom_templates" class="navlink">Custom Template</a></li>
210
+ <li><a href="#view-settings" class="navlink">Settings Panel Quick Guide</a></li>
211
  <li><a href="#sidebar-widget" class="navlink">Sidebar Widget</a></li>
212
+ </ul>
213
+ <h1 class="navheading"><i class="fa fa-cube"></i>Member Login Portal</h1>
214
+ <ul>
215
+ <li><a href="#portal-about" class="navlink">About Member Login Portal</a></li>
216
+ <li><a href="#portal-install" class="navlink">Installing & Configuring</a></li>
217
+ <li><a href="#portal-settings" class="navlink">Member Login Portal Settings</a></li>
218
+ <li><a href="#portal-email" class="navlink">Email Settings</a></li>
219
+ <li><a href="#portal-extra" class="navlink">Extra Options</a></li>
220
+ <li><a href="#portal-content" class="navlink">Restricting Content</a></li>
221
+ <li><a href="#portal-profile" class="navlink">Profile Options</a></li>
222
+ <li><a href="#portal-admin" class="navlink">Admin Options</a></li>
223
  </ul>
224
  <h1 class="navheading"><i class="fa fa-question-circle"></i>Miscellaneous</h1>
225
  <ul>
229
  <div id="content">
230
  <h2 id="welcome">Welcome!</h2>
231
  <p>
232
+ This is the documentation for the 'Our Team Showcase' plugin, by Smartcat.
233
+ This document includes the details for both the free and the Pro versions of the plugin.
234
+ Items that only exist in the Pro version are indicated by the <em class="pro">PRO</em> sign. Our tips to improve your user experience with the plugin are indicated by <em class="tip">SMARTCAT TIPS</em>.
235
  </p>
236
 
237
  <h2 id="overview">Plugin Overview</h2>
238
  <p>
239
+ Our Team Showcase lets you easily create, edit and display a team roster for your site, including employees, associates, or your websites's contributing authors. Displaying your team on a page is quick and easy, with simple short-codes, while a comprehensive settings menu lets you manipulate the plugin's behavior and appearance without any coding at all. Sort your team members into groups, to display all or some of them together on different parts of your site. The PRO version includes seven different team view layouts, as well as three single member view layouts.
 
240
  </p>
241
 
242
  <h2 id="downloading">Downloading</h2>
243
  <p>
244
+ Upon purchase, you'll receive an email from Smartcat containing your receipt and a link
245
  to download the plugin, 'Our Team Showcase Pro'. To start your download, click the link labelled
246
+ "smartcat_our_team".
247
  </p>
248
 
249
+ <h2 id="installing">Installion & Activation</h2>
250
  <div class="sub-section">
251
+ <h3>Option One - Root Folder Installation</h3>
252
  <p>
253
+ Double-click your "smartcat_our_team.zip" file download to decompress it. In the root folder of your WordPress install, navigate to "wp-content" > "plugins". Now drag or copy the new, decompressed folder "smartcat_our_team" into it.
254
+ In your browser, reload your WordPress Dashboard and you will now see a menu item "Team".
 
 
255
  </p>
256
  </div>
257
  <div class="sub-section">
258
+ <h3>Option Two - Upload To WordPress Dashboard</h3>
259
+ <p>
260
+ If you prefer to install the plugin directly through the WordPress Dashboard, leave the downloaded file in its
261
+ .zip format. From the WordPress Dashboard, select "Plugins" > "Add New" > "Upload Plugin", and you
262
+ will be directed to a page that will let you upload the file. Simply navigate to and choose
263
+ the "smartcat_our_team.zip" file, and select "Install Now". When the upload completes click "Activate." Reload your WordPress Dashboard and you will see a menu item "Team".
264
+ </p>
265
+ </div>
266
+ <div class="sub-section">
267
+ <h3>License Activation <em class="pro">Pro Version</em></h3>
268
  <p>
269
+ Once you've added your plugin files to WordPress, you'll need to activate it using your licence key. This can be found in on the email receipt that you received after purchase. If you've purchased a multiple or unlimited use licence, be sure to save the email with your licence key for future reference.
 
 
 
 
 
270
  </p>
271
  </div>
272
 
274
  <div class="sub-section" id="include-sc">
275
  <h3>Including the [our-team] Shortcode</h3>
276
  <p>
277
+ To display a team showcase on any page of your site, simply place the shortcode, "[our-team]" (without quotes) where you want it to appear within the page.
278
  </p>
279
  <p>
280
+ 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 shortcode:
281
  </p>
282
  <p>
283
+ <strong>[our-team group="slug" template="grid" single_template="panel"]</strong>
284
+
285
  </p>
286
+ <p><em class="tip">SMARTCAT TIP</em> <i>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 understcores (group_slug) or dashes (group-slug) instead of spaces.</i></p>
287
+ <p> Overriding your settings is useful when you want to display the showcase in different ways on different pages.</p>
288
  </div>
289
  <div class="sub-section" id="add-member">
290
+ <h3>Adding & Configuring a Team Member Profile</h3>
291
  <p>
292
+ To add a new Team member, Click "Add New" near the top of the menu in your WordPress dashboard. This will launch the Add New Member editor.
293
+ Enter the <b>name</b> of the person you are adding in the first box that asks you to enter a title.
294
+ The main content box can be used to provide a <b>brief biography</b> of the person, their work history, or a description of the role they play on the team.
 
295
  </p>
296
+ <p><em class="tip">SMARTCAT TIP</em> <i>Please note - if you're using the Stacked template, any HTML formatting you include in this text box will not be active in the preview, on page where the full team is displayed.</i></p>
297
  <p>
298
+ Additional information, including a <b>Personal Quote, Job Title</b> and <b>Social Media Account Links</b> can be added in the section below the main content area.</p>
299
+ <p><em class="tip">SMARTCAT TIP </em> <i>For best results, we recommend using no more than 5 social media links for a Circle Template, no more than 6 for a Grid template, and the Stacked template if you want to include 7 social media links or more.</i></p>
300
+ <p>A small list of standout <b>Skills</b> or proficiencies can also be listed with a 1 - 10 rating of that competency. This will appear as a percentage bar on the Single Member View.</p>
301
+ <p>Finally, in the third settings box, select up to three pages or posts you want to display on your Team Member's profile as <b>Featured Articles</b>. You can include a custom title for this area, or leave it blank. Be sure to select the "Show" or "Hide" radio button to activate this feature.</p>
302
+ <p>You can also add a custom list of <b>Attributes</b>, with a custom title such as "Favourites" "Accreditation," "Specialties," etc.</p>
303
+ <p><em class="tip">SMARTCAT TIP </em><i> Enter the attributes as a comma seperated list, eg: </i></p>
304
+ <p> <strong>Apples,Bananas,Oranges,Pears.</strong></p>
305
+ <p>If you already have a <b>Group</b> created that you would like to add the member to, you may select it from this page.
306
  </p>
307
  <p>
308
+ Upload a <b>Featured Image</b> by clicking the corresponding link in the right-hand sidebar. This image will be used as the main portrait photo.</p>
309
+ <p><em class="tip">SMARTCAT TIP </em> <i>For best results, use an image size of 300 x 300 pixels, or similar, with a 1:1 aspect ratio.</i>
310
  </p>
311
 
312
+ <!--<img style="width: 60%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/userdetails_demo.jpg"/>
313
 
314
 
315
  <h3>Member Details</h3>
336
  <li>Skill/Attribute Title<em class="pro">Pro Version</em></li>
337
  <li>Skill/Attribute Rating<em class="pro">Pro Version</em></li>
338
 
339
+ </ul>-->
340
 
341
 
342
  </div>
343
  <div class="sub-section" id="manage-members">
344
  <h3>Managing Team Members</h3>
345
  <p>
346
+ Select "Team" from your WordPress Dashboard to see a list of all team members. Once you have added a member,
347
+ you can edit their profile information clicking on their name, or selecting Edit while
348
  hovering over it.
349
  </p>
350
  <p>
351
+ To change the order your team members appear in the Showcase, select "Reorder Members" from the main "Team" menu in your WordPress Dashboard. Simply drag and drop the member to the idea position.
352
+ Once the order is set, select Save Order.
353
  </p>
354
  <p>
355
+ To delete a team member from the showcase, hover over the name of the member, then
356
+ click the red "Trash" link. You will not be prompted to confirm your decision, but if you have made a mistake, you can retrieve the deleted member. After a delete has been performed, a new link titled "Trash (x)" appears on your Team dashboard. Clicking that link to review the Trash items, and either "Restore" or "Delete Permanently".
357
  </p>
358
  </div>
359
  <div class="sub-section" id="groups">
360
  <h3>Groups</h3>
361
  <p>
362
+ Our Team Showcase Pro allows you to divide your team into smaller sections based on projects, location or any other criteria you choose.
363
  </p>
364
  <p>
365
+ Creating a new Group for your team is easy, and there are two ways you can do it. The first option is to select the "Groups" option from the main "Team" sidebar menu, then enter a name for the Group and click the "Add New Group" button. Alternatively, if you are currently viewing a single team member, the "Groups" box on the right-hand side of the page has an "Add New Group" option. This fuctions similarly to the Categories box in a WordPress post.
366
  </p>
367
  <p>
368
+ Using the [our-team] shortcode will default to displaying all members regardless of Groups. If you would like to have a showcase that only includes members of a specific group, modify the shortcode to include the Group name.
369
  </p>
370
  <p>
371
  Example: [our-team group="name of your group"]
373
  </div>
374
  <div class="sub-section" id="templates">
375
  <h3>Team View Templates</h3>
376
+ <p>To view the Template options for Our Team Showcase, visit the<a href="https://smartcatdesign.net/our-team-showcase-demo/" target="_blank"> Our Team Showcase Demo</a> page.</p>
377
+ <p><em class="pro">Pro Version</em> Please note that <b>Carousel, Honeycomb, Stacked</b> and <b>Directory</b> are only available in the Pro version.</p>
378
+ <!-- <h4>Grid - Boxes</h4>
379
  <p>
380
  Displays a grid based layout of team members, with rectangular edges.
381
  </p>
404
  <p>
405
  Displays a stacked list of each team member, with details such as Name, Title, Description, and Social Media links.
406
  </p>
407
+ <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/stacked_demo.jpg"/>
408
  <div class="clear"></div>
409
 
410
  <h4>Honey Comb <em class="pro">Pro Version</em></h4>
412
  Displays a honeycomb style layout, consisting of interconnected, hexagonally shaped images that can display information when hovered over.
413
  </p>
414
 
415
+ <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/honeycomb_demo.jpg"/>
416
  <div class="clear"></div>
417
 
418
  <h4>Carousel <em class="pro">Pro Version</em></h4>
420
 
421
 
422
 
423
+ <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/carousel_demo.jpg"/>
424
+ <div class="clear"></div>-->
425
 
426
+ <h3>Setting a Template and Using Shortcodes</h3>
427
  <p>
428
+ The default template, "Grid - Boxes", can be changed to one of several other options. Each one will display your team showcase in a different visual arrangement. To change the default template, select "Settings" under the "Team" menu, and select the desired template from the drop-down list.
429
  </p>
430
  <p>
431
+ If you wish to display the Showcase in more than one configuration on the site, you can also modify the shortcode to specify a different template for that version of output of the plugin.
432
  </p>
433
  <p>
434
  Example: [our-team template="grid"]
435
  </p>
436
  <p>
437
+ The short-code for the each template that can be placed within the quotes are: </p>
438
+ <p><b>[our-team template="carousel"]<br>
439
+ [our-team template="grid"]<br>
440
+ [our-team template="grid_cirlces"]<br>
441
+ [our-team template="grid_circles2"]<br>
442
+ [our-team template="hc"]<br>
443
+ [our-team template="stacked"]<br>
444
+ [our-team template="directory"]</b>
445
+
446
  </p>
447
 
448
  <h3>Single Member View Templates</h3>
449
+ <h4>Theme Default(Single Post)</h4>
450
  <p>This will load the single member page based on your theme's single.php file</p>
451
 
452
  <h4>Custom Template</h4>
453
  <p>This will load the single member page from a custom template file (team_members_template.php)</p>
454
 
455
 
456
+ <h4>Card Popup ( single_template="vcard" ) <em class="pro">Pro Version</em></h4>
457
  <p>This will load a lightbox and the member details in a sliding box.</p>
458
  <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/card_demo.jpg"/>
459
  <div class="clear"></div>
460
 
461
 
462
+ <h4>Side Panel ( single_template="panel" )<em class="pro">Pro Version</em></h4>
463
  <p>Clicking on a member will slide in a panel that includes all their details in a very appealing design</p>
464
  <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/panel_demo.jpg"/>
465
  <div class="clear"></div>
466
+
467
+ <h4>Disabled ( single_template="disable" )</h4>
468
+ <p>If you don't wish to include a full single profile for each Team Member, chose the "Disable" option. Your Showcase will display without active links to a Single Member View.</p>
469
  </div>
470
 
471
 
472
  <div class="sub-section" id="custom_templates">
473
+ <h3>Custom templates <em class="pro">Pro Version</em> </h3>
474
+ <p>The plugin allows you to choose between several options for displaying single members.
475
+ By default, the team member single page follows the theme's single.php file.
476
+ <br>
477
+ <br>
478
+ You can choose to use the custom template, which is included in the plugin.
479
+ In the Team plugin Settings page, under Single Member View Settings, select Custom Template.
480
+ That tells the plugin to use the included custom template file.
481
+ <br>
482
+ <br>
483
 
484
+ <h4>Overriding the Custom Template</h4>
485
+ <p>To override the file, do not edit it from the plugin. Instead, copy the file
486
+ team_members_template.php ( found in <strong>/inc/template/team_members_template.php</strong> )
487
+ into your theme's root folder. You can then edit this file to your liking.
488
+ </p>
489
 
490
+ <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/custom_demo.jpg"/>
491
+ <div class="clear"></div>
 
 
 
 
 
 
492
 
493
  </div>
494
 
495
+ <h2 id="view-settings">Settings Panel Quick Guide</h2>
496
+ <div class="sub-section">
497
  <h2>Team View</h2>
498
+ <p>The following settings are accessible in the first section of the Settings Dashboard.</p>
499
+ <h4>Carousel Time Speed:</h4>
500
+ <p>If you're using the Carousel layout, adjust the speed that it auto-rotates at from here. If you want to disable the auto-rotate completely, type the word "false".</p>
501
  <h4>Grid Columns:</h4>
502
  <p>Specify the number of columns per row of members.</p>
503
 
523
  <p>Specify the main color, used as the background for member name and job title text.</p>
524
  <h4>[ HONEY COMB TEMPLATE ONLY ] Honey Comb Color:<em class="pro">Pro version</em></h4>
525
  <p> Specify the color used as the overlay for honey comb shape.</p>
526
+
527
+ <h3>Single Member View</h3>
528
+ <p>The following settings are accessible in the second section of the Settings Dashboard:</p>
529
  <h4>Template:</h4>
530
  <p>
531
  This option will set the way that a single member is displayed when selected from the showcase. "Card (pop-up)" displays an index card style display of a single member. A custom template may also be selected from the drop-down menu. The custom template should be a file located in "/inc/template/team_members_template.php".
532
  </p>
533
+ <h4>Card Margin from Top <em class="pro">Pro Version</em></h4>
534
+ <p>Set the distance of the Single Member view Card Pop-Up from the top of your site. The default is 100 px. This helps avoid rendering errors when a drop-down menu or sticky header overlap with the card.</p>
535
+ <h4>Panel Margin from Top <em class="pro">Pro Version</em></h4>
536
+ <p>Set the distance between the top of the Side Panel from the top of your page. The default is 0px. This helps work around display issues when a sticky header at the top of your site is covering the "X" close button or other features at the top of the Side Panel.</p>
537
+ <h4>Display Social Icons: <em class="pro">Pro Version</em></h4>
538
  <p>
539
  Toggles whether social icons are displayed when viewing an individual team member.
540
  </p>
541
+
 
 
 
542
  <h4>Image Style:<em class="pro">Pro version</em></h4>
543
  <p>
544
  Specifies whether the featured image should have a round or rectangular border, when viewing an individual team member.
545
  </p>
546
+
547
+ <h3>Staff Directory Options</h3>
548
+ <p>If you're using the Staff Directory template, these settings help you modify the display. Each of the three columns after Name - Title, Group, and Phone Number - can be disabled and renamed from this settings box. </p>
549
+ <p>Select "Yes" to include a field, or "No" to disable it. Put the Title that you want for that column in the text field below the Yes / No radio buttons.</p>
550
  </div>
551
 
552
  <div class="sub-section" id="sidebar-widget">
559
  <p>
560
  You can drag & drop the widget into any widget placeholder
561
  </p>
562
+ <img style="width: 40%; float: right" src="<?php echo SC_TEAM_URL ?>inc/img/sidebar_demo.jpg"/>
563
  <div class="clear"></div>
564
 
565
  </div>
566
+
567
+ <h2 id="portal">Member Login Portal Extension</h2>
568
+ <div class="sub-section">
569
+ <h3 id="portal-about">About the Member Login Portal</h3>
570
+ <p>You can now </strong> add Member-Only pages and posts</strong> to your WordPress site, with the addition of the Member Login Portal. Your Our Team Showcase Team Members can login to a custom dashboard to view edit their basic profiles, and view restricted content.</p>
571
+ <p>This plugin is ideal for web site administrators that want to share:</p>
572
+ <ul>
573
+ <li>Company best-practices</li>
574
+ <li>How-tos</li>
575
+ <li>Event news</li>
576
+ <li>Policy updates</li>
577
+ </ul>
578
+ <p>and more, with their staff, associates or contributing authors.</p>
579
+ <p>Content can be restricted to <b>specific groups of Team Members</b> within the plugin; allowing you to create and post content for a group of Members that might not even be displayed on the front-end of your site.</p>
580
+ </div>
581
+
582
+ <div class="sub-section">
583
+ <h3 id="portal-install">Installing & Configuring the Member Portal</h3>
584
+ <p>The Member Login Portal extension is a plugin that you can download <a href="https://smartcatdesign.net/downloads/member-login-portal/" target="_blank"> from the Smartcat site,</a> under Products. Add it to your WordPress site by following the same installation and activation instructions included here for Our Team Showcase.</p>
585
+ <p>When the Portal is installed and activated on a WordPress site, the Pages "Login", "Logout" and "Profile" will automatically be created on your site. The urls for these pages are listed at the top of the main Portal Page, under "Portal Pages". </p>
586
+ </div>
587
+ <div class="sub-section">
588
+ <h3 id="portal-settings">Member Login Portal Settings</h3>
589
+ <p>The main settings for the Member Login Portal are found in the Team menu, on your WordPress Dashbaord. Click "Portal" at the bottom of the sub-menu to access these settings.</p>
590
+ <h4>Login Redirect Destination:</h4>
591
+ <p>Select the page users will be redirected to when they click "Login"
592
+ <h4>Un-authorized Redirect Destination:</h4>
593
+ <p>Choose the page a user will be reidrected to if they do not have access to a page or post.</p>
594
+ <h4>Wrong Group Redirect Destination:</h4>
595
+ <p>Choose the page a user will be redirected to when they try to access content assigned to another group.</p>
596
+ <h4>Portal Logo Image:</h4>
597
+ <p>Paste the link to your logo media file from your WordPress Media directory. </p>
598
+
599
+ </div>
600
+ <div class="sub-section">
601
+ <h3 id="portal-email">Email Settings</h3>
602
+ <p>This is the setting for the admin emails that will be sent to registrants for your Member Login Portal. Set the name and the address users will see when they receive an automated message from the Member Portal. (Sender Name, Sender Email Address.)</p>
603
+ <p>Add copy for the automated Welcome Email for new Members, as well as for the Password Reset Email.</p>
604
+ </div>
605
+ <div class="sub-section">
606
+ <h3 id="portal-extra">Extra Options</h3>
607
+ <p>Set the Welcome Message for your Team Member Portal. This text appears prominantly at the top of the Team Member's Dashboard when they first login. Example: "Welcome to Smartcat's Team Area! Here, you'll find everything you need to be a successful WordPress developer with Smartcat!"</p>
608
+ </div>
609
+ <div class="sub-section">
610
+ <h3 id="portal-content">Restricting Content to Members Only</h3>
611
+ <p>Content is restricted to groups on a per-page basis. Once the Member Login Portal is activated, a new box appears in Editing area for each Page and Post, below the box for page or post. The site admin can select groups of Team Members to access that content. The default for published content that isn't selected is to remain public. </p>
612
+ <h3>Content Protection & Permissions</h3>
613
+ <p>Select "Yes" if you want to protect the content (make it visible to members only); or, select "No" if you want the content to be visible to the general public.</p>
614
+ <h3>Allow Access To</h3>
615
+ <p>If you chose "Yes," next select either "All logged in Members" or "Selected Groups"</p>
616
+ <h3>Selected Team Member Groups</h3>
617
+ <p> A list of the Groups you've created using the Our Team Showcase Plugin will appear here. If you chose "Selected Groups" above, click one or several of the groups you'd like to be able to view this content.</p>
618
+ <p>Click "Update" to save your changes.</p>
619
+ </div>
620
+ <div class="sub-section">
621
+ <h3 id="portal-profile">Team Member Profile Options</h3>
622
+ <p>When an Our Team Showcase Team Member logs in to the Member Portal, they'll arrive on the Member Portal dashboard. Their restircted Pages appear in the left-hand dashboard below their picture. Their restricted posts appear in the main body of the page. They can browse these posts by category.</p>
623
+ <p>A team member can also update their settings by clicking "Profile." </p>
624
+ <p><em class="tip">SMARTCAT TIP</em> <i>Any changes they make to their Member Login Portal profile will also appear in the Our Team Showcase plugin on your site.</i></p>
625
+ <p>Team Members can edit their Profile image, Name, Job Title, Bio, and Social Links.</p>
626
+ <p>Team Members can also manage their passwords for the Team Member Portal.</p>
627
+ <p>To view the public side of the webiste, while remaining logged in, Team Members simply need to click the "Public Site" icon, below their image.</p>
628
+
629
+ <h3 id="portal-admin">Team Member Profile Admin Settings</h3>
630
+ <p>Once the Portal is activated on your site, a new box appears on the editing page for an individual Team Member, called "Team Portal". To grant a team member access to the Portal, select the "Active" button for Team Member Status. To Deactivate a user, select "Inactive." </p>
631
+ <p>The email address associated with their Team Member Profile will auto-populate as their Email Address.</p>
632
+ <p>If you want to reset the Team Members password, enter a new password and click "Update" to save. This will override the password sent to them when they register.</p>
633
+ </div>
634
 
635
  <h2 id="faq">Frequently Asked Questions</h2>
636
 
661
  <p>The date usually comes from your theme's single.php file. If you remove the code snippet from your single.php file,
662
  the date will also be removed from your Posts.</p>
663
  <p>Alternatively, you can use the Custom Template included in the plugin, which you can select from the plugin settings</p>
664
+
665
+ </div>
666
+ <div class="sub-section">
667
+ <h3>What if I don't want a Single Member View at all?</h3>
668
+ <p>From the "Single Member View" settings, you have the options to select "Disable" for Single Member View. The showcase will now display with no active link to a Single Member profile on the Team Member's page.</p>
669
  </div>
670
 
671
+ <footer>Copyright © <a href="http://smartcat.ca">Smartcat</a></footer>
672
  </div>
673
  </div>
674
  </div>
admin/options.php CHANGED
@@ -1,276 +1,295 @@
1
- <?php include_once 'setting.php'; extract( get_option('smartcat_team_options')); ?>
 
2
  <div class="width70 left">
3
  <p>To display the Team, copy and paste this shortcode into the page or widget where you want to show it.
4
  <input type="text" readonly="readonly" value="[our-team]" style="width: 130px" onfocus="this.select()"/>
5
  <div>You can set the <strong>template</strong>, <strong>single_template</strong> and group in the <strong>shortcode</strong></div>
6
- </p>
7
- <p><iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2FSmartcatDesign&amp;width&amp;layout=standard&amp;action=like&amp;show_faces=false&amp;share=false&amp;height=35&amp;appId=233286813420319" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:35px;" allowTransparency="true"></iframe></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
- <form name="sc_our_team_post_form" method="post" action="" enctype="multipart/form-data">
10
- <table class="widefat">
11
- <thead>
12
- <tr>
13
- <th colspan="2"><b>Team View Settings</b></th>
14
- </tr>
15
- </thead>
16
- <tbody>
17
- <tr>
18
- <td>Template</td>
19
- <td>
20
- <select name="smartcat_team_options[template]" id="sc_our_team_template">
21
- <option>Select Template</option>
22
- <option value="grid" <?php echo 'grid' == esc_attr( $template ) ? 'selected=selected' : ''; ?>>Grid - Boxes</option>
23
- <option value="grid_circles" <?php echo 'grid_circles' == esc_attr( $template ) ? 'selected=selected' : ''; ?>>Grid - Circles</option>
24
- <option value="grid_circles2" <?php echo 'grid_circles2' == esc_attr( $template ) ? 'selected=selected' : ''; ?>>Grid - Circles Version 2</option>
25
- <option disabled="disabled">List - Stacked ( pro version )</option>
26
- <option disabled="disabled">Honey Comb ( pro version )</option>
27
- <option disabled="disabled">Carousel ( pro version )</option>
28
- <option disabled="disabled">Staff Directory ( pro version )</option>
29
- </select>
30
- </td>
31
- </tr>
32
-
33
- <tr id="columns-row">
34
- <td>Grid Columns</td>
35
- <td>
36
- <select name="smartcat_team_options[columns]">
37
- <option value="2" <?php echo '2' == esc_attr ( $columns ) ? 'selected=selected' : ''; ?>>2</option>
38
- <option value="3" <?php echo '3' == esc_attr ( $columns ) ? 'selected=selected' : ''; ?>>3</option>
39
- <option value="4" <?php echo '4' == esc_attr( $columns ) ? 'selected=selected' : ''; ?>>4</option>
40
- <option value="5" <?php echo '5' == esc_attr( $columns ) ? 'selected=selected' : ''; ?>>5</option>
41
- <option value="10" <?php echo '10' == esc_attr( $columns ) ? 'selected=selected' : ''; ?>>10</option>
42
- </select>
43
- </td>
44
- </tr>
45
-
46
-
47
- <tr id="margin-row">
48
- <td>Margin</td>
49
- <td>
50
- <select name="smartcat_team_options[margin]">
51
- <option value="0" <?php echo '0' == esc_attr( $margin ) ? 'selected=selected' : ''; ?>>No margin</option>
52
- <option value="5" <?php echo '5' == esc_attr( $margin ) ? 'selected=selected' : ''; ?>>5</option>
53
- <option value="10" <?php echo '10' == esc_attr( $margin ) ? 'selected=selected' : ''; ?>>10</option>
54
- <option value="15" <?php echo '15' == esc_attr( $margin ) ? 'selected=selected' : ''; ?>>15</option>
55
- </select>px
56
- </td>
57
- </tr>
58
-
59
- <tr id="social_icons_row">
60
- <td><?php _e('Display Social Icons') ?></td>
61
- <td>
62
- <select name="smartcat_team_options[social]">
63
- <option value="yes" <?php echo 'yes' == esc_attr( $social ) ? 'selected=selected' : ''; ?>>Yes</option>
64
- <option value="no" <?php echo 'no' == esc_attr( $social ) ? 'selected=selected' : ''; ?>>No</option>
65
- </select>
66
- </td>
67
- </tr>
68
-
69
- <tr id="social_links_row">
70
- <td><?php _e('Social Icon Links') ?></td>
71
- <td>
72
- <select name="smartcat_team_options[social_link]">
73
- <option value="" <?php echo '' == esc_attr( $social_link ) ? 'selected=selected' : ''; ?>>Same Page</option>
74
- <option value="new" <?php echo 'new' == esc_attr( $social_link ) ? 'selected=selected' : ''; ?>>New Page</option>
75
- </select>
76
- </td>
77
- </tr>
78
-
79
-
80
-
81
- <tr id="">
82
- <td>Display Name</td>
83
- <td>
84
- <select name="smartcat_team_options[name]">
85
- <option value="yes" <?php echo 'yes' == esc_attr( $name ) ? 'selected=selected' : ''; ?>>Yes</option>
86
- <option value="no" <?php echo 'no' == esc_attr( $name ) ? 'selected=selected' : ''; ?>>No</option>
87
- </select>
88
- </td>
89
- </tr>
90
-
91
-
92
-
93
- <tr id="">
94
- <td>Display Title</td>
95
- <td>
96
- <select name="smartcat_team_options[title]">
97
- <option value="yes" <?php echo 'yes' == esc_attr( $title )? 'selected=selected' : ''; ?>>Yes</option>
98
- <option value="no" <?php echo 'no' == esc_attr( $title ) ? 'selected=selected' : ''; ?>>No</option>
99
- </select>
100
- </td>
101
- </tr>
102
-
103
- <tr>
104
- <td>Single Member URL Slug</td>
105
- <td>
106
- <input type="text" name="smartcat_team_options[slug]" value="<?php echo esc_attr( $slug ); ?>" />
107
- <p>
108
- <em>Set the slug for the single team member page. <b><?php echo home_url() . '/' . $slug . '/member-name'; ?></b></em><br>
109
- <em>If your update doesn't work, go to Settings - Permalinks & hit Save</em>
110
- </p>
111
- </td>
112
- </tr>
113
-
114
-
115
-
116
- <tr>
117
- <td>Number of members to display</td>
118
- <td>
119
- <input type="text" value="<?php echo esc_attr( $member_count ); ?>" name="smartcat_team_options[member_count]" placeholder="number of members to show"/><br>
120
- <em>Set to -1 to display all members</em>
121
- </td>
122
- </tr>
123
-
124
- <tr>
125
- <td>Main Color</td>
126
- <td>
127
- <input class="wp_popup_color width25" type="text" value="<?php echo esc_attr( $text_color ); ?>" name="smartcat_team_options[text_color]"/>
128
- </td>
129
- </tr>
130
-
131
- <tr>
132
- <td>Max Word Count</td>
133
- <td>
134
- <em class="pro">pro version</em>
135
- </td>
136
- </tr>
137
-
138
-
139
- <tr id="">
140
- <td>Name Font Size</td>
141
- <td>
142
- <em class="pro">pro version</em>
143
- </td>
144
- </tr>
145
-
146
- <tr id="">
147
- <td>Title Font Size</td>
148
- <td>
149
- <em class="pro">pro version</em>
150
- </td>
151
- </tr>
152
-
153
- <tr id="social_links_style_row">
154
- <td><?php _e('Icons Style') ?></td>
155
- <td>
156
- <em class="pro">pro version</em>
157
- </td>
158
- </tr>
159
-
160
- </tbody>
161
- </table>
162
 
163
- <table class="widefat">
164
- <thead>
165
- <tr>
166
- <th colspan="2"><b>Single Member View Settings</b></th>
167
- </tr>
168
- <tr>
169
- <td>Template</td>
170
- <td>
171
- <select name="smartcat_team_options[single_template]">
172
- <option>Select Template</option>
173
- <option value="standard" <?php echo 'standard' == esc_attr( $single_template ) ? 'selected=selected' : ''; ?>>Theme Default (single post)</option>
174
- <option disabled="disabled" value="custom" <?php echo 'custom' == esc_attr( $single_template ) ? 'selected=selected' : ''; ?>>Custom Template - ( Pro Version )</option>
175
- <option disabled="disabled">Card (pop-up) - ( pro version )</option>
176
- <option disabled="disabled">Side Panel - ( pro version )</option>
177
- </select>
178
- </td>
179
- </tr>
180
-
181
- <tr id="">
182
- <td>Display Social Icons</td>
183
- <td>
184
- <select name="smartcat_team_options[single_social]">
185
- <option value="no" <?php echo 'no' == esc_attr( $single_social ) ? 'selected=selected' : ''; ?>>No</option>
186
- <option value="yes" <?php echo 'yes' == esc_attr( $single_social ) ? 'selected=selected' : ''; ?>>Yes</option>
187
- </select>
188
- </td>
189
- </tr>
190
-
191
- <tr>
192
- <td>Card Popup Margin From Top</td>
193
- <td>
194
- <em>pro version</em>
195
- </td>
196
- </tr>
197
-
198
-
199
-
200
- <tr id="">
201
- <td>Display Skills Bar</td>
202
- <td>
203
- <em>pro version</em>
204
- </td>
205
- </tr>
206
-
207
- <tr>
208
- <td>Skills Title</td>
209
- <td>
210
- <em>pro version</em>
211
- </td>
212
- </tr>
213
-
214
-
215
-
216
- <tr>
217
- <td>Image Style</td>
218
- <td>
219
- <em>pro version</em>
220
- </td>
221
- </tr>
222
-
223
- </thead>
224
- </table>
225
 
226
 
227
- <div style="text-align: right">
228
- <input type="hidden" name="smartcat_team_options[redirect]" value=""/>
229
- <input type="submit" name="sc_our_team_save" value="Update" class="button button-primary button-hero" />
230
-
231
- </div>
232
- <br>
233
- <table class="widefat">
234
- <thead>
235
- <tr>
236
- <th colspan="4">Demo</th>
237
- </tr>
238
- <tr>
239
- <td>
240
- Grid Boxes &amp; Grid Circles Demo<br>
241
- <img src="<?php echo SC_TEAM_URL ?>inc/img/circles2_demo.jpg" style="width: 100%"><br>
242
- <img src="<?php echo SC_TEAM_URL ?>inc/img/grid_demo.jpg" style="width: 100%"><br>
243
- <img src="<?php echo SC_TEAM_URL ?>inc/img/circles_demo.jpg" style="width: 100%"><br>
244
-
245
- </td>
246
- <td>
247
- Carousel Demo<br>
248
- <img src="<?php echo SC_TEAM_URL ?>screenshot-6.jpg" style="width: 100%">
249
- </td>
250
- <td>
251
- Honeycomb Demo<br>
252
- <img src="<?php echo SC_TEAM_URL ?>screenshot-4.jpg" width="100%">
253
- </td>
254
- </tr>
255
- <tr>
256
- <td>
257
- Stacked List Demo<br>
258
- <img src="<?php echo SC_TEAM_URL ?>screenshot-5.jpg" width="100%">
259
- </td>
260
- <td>
261
- Popup Card Demo<br>
262
- <img src="<?php echo SC_TEAM_URL ?>inc/img/card_demo.jpg" width="100%">
263
- </td>
264
- <td>
265
- Sliding Side Panel<br>
266
- <img src="<?php echo SC_TEAM_URL ?>inc/img/panel_demo.jpg" width="100%"/>
267
- </td>
268
- </tr>
269
- </thead>
270
- </table>
271
-
272
- </form>
273
- </div>
274
  </div>
275
  <script>
276
  function confirm_reset() {
@@ -280,8 +299,8 @@
280
  return false;
281
  }
282
  }
283
- jQuery(document).ready(function($) {
284
- $("#sc_popup_shortcode").focusout(function() {
285
  var shortcode = jQuery(this).val();
286
  shortcode = shortcode.replace(/"/g, "").replace(/'/g, "");
287
  jQuery(this).val(shortcode);
1
+ <?php include_once 'setting.php';
2
+ extract(get_option('smartcat_team_options')); ?>
3
  <div class="width70 left">
4
  <p>To display the Team, copy and paste this shortcode into the page or widget where you want to show it.
5
  <input type="text" readonly="readonly" value="[our-team]" style="width: 130px" onfocus="this.select()"/>
6
  <div>You can set the <strong>template</strong>, <strong>single_template</strong> and group in the <strong>shortcode</strong></div>
7
+ </p>
8
+ <p><iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2FSmartcatDesign&amp;width&amp;layout=standard&amp;action=like&amp;show_faces=false&amp;share=false&amp;height=35&amp;appId=233286813420319" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:35px;" allowTransparency="true"></iframe></p>
9
+
10
+ <form name="sc_our_team_post_form" method="post" action="" enctype="multipart/form-data">
11
+ <table class="widefat">
12
+ <thead>
13
+ <tr>
14
+ <th colspan="2"><b>Team View Settings</b></th>
15
+ </tr>
16
+ </thead>
17
+ <tbody>
18
+ <tr>
19
+ <td>Template</td>
20
+ <td>
21
+ <select name="smartcat_team_options[template]" id="sc_our_team_template">
22
+ <option>Select Template</option>
23
+ <option value="grid" <?php echo 'grid' == esc_attr($template) ? 'selected=selected' : ''; ?>>Grid - Boxes</option>
24
+ <option value="grid_circles" <?php echo 'grid_circles' == esc_attr($template) ? 'selected=selected' : ''; ?>>Grid - Circles</option>
25
+ <option value="grid_circles2" <?php echo 'grid_circles2' == esc_attr($template) ? 'selected=selected' : ''; ?>>Grid - Circles Version 2</option>
26
+ <option disabled="disabled">List - Stacked ( pro version )</option>
27
+ <option disabled="disabled">Honey Comb ( pro version )</option>
28
+ <option disabled="disabled">Carousel ( pro version )</option>
29
+ <option disabled="disabled">Staff Directory ( pro version )</option>
30
+ </select>
31
+ </td>
32
+ </tr>
33
+
34
+ <tr id="columns-row">
35
+ <td>Grid Columns</td>
36
+ <td>
37
+ <select name="smartcat_team_options[columns]">
38
+ <option value="2" <?php echo '2' == esc_attr($columns) ? 'selected=selected' : ''; ?>>2</option>
39
+ <option value="3" <?php echo '3' == esc_attr($columns) ? 'selected=selected' : ''; ?>>3</option>
40
+ <option value="4" <?php echo '4' == esc_attr($columns) ? 'selected=selected' : ''; ?>>4</option>
41
+ <option value="5" <?php echo '5' == esc_attr($columns) ? 'selected=selected' : ''; ?>>5</option>
42
+ <option value="10" <?php echo '10' == esc_attr($columns) ? 'selected=selected' : ''; ?>>10</option>
43
+ </select>
44
+ </td>
45
+ </tr>
46
+
47
+
48
+ <tr id="margin-row">
49
+ <td>Margin</td>
50
+ <td>
51
+ <select name="smartcat_team_options[margin]">
52
+ <option value="0" <?php echo '0' == esc_attr($margin) ? 'selected=selected' : ''; ?>>No margin</option>
53
+ <option value="5" <?php echo '5' == esc_attr($margin) ? 'selected=selected' : ''; ?>>5</option>
54
+ <option value="10" <?php echo '10' == esc_attr($margin) ? 'selected=selected' : ''; ?>>10</option>
55
+ <option value="15" <?php echo '15' == esc_attr($margin) ? 'selected=selected' : ''; ?>>15</option>
56
+ </select>px
57
+ </td>
58
+ </tr>
59
+
60
+ <tr id="social_icons_row">
61
+ <td><?php _e('Display Social Icons') ?></td>
62
+ <td>
63
+ <select name="smartcat_team_options[social]">
64
+ <option value="yes" <?php echo 'yes' == esc_attr($social) ? 'selected=selected' : ''; ?>>Yes</option>
65
+ <option value="no" <?php echo 'no' == esc_attr($social) ? 'selected=selected' : ''; ?>>No</option>
66
+ </select>
67
+ </td>
68
+ </tr>
69
+
70
+ <tr id="social_links_row">
71
+ <td><?php _e('Social Icon Links') ?></td>
72
+ <td>
73
+ <select name="smartcat_team_options[social_link]">
74
+ <option value="" <?php echo '' == esc_attr($social_link) ? 'selected=selected' : ''; ?>>Same Page</option>
75
+ <option value="new" <?php echo 'new' == esc_attr($social_link) ? 'selected=selected' : ''; ?>>New Page</option>
76
+ </select>
77
+ </td>
78
+ </tr>
79
+
80
+
81
+
82
+ <tr id="">
83
+ <td>Display Name</td>
84
+ <td>
85
+ <select name="smartcat_team_options[name]">
86
+ <option value="yes" <?php echo 'yes' == esc_attr($name) ? 'selected=selected' : ''; ?>>Yes</option>
87
+ <option value="no" <?php echo 'no' == esc_attr($name) ? 'selected=selected' : ''; ?>>No</option>
88
+ </select>
89
+ </td>
90
+ </tr>
91
+
92
+
93
+
94
+ <tr id="">
95
+ <td>Display Title</td>
96
+ <td>
97
+ <select name="smartcat_team_options[title]">
98
+ <option value="yes" <?php echo 'yes' == esc_attr($title) ? 'selected=selected' : ''; ?>>Yes</option>
99
+ <option value="no" <?php echo 'no' == esc_attr($title) ? 'selected=selected' : ''; ?>>No</option>
100
+ </select>
101
+ </td>
102
+ </tr>
103
+
104
+ <tr>
105
+ <td>Single Member URL Slug</td>
106
+ <td>
107
+ <input type="text" name="smartcat_team_options[slug]" value="<?php echo esc_attr($slug); ?>" />
108
+ <p>
109
+ <em>Set the slug for the single team member page. <b><?php echo home_url() . '/' . $slug . '/member-name'; ?></b></em><br>
110
+ <em>If your update doesn't work, go to Settings - Permalinks & hit Save</em>
111
+ </p>
112
+ </td>
113
+ </tr>
114
+
115
+
116
+
117
+ <tr>
118
+ <td>Number of members to display</td>
119
+ <td>
120
+ <input type="text" value="<?php echo esc_attr($member_count); ?>" name="smartcat_team_options[member_count]" placeholder="number of members to show"/><br>
121
+ <em>Set to -1 to display all members</em>
122
+ </td>
123
+ </tr>
124
+
125
+ <tr>
126
+ <td>Main Color</td>
127
+ <td>
128
+ <input class="wp_popup_color width25" type="text" value="<?php echo esc_attr($text_color); ?>" name="smartcat_team_options[text_color]"/>
129
+ </td>
130
+ </tr>
131
+
132
+ <tr>
133
+ <td>Max Word Count</td>
134
+ <td>
135
+ <em class="pro">pro version</em>
136
+ </td>
137
+ </tr>
138
+
139
+
140
+ <tr id="">
141
+ <td>Name Font Size</td>
142
+ <td>
143
+ <em class="pro">pro version</em>
144
+ </td>
145
+ </tr>
146
+
147
+ <tr id="">
148
+ <td>Title Font Size</td>
149
+ <td>
150
+ <em class="pro">pro version</em>
151
+ </td>
152
+ </tr>
153
+
154
+ <tr id="social_links_style_row">
155
+ <td><?php _e('Icons Style') ?></td>
156
+ <td>
157
+ <em class="pro">pro version</em>
158
+ </td>
159
+ </tr>
160
+
161
+ </tbody>
162
+ </table>
163
+
164
+ <table class="widefat">
165
+ <thead>
166
+ <tr>
167
+ <th colspan="2"><b>Single Member View Settings</b></th>
168
+ </tr>
169
+ <tr>
170
+ <td>Template</td>
171
+ <td>
172
+ <select name="smartcat_team_options[single_template]">
173
+ <option>Select Template</option>
174
+ <option value="standard" <?php echo 'standard' == esc_attr($single_template) ? 'selected=selected' : ''; ?>>Theme Default (single post)</option>
175
+ <option value="disable" <?php echo 'disable' == esc_attr($single_template) ? 'selected=selected' : ''; ?>>Disabled</option>
176
+ <option disabled="disabled" value="custom" <?php echo 'custom' == esc_attr($single_template) ? 'selected=selected' : ''; ?>>Custom Template - ( Pro Version )</option>
177
+ <option disabled="disabled">Card (pop-up) - ( pro version )</option>
178
+ <option disabled="disabled">Side Panel - ( pro version )</option>
179
+ </select>
180
+ </td>
181
+ </tr>
182
+
183
+ <tr id="">
184
+ <td>Display Social Icons</td>
185
+ <td>
186
+ <select name="smartcat_team_options[single_social]">
187
+ <option value="no" <?php echo 'no' == esc_attr($single_social) ? 'selected=selected' : ''; ?>>No</option>
188
+ <option value="yes" <?php echo 'yes' == esc_attr($single_social) ? 'selected=selected' : ''; ?>>Yes</option>
189
+ </select>
190
+ </td>
191
+ </tr>
192
+
193
+ <tr>
194
+ <td>Card Popup Margin From Top</td>
195
+ <td>
196
+ <em>pro version</em>
197
+ </td>
198
+ </tr>
199
+
200
+
201
+
202
+ <tr id="">
203
+ <td>Display Skills Bar</td>
204
+ <td>
205
+ <em>pro version</em>
206
+ </td>
207
+ </tr>
208
+
209
+ <tr>
210
+ <td>Skills Title</td>
211
+ <td>
212
+ <em>pro version</em>
213
+ </td>
214
+ </tr>
215
+
216
+
217
+
218
+ <tr>
219
+ <td>Image Style</td>
220
+ <td>
221
+ <em>pro version</em>
222
+ </td>
223
+ </tr>
224
+
225
+ </thead>
226
+ </table>
227
+
228
+
229
+ <div style="text-align: right">
230
+ <input type="hidden" name="smartcat_team_options[redirect]" value=""/>
231
+ <input type="submit" name="sc_our_team_save" value="Update" class="button button-primary button-hero" />
232
+
233
+ </div>
234
+ <br>
235
+
236
+
237
+
238
+ </form>
239
+ </div>
240
+
241
+ <div class="clear"></div>
242
+
243
+ <div class="demo-table">
244
+ <h3>Preview</h3>
245
 
246
+ <div class="left width50">
247
+
248
+ <h3>Carousel</h3>
249
+ <img src="<?php echo SC_TEAM_URL ?>screenshot-6.jpg" >
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
250
 
251
+ <h3>Honeycomb Demo</h3>
252
+ <img src="<?php echo SC_TEAM_URL ?>screenshot-4.jpg" >
253
+
254
+ <h3>Stacked List Demo</h3>
255
+ <img src="<?php echo SC_TEAM_URL ?>screenshot-5.jpg" >
256
+
257
+ <h3>Grid Boxes &amp; Grid Circles Demo</h3>
258
+ <img src="<?php echo SC_TEAM_URL ?>inc/img/circles2_demo.jpg" >
259
+ <img src="<?php echo SC_TEAM_URL ?>inc/img/grid_demo.jpg" >
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
260
 
261
 
262
+ </div>
263
+
264
+ <div class="left width50">
265
+
266
+ <h3>Popup Card Demo</h3>
267
+ <img src="<?php echo SC_TEAM_URL ?>inc/img/card_demo.jpg" >
268
+
269
+ <img src="<?php echo SC_TEAM_URL ?>inc/img/circles_demo.jpg">
270
+
271
+ <h3>Staff Directory</h3>
272
+ <img src="<?php echo SC_TEAM_URL ?>inc/img/directory.jpg"/>
273
+
274
+ <h3>Custom Template</h3>
275
+ <img src="<?php echo SC_TEAM_URL ?>inc/img/custom_demo.jpg"/>
276
+
277
+ <h3>Sliding Side Panel</h3>
278
+ <img src="<?php echo SC_TEAM_URL ?>inc/img/panel_demo.jpg" />
279
+ </div>
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+ </div>
289
+
290
+
291
+
292
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
293
  </div>
294
  <script>
295
  function confirm_reset() {
299
  return false;
300
  }
301
  }
302
+ jQuery(document).ready(function ($) {
303
+ $("#sc_popup_shortcode").focusout(function () {
304
  var shortcode = jQuery(this).val();
305
  shortcode = shortcode.replace(/"/g, "").replace(/'/g, "");
306
  jQuery(this).val(shortcode);
admin/setting.php CHANGED
@@ -84,6 +84,22 @@
84
  .larger{ font-size: larger;}
85
  .bold{ font-weight: bold;}
86
  .editcursor{ cursor: text}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  </style>
88
 
89
  <div id="wrapper">
@@ -125,7 +141,7 @@
125
  </table>
126
 
127
  <?php if( ! is_plugin_active( 'testimonials-reviews-showcase/our_testimonials_showcase.php') ) : ?>
128
- <table class="widefat">
129
  <thead>
130
  <tr>
131
  <th><b>Testimonials Showcase</b> </th>
@@ -151,7 +167,7 @@
151
  </td>
152
  </tr>
153
 
154
- </table>
155
  <?php endif; ?>
156
 
157
  <table class="widefat">
84
  .larger{ font-size: larger;}
85
  .bold{ font-weight: bold;}
86
  .editcursor{ cursor: text}
87
+ .demo-table{
88
+
89
+
90
+
91
+ overflow: hidden;
92
+
93
+ }
94
+ .demo-table .width50{
95
+ width: 44%;
96
+ padding: 20px;
97
+ margin-right: 2%;
98
+ background: #fff;
99
+ }
100
+ .demo-table img{
101
+ width: 100%;
102
+ }
103
  </style>
104
 
105
  <div id="wrapper">
141
  </table>
142
 
143
  <?php if( ! is_plugin_active( 'testimonials-reviews-showcase/our_testimonials_showcase.php') ) : ?>
144
+ <!-- <table class="widefat">
145
  <thead>
146
  <tr>
147
  <th><b>Testimonials Showcase</b> </th>
167
  </td>
168
  </tr>
169
 
170
+ </table>-->
171
  <?php endif; ?>
172
 
173
  <table class="widefat">
inc/class/class.smartcat-team.php CHANGED
@@ -14,7 +14,7 @@ add_action('wp_ajax_sc_team_update_order', 'sc_team_update_order');
14
 
15
  class SmartcatTeamPlugin {
16
 
17
- const VERSION = '2.41';
18
  const NAME = 'Our Team Showcase';
19
 
20
  private static $instance;
@@ -45,7 +45,8 @@ class SmartcatTeamPlugin {
45
  'single_image_style' => 'square',
46
  'social_link' => 'new',
47
  'card_margin' => 100,
48
- 'single_template' => 'standard'
 
49
  );
50
 
51
  if ( !get_option( 'smartcat_team_options' ) ) :
@@ -90,6 +91,7 @@ class SmartcatTeamPlugin {
90
  add_action( 'widgets_init', array( $this, 'wpb_load_widget' ) );
91
  add_action( 'wp_ajax_smartcat_team_update_pm', array( $this, 'smartcat_team_update_order' ) );
92
  add_action( 'wp_head', array( $this, 'sc_custom_styles' ) );
 
93
  add_filter( 'the_content', array( $this, 'smartcat_set_single_content' ) );
94
  add_filter( 'single_template', array( $this, 'smartcat_team_get_single_template' ) );
95
  add_action( 'after_setup_theme', array( $this, 'add_featured_image_support' ) );
@@ -150,6 +152,7 @@ class SmartcatTeamPlugin {
150
  add_submenu_page( 'edit.php?post_type=team_member', 'Settings', 'Settings', 'administrator', 'smartcat_team_settings', array( $this, 'smartcat_team_settings' ) );
151
  add_submenu_page( 'edit.php?post_type=team_member', 'Re-Order Members', 'Re-Order Members', 'administrator', 'smartcat_team_reorder', array( $this, 'smartcat_team_reorder' ) );
152
  add_submenu_page( 'edit.php?post_type=team_member', 'Documentation', 'Documentation', 'administrator', 'smartcat_team_documentation', array( $this, 'smartcat_team_documentation' ) );
 
153
  }
154
 
155
  public function smartcat_team_documentation(){
@@ -158,6 +161,12 @@ class SmartcatTeamPlugin {
158
 
159
  }
160
 
 
 
 
 
 
 
161
  public function smartcat_team_reorder() {
162
  include_once SC_TEAM_PATH . 'admin/reorder.php';
163
  }
@@ -321,16 +330,139 @@ class SmartcatTeamPlugin {
321
  echo '<tr><td><lablel for="team_member_phone"><img src="' . SC_TEAM_URL . 'inc/img/phone.png" width="20px"/></label></td>';
322
  echo '<td><input type="text" value="' . get_post_meta( $post->ID, 'team_member_phone', true ) . '" id="team_member_phone" name="team_member_phone" placeholder="Enter Phone Number"/></td></tr>';
323
 
 
 
324
 
325
- echo '<tr><th><lablel for="team_member_qoute">Personal Quote </lablel></th>';
326
- echo '<td><em style="color: red; font-size: 10px">pro version</em></td></tr>';
 
 
 
 
 
 
 
327
 
328
 
329
- echo '<tr><th><lablel for="team_member_qoute">Attributes / Skills / Ratings</lablel></th>';
330
- echo '<td><em style="color: red; font-size: 10px">pro version</em></td></tr>';
331
 
332
  echo '</table>';
333
- echo '</div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
334
 
335
 
336
  }
@@ -382,6 +514,36 @@ class SmartcatTeamPlugin {
382
 
383
  }
384
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  if ( isset( $_REQUEST[ 'team_member_phone' ] ) ) {
386
  update_post_meta( $post_id, 'team_member_phone', $_POST[ 'team_member_phone' ] );
387
  }
@@ -430,6 +592,31 @@ class SmartcatTeamPlugin {
430
  $value = $_POST[ 'team_member_qoute' ];
431
  update_post_meta( $post_id, 'team_member_qoute', $value );
432
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
433
 
434
 
435
  }
@@ -447,9 +634,16 @@ class SmartcatTeamPlugin {
447
  update_post_meta( $post_id, 'sc_member_order', $sc_member_order );
448
  }
449
 
 
 
 
 
 
 
450
  public function sc_custom_styles() {
451
  ?>
452
  <style>
 
453
  #sc_our_team a,
454
  .sc_our_team_lightbox .name,
455
  .sc_personal_quote span.sc_team_icon-quote-left{ color: #<?php echo $this->options['text_color']; ?>; }
@@ -472,30 +666,86 @@ class SmartcatTeamPlugin {
472
  <?php
473
  }
474
 
475
- public function smartcat_set_single_content( $content ) {
476
  global $post;
477
 
478
- if( is_single() ) :
479
- if ( $post->post_type == 'team_member' &&
480
- $this->options['single_template'] == 'standard' &&
481
- $this->options['single_social'] == 'yes'
482
  ) :
483
- $facebook = get_post_meta( get_the_ID(), 'team_member_facebook', true );
484
- $twitter = get_post_meta( get_the_ID(), 'team_member_twitter', true );
485
- $linkedin = get_post_meta( get_the_ID(), 'team_member_linkedin', true );
486
- $gplus = get_post_meta( get_the_ID(), 'team_member_gplus', true );
487
- $email = get_post_meta( get_the_ID(), 'team_member_email', true );
488
- $phone = get_post_meta( get_the_ID(), 'team_member_phone', true );
489
-
490
- $content .= '<div class="clear"></div>'
491
- . '<div class="smartcat_team_single_icons">';
492
- $content .= $this->smartcat_get_social_content( $facebook, $twitter, $linkedin, $gplus, $email, $phone );
493
- $content .= '</div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
494
  endif;
495
  else :
496
-
497
  endif;
498
-
499
  return $content;
500
  }
501
 
@@ -510,59 +760,80 @@ class SmartcatTeamPlugin {
510
 
511
  }
512
 
513
- public function set_social( $id ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
514
 
515
- $facebook = get_post_meta( $id, 'team_member_facebook', true );
516
- $twitter = get_post_meta( $id, 'team_member_twitter', true );
517
- $linkedin = get_post_meta( $id, 'team_member_linkedin', true );
518
- $gplus = get_post_meta( $id, 'team_member_gplus', true );
519
- $email = get_post_meta( $id, 'team_member_email', true );
520
- $phone = get_post_meta( $id, 'team_member_phone', true );
521
-
522
-
523
- $this->get_social($facebook, $twitter, $linkedin, $gplus, $email, $phone);
524
-
525
  }
526
 
527
- public function get_social( $facebook, $twitter, $linkedin, $gplus, $email, $phone ) {
528
-
529
- if ( $facebook != '' )
530
  echo '<a ' . $this->add_target() . ' href="' . $facebook . '"><img src="' . SC_TEAM_URL . 'inc/img/fb.png" class="sc-social"/></a>';
531
- if ( $twitter != '' )
532
  echo '<a ' . $this->add_target() . ' href="' . $twitter . '"><img src="' . SC_TEAM_URL . 'inc/img/twitter.png" class="sc-social"/></a>';
533
- if ( $linkedin != '' )
534
- echo '<a ' . $this->add_target() . ' href="' . $linkedin . '"><img src="' . SC_TEAM_URL . 'inc/img/linkedin.png" class="sc-social"/></a>';
535
- if ( $gplus != '' )
536
  echo '<a ' . $this->add_target() . ' href="' . $gplus . '"><img src="' . SC_TEAM_URL . 'inc/img/google.png" class="sc-social"/></a>';
537
- if ( $email != '' )
 
 
 
 
 
 
 
 
 
538
  echo '<a href=mailto:' . $email . '><img src="' . SC_TEAM_URL . 'inc/img/email.png" class="sc-social"/></a>';
539
- if ( $phone != '' )
540
  echo '<a href=tel:' . $phone . '><img src="' . SC_TEAM_URL . 'inc/img/phone.png" class="sc-social"/></a>';
541
-
542
  }
543
 
544
 
545
- public function smartcat_get_social_content( $facebook, $twitter, $linkedin, $gplus, $email, $phone ){
546
-
547
  $content = null;
548
-
549
- if ( 'yes' == $this->options[ 'social' ] ) {
550
- if ( $facebook != '' )
551
  $content .= '<a ' . $this->add_target() . ' href="' . $facebook . '"><img src="' . SC_TEAM_URL . 'inc/img/fb.png" class="sc-social"/></a>';
552
- if ( $twitter != '' )
 
553
  $content .= '<a ' . $this->add_target() . ' href="' . $twitter . '"><img src="' . SC_TEAM_URL . 'inc/img/twitter.png" class="sc-social"/></a>';
554
- if ( $linkedin != '' )
555
- $content .= '<a ' . $this->add_target() . ' href="' . $linkedin . '"><img src="' . SC_TEAM_URL . 'inc/img/linkedin.png" class="sc-social"/></a>';
556
- if ( $gplus != '' )
557
  $content .= '<a ' . $this->add_target() . ' href="' . $gplus . '"><img src="' . SC_TEAM_URL . 'inc/img/google.png" class="sc-social"/></a>';
558
- if ( $email != '' )
 
 
 
 
 
 
 
 
 
 
559
  $content .= '<a href=mailto:' . $email . '><img src="' . SC_TEAM_URL . 'inc/img/email.png" class="sc-social"/></a>';
560
- if ( $phone != '' )
561
- $content .= '<a href=mailto:' . $phone . '><img src="' . SC_TEAM_URL . 'inc/img/phone.png" class="sc-social"/></a>';
562
- }
563
-
 
 
 
564
  return $content;
565
-
566
  }
567
 
568
  public function get_single_social( $social ) {
@@ -612,7 +883,14 @@ class SmartcatTeamPlugin {
612
 
613
  public function check_clicker( $single_template ){
614
 
615
- return false;
 
 
 
 
 
 
 
616
 
617
  }
618
 
14
 
15
  class SmartcatTeamPlugin {
16
 
17
+ const VERSION = '2.5.0';
18
  const NAME = 'Our Team Showcase';
19
 
20
  private static $instance;
45
  'single_image_style' => 'square',
46
  'social_link' => 'new',
47
  'card_margin' => 100,
48
+ 'single_template' => 'standard',
49
+ 'slug' => 'team_member'
50
  );
51
 
52
  if ( !get_option( 'smartcat_team_options' ) ) :
91
  add_action( 'widgets_init', array( $this, 'wpb_load_widget' ) );
92
  add_action( 'wp_ajax_smartcat_team_update_pm', array( $this, 'smartcat_team_update_order' ) );
93
  add_action( 'wp_head', array( $this, 'sc_custom_styles' ) );
94
+ add_action( 'admin_head', array( $this, 'sc_custom_admin_styles' ) );
95
  add_filter( 'the_content', array( $this, 'smartcat_set_single_content' ) );
96
  add_filter( 'single_template', array( $this, 'smartcat_team_get_single_template' ) );
97
  add_action( 'after_setup_theme', array( $this, 'add_featured_image_support' ) );
152
  add_submenu_page( 'edit.php?post_type=team_member', 'Settings', 'Settings', 'administrator', 'smartcat_team_settings', array( $this, 'smartcat_team_settings' ) );
153
  add_submenu_page( 'edit.php?post_type=team_member', 'Re-Order Members', 'Re-Order Members', 'administrator', 'smartcat_team_reorder', array( $this, 'smartcat_team_reorder' ) );
154
  add_submenu_page( 'edit.php?post_type=team_member', 'Documentation', 'Documentation', 'administrator', 'smartcat_team_documentation', array( $this, 'smartcat_team_documentation' ) );
155
+ add_submenu_page( 'edit.php?post_type=team_member', 'Add-ons', 'Add-ons', 'administrator', 'smartcat_team_addons', array( $this, 'smartcat_team_addons' ) );
156
  }
157
 
158
  public function smartcat_team_documentation(){
161
 
162
  }
163
 
164
+ public function smartcat_team_addons(){
165
+
166
+ include_once SC_TEAM_PATH . 'admin/addons.php';
167
+
168
+ }
169
+
170
  public function smartcat_team_reorder() {
171
  include_once SC_TEAM_PATH . 'admin/reorder.php';
172
  }
330
  echo '<tr><td><lablel for="team_member_phone"><img src="' . SC_TEAM_URL . 'inc/img/phone.png" width="20px"/></label></td>';
331
  echo '<td><input type="text" value="' . get_post_meta( $post->ID, 'team_member_phone', true ) . '" id="team_member_phone" name="team_member_phone" placeholder="Enter Phone Number"/></td></tr>';
332
 
333
+ echo '<tr><td><lablel for="team_member_instagram"><img src="' . SC_TEAM_URL . 'inc/img/instagram.png" width="20px"/></label></td>';
334
+ echo '<td><input type="text" value="' . get_post_meta($post->ID, 'team_member_instagram', true) . '" id="team_member_instagram" name="team_member_instagram" placeholder="Enter Instagram URL"/></td></tr>';
335
 
336
+ echo '<tr><td><lablel for="team_member_pinterest"><img src="' . SC_TEAM_URL . 'inc/img/pinterest.png" width="20px"/></label></td>';
337
+ echo '<td><input type="text" value="' . get_post_meta($post->ID, 'team_member_pinterest', true) . '" id="team_member_pinterest" name="team_member_pinterest" placeholder="Enter pinterest URL"/></td></tr>';
338
+
339
+ echo '<tr><td><lablel for="team_member_website"><img src="' . SC_TEAM_URL . 'inc/img/website.png" width="20px"/></label></td>';
340
+ echo '<td><input type="text" value="' . get_post_meta($post->ID, 'team_member_website', true) . '" id="team_member_website" name="team_member_website" placeholder="Enter Personal Website URL"/></td></tr>';
341
+
342
+ //
343
+ // echo '<tr><th><lablel for="team_member_qoute">Personal Quote </lablel></th>';
344
+ // echo '<td><em style="color: red; font-size: 10px">pro version</em></td></tr>';
345
 
346
 
347
+ // echo '<tr><th><lablel for="team_member_qoute">Attributes / Skills / Ratings</lablel></th>';
348
+ // echo '<td><em style="color: red; font-size: 10px">pro version</em></td></tr>';
349
 
350
  echo '</table>';
351
+ echo '</div><hr>';
352
+
353
+ $posts = get_posts(array(
354
+ 'posts_per_page' => -1,
355
+ 'post_type' => 'post',
356
+ ));
357
+
358
+ echo '<div class="sc_options_table">'
359
+ . '<h4>Authored / Favorite Articles</h4>'
360
+ . '<table class="widefat"><tr>'
361
+ . '<td colspan="2">Show <input type="radio" name="team_member_article_bool" value="on" ' . checked(get_post_meta($post->ID, 'team_member_article_bool', true), 'on', false) . '/> '
362
+ . 'Hide <input type="radio" name="team_member_article_bool" value="off" ' . checked(get_post_meta($post->ID, 'team_member_article_bool', true), 'off', false) . ' />'
363
+ . '</td>'
364
+ . '</tr><tr><td>Title</td>'
365
+ . '<td><input type="text" name="team_member_article_title" placeholder="Enter the title" value="' . get_post_meta($post->ID, 'team_member_article_title', true) . '"/></td></tr>';
366
+
367
+ echo '<tr><td>Article 1</td>'
368
+ . '<td><select name="team_member_article1">'
369
+ . '<option value="">Select Article</option>';
370
+
371
+ foreach ($posts as $the_post) :
372
+
373
+ echo '<option value="' . $the_post->ID . '" ' . selected($the_post->ID, get_post_meta($post->ID, 'team_member_article1', true), true) . '>' . $the_post->post_title . '</option>';
374
+
375
+ endforeach;
376
+
377
+ echo '</select></td>'
378
+ . '</tr>';
379
+
380
+
381
+ echo '<tr><td>Article 2</td>'
382
+ . '<td><select name="team_member_article2">'
383
+ . '<option value="">Select Article</option>';
384
+
385
+ foreach ($posts as $the_post) :
386
+
387
+ echo '<option value="' . $the_post->ID . '" ' . selected($the_post->ID, get_post_meta($post->ID, 'team_member_article2', true), true) . '>' . $the_post->post_title . '</option>';
388
+
389
+ endforeach;
390
+
391
+ echo '</select></td>'
392
+ . '</tr>';
393
+
394
+ echo '<tr><td>Article 3</td>'
395
+ . '<td><select name="team_member_article3">'
396
+ . '<option value="">Select Article</option>';
397
+
398
+ foreach ($posts as $the_post) :
399
+
400
+ echo '<option value="' . $the_post->ID . '" ' . selected($the_post->ID, get_post_meta($post->ID, 'team_member_article3', true), true) . '>' . $the_post->post_title . '</option>';
401
+
402
+ endforeach;
403
+
404
+ echo '</select></td>'
405
+ . '</tr>';
406
+
407
+
408
+ echo '</table>'
409
+ . ''
410
+ . ''
411
+ . '</div><hr>';
412
+
413
+ echo '<div class="sc_options_table">'
414
+ . '<h4>Attributes / Skills / Ratings <em style="font-size: 11px; color: #CC0000"> - Pro version</em></h4>'
415
+ . '<table class="widefat"><tr>'
416
+ . '<td colspan="2">Show <input type="radio" name="team_member_skill_bool" value="on" disabled/> '
417
+ . 'Hide <input type="radio" name="team_member_skill_bool" value="off" disabled/>'
418
+ . '</td></tr><tr>'
419
+ . '<td>Title</td><td colspan="2">'
420
+ . '<input type="text" name="team_member_skill_title" value="" disabled/>'
421
+ . '</td></tr><tr>'
422
+ . '<td>Attribute/Skill #1</td>'
423
+ . '<td><input type="text" name="team_member_skill1" placeholder="Title" value="" disabled/></td>'
424
+ . '<td><input type="text" name="team_member_skill_value1" placeholder="Skill rating( 1 to 10 )" value="" disabled/></td></tr>'
425
+ . '<td>Attribute/Skill #2</td>'
426
+ . '<td><input type="text" name="team_member_skill2" placeholder="Title" value="" disabled/></td>'
427
+ . '<td><input type="text" name="team_member_skill_value2" placeholder="Skill rating( 1 to 10 )" value="" disabled/></td></tr>'
428
+ . '<td>Attribute/Skill #3</td>'
429
+ . '<td><input type="text" name="team_member_skill3" placeholder="Title" value="" disabled/></td>'
430
+ . '<td><input type="text" name="team_member_skill_value3" placeholder="Skill rating( 1 to 10 )" value="" disabled/</td></tr>'
431
+ . '<td>Attribute/Skill #4</td>'
432
+ . '<td><input type="text" name="team_member_skill4" placeholder="Title" value="" disabled/></td>'
433
+ . '<td><input type="text" name="team_member_skill_value4" placeholder="Skill rating( 1 to 10 )" value="" disabled/></td></tr>';
434
+
435
+ echo '</table></div>'
436
+ . '<div class="clear"></div><hr>';
437
+
438
+ ?>
439
+
440
+ <div class="sc_options_table">
441
+
442
+ <h4>Interests / Tags / Additional Skills <em style="font-size: 11px; color: #CC0000"> - Pro version</em></h4>
443
+ <table class="widefat">
444
+ <tr>
445
+ <td colspan="2">
446
+ Show <input disabled type="radio" name="team_member_tags_bool" value="on" <?php checked('on', get_post_meta($post->ID, 'team_member_tags_bool', true)); ?>/> Hide <input type="radio" name="team_member_tags_bool" value="off" <?php checked('off', get_post_meta($post->ID, 'team_member_tags_bool', true)); ?>/>
447
+ </td>
448
+ </tr>
449
+ <tr>
450
+ <td>Title</td>
451
+ <td><input disabled type="text" name="team_member_tags_title" placeholder="Enter the label for the tags" value="<?php echo get_post_meta($post->ID, 'team_member_tags_title', true) ?>"/></td>
452
+ </tr>
453
+ <tr>
454
+ <td>Attributes</td>
455
+ <td><textarea disabled name="team_member_tags" placeholder="Enter attributes, comma separated" style="width: 100%"><?php echo get_post_meta($post->ID, 'team_member_tags', true) ?></textarea></td>
456
+ </tr>
457
+
458
+
459
+ </table>
460
+
461
+ </div>
462
+
463
+
464
+
465
+ <?php
466
 
467
 
468
  }
514
 
515
  }
516
 
517
+ if (isset($_REQUEST['team_member_instagram'])) {
518
+ $instagram_url = $_POST['team_member_instagram'];
519
+ update_post_meta($post_id, 'team_member_instagram', $instagram_url);
520
+ }
521
+
522
+ if (isset($_REQUEST['team_member_pinterest'])) {
523
+ $pinterest_url = $_POST['team_member_pinterest'];
524
+ update_post_meta($post_id, 'team_member_pinterest', $pinterest_url);
525
+ }
526
+
527
+ if (isset($_REQUEST['team_member_website'])) {
528
+ $website_url = $_POST['team_member_website'];
529
+ update_post_meta($post_id, 'team_member_website', $website_url);
530
+ }
531
+
532
+ if (isset($_REQUEST['team_member_tags_bool'])) {
533
+ $tags_bool = $_POST['team_member_tags_bool'];
534
+ update_post_meta($post_id, 'team_member_tags_bool', $tags_bool);
535
+ }
536
+
537
+ if (isset($_REQUEST['team_member_tags_title'])) {
538
+ $tags_title = $_POST['team_member_tags_title'];
539
+ update_post_meta($post_id, 'team_member_tags_title', $tags_title);
540
+ }
541
+
542
+ if (isset($_REQUEST['team_member_tags'])) {
543
+ $tags = $_POST['team_member_tags'];
544
+ update_post_meta($post_id, 'team_member_tags', $tags);
545
+ }
546
+
547
  if ( isset( $_REQUEST[ 'team_member_phone' ] ) ) {
548
  update_post_meta( $post_id, 'team_member_phone', $_POST[ 'team_member_phone' ] );
549
  }
592
  $value = $_POST[ 'team_member_qoute' ];
593
  update_post_meta( $post_id, 'team_member_qoute', $value );
594
  }
595
+
596
+ if (isset($_REQUEST['team_member_article_bool'])) {
597
+ $article_bool = $_POST['team_member_article_bool'];
598
+ update_post_meta($post_id, 'team_member_article_bool', $article_bool);
599
+ }
600
+
601
+ if (isset($_REQUEST['team_member_article_title'])) {
602
+ $value = $_POST['team_member_article_title'];
603
+ update_post_meta($post_id, 'team_member_article_title', $value);
604
+ }
605
+
606
+ if (isset($_REQUEST['team_member_article1'])) {
607
+ $value = $_POST['team_member_article1'];
608
+ update_post_meta($post_id, 'team_member_article1', $value);
609
+ }
610
+
611
+ if (isset($_REQUEST['team_member_article2'])) {
612
+ $value = $_POST['team_member_article2'];
613
+ update_post_meta($post_id, 'team_member_article2', $value);
614
+ }
615
+
616
+ if (isset($_REQUEST['team_member_article3'])) {
617
+ $value = $_POST['team_member_article3'];
618
+ update_post_meta($post_id, 'team_member_article3', $value);
619
+ }
620
 
621
 
622
  }
634
  update_post_meta( $post_id, 'sc_member_order', $sc_member_order );
635
  }
636
 
637
+ public function sc_custom_admin_styles() { ?>
638
+
639
+ <style>
640
+ #menu-posts-team_member ul li:last-child a{ color: #A2CB86 !important; }
641
+ </style>
642
+ <?php }
643
  public function sc_custom_styles() {
644
  ?>
645
  <style>
646
+
647
  #sc_our_team a,
648
  .sc_our_team_lightbox .name,
649
  .sc_personal_quote span.sc_team_icon-quote-left{ color: #<?php echo $this->options['text_color']; ?>; }
666
  <?php
667
  }
668
 
669
+ public function smartcat_set_single_content($content) {
670
  global $post;
671
 
672
+ if (is_single()) :
673
+ if ($post->post_type == 'team_member' &&
674
+ $this->options['single_template'] == 'standard' &&
675
+ $this->options['single_social'] == 'yes'
676
  ) :
677
+ $facebook = get_post_meta(get_the_ID(), 'team_member_facebook', true);
678
+ $twitter = get_post_meta(get_the_ID(), 'team_member_twitter', true);
679
+ $linkedin = get_post_meta(get_the_ID(), 'team_member_linkedin', true);
680
+ $gplus = get_post_meta(get_the_ID(), 'team_member_gplus', true);
681
+ $email = get_post_meta(get_the_ID(), 'team_member_email', true);
682
+ $phone = get_post_meta(get_the_ID(), 'team_member_phone', true);
683
+ $instagram = get_post_meta(get_the_ID(), 'team_member_instagram', true);
684
+ $pinterest = get_post_meta(get_the_ID(), 'team_member_pinterest', true);
685
+ $website = get_post_meta(get_the_ID(), 'team_member_website', true);
686
+
687
+
688
+ $content .= '<div class="smartcat_team_single_icons">';
689
+ $content .= $this->smartcat_get_social_content($facebook, $twitter, $linkedin, $gplus, $email, $phone, $instagram, $pinterest, $website);
690
+ $content .= '</div><hr>';
691
+
692
+ if (null !== get_post_meta(get_the_ID(), 'team_member_article_bool', true) && get_post_meta(get_the_ID(), 'team_member_article_bool', true) == 'on') :
693
+
694
+ $content .= '<div class="sc_team_posts sc_team_post">
695
+ <h3 class="skills-title">' . get_post_meta(get_the_ID(), 'team_member_article_title', true) . '</h3>';
696
+
697
+ $post1 = get_post_meta(get_the_ID(), 'team_member_article1', true) > 0 ? get_post(get_post_meta(get_the_ID(), 'team_member_article1', true)) : null;
698
+ $post2 = get_post_meta(get_the_ID(), 'team_member_article2', true) > 0 ? get_post(get_post_meta(get_the_ID(), 'team_member_article2', true)) : null;
699
+ $post3 = get_post_meta(get_the_ID(), 'team_member_article3', true) > 0 ? get_post(get_post_meta(get_the_ID(), 'team_member_article3', true)) : null;
700
+
701
+ $content .= '<div class="sc-team-member-posts">
702
+
703
+ <div>';
704
+
705
+ if( $post1 ) :
706
+ if (get_the_post_thumbnail($post1->ID, 'medium')) :
707
+ $content .= '<div class="width25 left">' . get_the_post_thumbnail($post1->ID, 'medium') . '</div>';
708
+ endif;
709
+
710
+ $content .= '<div class="width75 left">
711
+ <a href="' . get_the_permalink($post1->ID) . '">' . get_the_title($post1->ID) . '</a>
712
+ </div>
713
+ </div>
714
+ <div>';
715
+ endif;
716
+
717
+ if( $post2 ) :
718
+ if (get_the_post_thumbnail($post2->ID, 'medium')) :
719
+ $content .= '<div class="width25 left">' . get_the_post_thumbnail($post2->ID, 'medium') . '</div>';
720
+ endif;
721
+
722
+ $content .= '<div class="width75 left">
723
+ <a href="' . get_the_permalink($post2->ID) . '">' . get_the_title($post2->ID) . '</a>
724
+ </div>
725
+ </div>
726
+ <div>';
727
+ endif;
728
+
729
+ if( $post3 ) :
730
+ if (get_the_post_thumbnail($post3->ID, 'medium')) :
731
+ $content .= '<div class="width25 left">' . get_the_post_thumbnail($post3->ID, 'medium') . '</div>';
732
+ endif;
733
+
734
+ $content .= '<div class="width75 left">
735
+ <a href="' . get_the_permalink($post3->ID) . '">' . get_the_title($post3->ID) . '</a>
736
+ </div>
737
+ </div>
738
+ </div>';
739
+ endif;
740
+
741
+ echo '</div>';
742
+ endif;
743
+
744
  endif;
745
  else :
746
+
747
  endif;
748
+
749
  return $content;
750
  }
751
 
760
 
761
  }
762
 
763
+ public function set_social($id) {
764
+
765
+ $facebook = get_post_meta($id, 'team_member_facebook', true);
766
+ $twitter = get_post_meta($id, 'team_member_twitter', true);
767
+ $linkedin = get_post_meta($id, 'team_member_linkedin', true);
768
+ $gplus = get_post_meta($id, 'team_member_gplus', true);
769
+ $email = get_post_meta($id, 'team_member_email', true);
770
+ $phone = get_post_meta($id, 'team_member_phone', true);
771
+ $pinterest = get_post_meta($id, 'team_member_pinterest', true);
772
+ $instagram = get_post_meta($id, 'team_member_instagram', true);
773
+ $website = get_post_meta($id, 'team_member_website', true);
774
+
775
+
776
+ $this->get_social($facebook, $twitter, $linkedin, $gplus, $email, $phone, $pinterest, $instagram, $website);
777
 
 
 
 
 
 
 
 
 
 
 
778
  }
779
 
780
+ public function get_social($facebook, $twitter, $linkedin, $gplus, $email, $phone, $pinterest, $instagram, $website) {
781
+
782
+ if ($facebook != '')
783
  echo '<a ' . $this->add_target() . ' href="' . $facebook . '"><img src="' . SC_TEAM_URL . 'inc/img/fb.png" class="sc-social"/></a>';
784
+ if ($twitter != '')
785
  echo '<a ' . $this->add_target() . ' href="' . $twitter . '"><img src="' . SC_TEAM_URL . 'inc/img/twitter.png" class="sc-social"/></a>';
786
+ if ($gplus != '')
 
 
787
  echo '<a ' . $this->add_target() . ' href="' . $gplus . '"><img src="' . SC_TEAM_URL . 'inc/img/google.png" class="sc-social"/></a>';
788
+ if ($linkedin != '')
789
+ echo '<a ' . $this->add_target() . ' href="' . $linkedin . '"><img src="' . SC_TEAM_URL . 'inc/img/linkedin.png" class="sc-social"/></a>';
790
+
791
+ if ($pinterest != '')
792
+ echo '<a ' . $this->add_target() . ' href="' . $pinterest . '"><img src="' . SC_TEAM_URL . 'inc/img/pinterest.png" class="sc-social"/></a>';
793
+ if ($instagram != '')
794
+ echo '<a ' . $this->add_target() . ' href="' . $instagram . '"><img src="' . SC_TEAM_URL . 'inc/img/instagram.png" class="sc-social"/></a>';
795
+ if ($website != '')
796
+ echo '<a ' . $this->add_target() . ' href="' . $website . '"><img src="' . SC_TEAM_URL . 'inc/img/website.png" class="sc-social"/></a>';
797
+ if ($email != '')
798
  echo '<a href=mailto:' . $email . '><img src="' . SC_TEAM_URL . 'inc/img/email.png" class="sc-social"/></a>';
799
+ if ($phone != '')
800
  echo '<a href=tel:' . $phone . '><img src="' . SC_TEAM_URL . 'inc/img/phone.png" class="sc-social"/></a>';
 
801
  }
802
 
803
 
804
+ public function smartcat_get_social_content($facebook, $twitter, $linkedin, $gplus, $email, $phone, $pinterest, $instagram, $website) {
805
+
806
  $content = null;
807
+
808
+ if ('yes' == $this->options['social']) {
809
+ if ($facebook != '')
810
  $content .= '<a ' . $this->add_target() . ' href="' . $facebook . '"><img src="' . SC_TEAM_URL . 'inc/img/fb.png" class="sc-social"/></a>';
811
+
812
+ if ($twitter != '')
813
  $content .= '<a ' . $this->add_target() . ' href="' . $twitter . '"><img src="' . SC_TEAM_URL . 'inc/img/twitter.png" class="sc-social"/></a>';
814
+
815
+ if ($gplus != '')
 
816
  $content .= '<a ' . $this->add_target() . ' href="' . $gplus . '"><img src="' . SC_TEAM_URL . 'inc/img/google.png" class="sc-social"/></a>';
817
+
818
+ if ($linkedin != '')
819
+ $content .= '<a ' . $this->add_target() . ' href="' . $linkedin . '"><img src="' . SC_TEAM_URL . 'inc/img/linkedin.png" class="sc-social"/></a>';
820
+
821
+ if ($pinterest != '')
822
+ $content .= '<a ' . $this->add_target() . ' href="' . $pinterest . '"><img src="' . SC_TEAM_URL . 'inc/img/pinterest.png" class="sc-social"/></a>';
823
+
824
+ if ($instagram != '')
825
+ $content .= '<a ' . $this->add_target() . ' href="' . $instagram . '"><img src="' . SC_TEAM_URL . 'inc/img/instagram.png" class="sc-social"/></a>';
826
+
827
+ if ($email != '')
828
  $content .= '<a href=mailto:' . $email . '><img src="' . SC_TEAM_URL . 'inc/img/email.png" class="sc-social"/></a>';
829
+
830
+ if ($phone != '')
831
+ $content .= '<a href=tel:' . $phone . '><img src="' . SC_TEAM_URL . 'inc/img/phone.png" class="sc-social"/></a>';
832
+
833
+ if ($website != '')
834
+ $content .= '<a href=' . $website . '><img src="' . SC_TEAM_URL . 'inc/img/website.png" class="sc-social"/></a>';
835
+ }
836
  return $content;
 
837
  }
838
 
839
  public function get_single_social( $social ) {
883
 
884
  public function check_clicker( $single_template ){
885
 
886
+ if ($single_template == 'disable') :
887
+ return 'sc_team_single_disabled';
888
+
889
+ endif;
890
+
891
+ if ($this->options['single_template'] == 'disable') :
892
+ return 'sc_team_single_disabled';
893
+ endif;
894
 
895
  }
896
 
inc/img/custom_demo.jpg CHANGED
Binary file
inc/img/directory.jpg ADDED
Binary file
inc/img/instagram.png ADDED
Binary file
inc/img/member_portal_logo.jpg ADDED
Binary file
inc/img/pinterest.png ADDED
Binary file
inc/img/team_showcase_pro_logo.jpg ADDED
Binary file
inc/img/website.png CHANGED
Binary file
inc/script/sc_our_team.js CHANGED
@@ -30,114 +30,11 @@ jQuery( document ).ready(function($){
30
  });
31
  }
32
 
33
-
34
-
35
- // $('#sc_our_team_lightbox .sc_team_icon-close').click( function( event ) {
36
- //
37
- // if( $('#sc_our_team_lightbox').hasClass('show') ){
38
- //
39
- // $('.sc_our_team_lightbox').slideUp(300, function(){
40
- //
41
- // $('#sc_our_team_lightbox').fadeOut(300);
42
- //
43
- // });
44
- // $('#sc_our_team_lightbox').removeClass('show');
45
- //
46
- // }
47
- //
48
- // });
49
-
50
- // $('.sc_our_team_panel .sc-right-panel .sc_team_icon-close').click( function () {
51
- //
52
- // if( $('#sc_our_team_panel').hasClass('show') ){
53
- //
54
- // $('.sc_our_team_panel').removeClass('slidein');
55
- //
56
- // $('#sc_our_team_panel').delay(450).fadeOut(300);
57
- //
58
- // $('#sc_our_team_panel').removeClass('show');
59
- // }
60
- // });
61
 
62
-
63
-
64
- // $('.sc_team_single_popup').click( function(e){
65
- //
66
- // var item = null;
67
- //
68
- // if( $(this).hasClass('sc_team_member') ){
69
- // item = $(this);
70
- // }else{
71
- // item = $(this).parents('.sc_team_member');
72
- // }
73
- //
74
- // build_popup( item );
75
- // e.stopPropagation();
76
- // e.preventDefault();
77
- //
78
- // });
79
-
80
- // function build_popup( item ){
81
- //
82
- // $('.sc_our_team_lightbox .name').html($('.sc_team_member_name a', item).html());
83
- // $('.sc_our_team_lightbox .skills').html($('.sc_team_skills', item).html());
84
- // $('.sc_our_team_lightbox .sc-content').html($('.sc_team_content', item).html());
85
- // $('.sc_our_team_lightbox .sc_personal_quote').html($('.sc_personal_quote', item).html());
86
- // $('.sc_our_team_lightbox .social').html($('.icons', item).html());
87
- // $('.sc_our_team_lightbox .title').html($('.sc_team_member_jobtitle', item).html());
88
- // $('.sc_our_team_lightbox .image').attr('src', $('.wp-post-image', item).attr('src'));
89
- //
90
- //
91
- // $('#sc_our_team_lightbox').fadeIn(350, function () {
92
- //
93
- // $('.sc_our_team_lightbox')
94
- // .css('opacity', 0)
95
- // .slideDown('slow')
96
- // .animate({ opacity : 1 }, { queue : false, duration: 'slow' });
97
- //
98
- //
99
- // $('#sc_our_team_lightbox').addClass('show');
100
- //
101
- // });
102
- //
103
- // }
104
-
105
-
106
- // $('.sc_team_single_panel').click( function(e){
107
- //
108
- // var item = null;
109
- //
110
- // if( $(this).hasClass('sc_team_member') ){
111
- // item = $(this);
112
- // }else{
113
- // item = $(this).parents('.sc_team_member');
114
- // }
115
- //
116
- // build_panel( item );
117
- // e.stopPropagation();
118
- // e.preventDefault();
119
- //
120
- // });
121
- // function build_panel( item ){
122
- //
123
- // $('.sc_our_team_panel .sc-name').html($('.sc_team_member_name a', item).html());
124
- // $('.sc_our_team_panel .sc-skills').html($('.sc_team_skills', item).html());
125
- // $('.sc_our_team_panel .sc_personal_quote').html($('.sc_personal_quote', item).html());
126
- // $('.sc_our_team_panel .sc-content').html($('.sc_team_content', item).html());
127
- // $('.sc_our_team_panel .sc-social').html($('.icons', item).html());
128
- // $('.sc_our_team_panel .sc-title').html($('.sc_team_member_jobtitle', item).html());
129
- // $('.sc_our_team_panel .sc-image').attr('src', $('.wp-post-image', item).attr('src'));
130
- //
131
- //
132
- // $('#sc_our_team_panel').fadeIn(350, function () {
133
- //
134
- //
135
- // $('.sc_our_team_panel').addClass('slidein');
136
- // $('#sc_our_team_panel').addClass('show');
137
- //
138
- // });
139
- //
140
- // }
141
 
142
 
143
  $('#sc_our_team .sc_team_member').hover(function(){
30
  });
31
  }
32
 
33
+ $('.sc_team_single_disabled').click( function (e) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
+ e.preventDefault();
36
+
37
+ });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
 
40
  $('#sc_our_team .sc_team_member').hover(function(){
inc/style/sc_our_team.css CHANGED
@@ -7,20 +7,43 @@
7
  */
8
 
9
  .left{ float: left; box-sizing: border-box; }
10
-
11
- #sc_our_team img{
12
- display: inline-block;
13
- }
14
-
15
- #sc_our_team .sc_team_member .icons a, #sc_our_team a{
16
- border: none;
17
- }
18
  .sc-single-wrapper{
19
  padding: 15px 0;
20
  max-width: 1170px;
21
  margin: 0 auto;
22
  }
23
  .sc_team_member .sc_team_member_name a{ text-decoration: none;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
  #sc_our_team_panel{
26
  position: fixed;
@@ -49,6 +72,11 @@
49
 
50
  }
51
 
 
 
 
 
 
52
  .sc_our_team_panel.slidein{
53
  right: 0;
54
  display: block;
@@ -96,6 +124,28 @@
96
  cursor: pointer;
97
  }
98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  #sc_our_team_lightbox .sc_team_icon-close{
100
  color: #969696;
101
  }
@@ -169,12 +219,23 @@
169
  margin-top: 10px;
170
  }
171
 
172
- .sc_our_team_panel .sc-right-panel .sc-skills{
 
173
 
174
  padding: 5px 20px;
175
  color: #fff;
176
  }
177
 
 
 
 
 
 
 
 
 
 
 
178
  .sc_our_team_panel .sc-right-panel .progress span{
179
  color: #fff;
180
  float: right;
@@ -249,6 +310,8 @@
249
  #sc_our_team_lightbox .sc_our_team_lightbox .social{
250
  /*text-align: center;*/
251
  margin-top: 12px;
 
 
252
  }
253
  #sc_our_team_lightbox .sc_our_team_lightbox{
254
  box-shadow: 0 0 4px #fff;
@@ -259,7 +322,7 @@
259
  background: #fff;
260
  width: 90%;
261
  margin: 0 auto;
262
-
263
 
264
  }
265
 
@@ -350,6 +413,24 @@
350
  .sc_team_single_member .sc_single_side .social span.sc_team_icon-phone:hover{
351
  background: #00bf8f;
352
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
353
 
354
  .sc_our_team_panel .sc-left-panel .sc-social a{
355
  text-decoration: none;
@@ -383,11 +464,27 @@
383
 
384
  }
385
  .grid#sc_our_team .sc_team_member .sc_team_skills,
 
386
  .grid_circles#sc_our_team .sc_team_member .sc_team_skills,
387
  .grid_circles2#sc_our_team .sc_team_member .sc_team_skills,
388
  .honeycombs#sc_our_team .sc_team_member .sc_team_skills{
389
  display: none;
390
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  .grid#sc_our_team .sc_team_member:hover .sc_team_member_name,
392
  .grid#sc_our_team .sc_team_member:hover .sc_team_member_jobtitle,
393
  .grid_circles#sc_our_team .sc_team_member:hover .sc_team_member_name,
@@ -442,7 +539,15 @@
442
  z-index: 9;
443
 
444
  }
445
-
 
 
 
 
 
 
 
 
446
  .honeycombs#sc_our_team .sc_team_member .icons{
447
  position: absolute;
448
  bottom: 20px;
@@ -455,11 +560,15 @@
455
  display: none;
456
  }
457
  .grid#sc_our_team .sc_team_member .sc_team_content,
 
458
  .grid_circles#sc_our_team .sc_team_member .sc_team_content,
459
- .grid_circles2#sc_our_team .sc_team_member .sc_team_content{
 
460
  display: none;
461
  }
462
-
 
 
463
  .grid#sc_our_team .sc_team_member:hover .icons{
464
 
465
  bottom: 20px;
@@ -572,9 +681,8 @@
572
  padding-top: 5px;
573
  }
574
 
575
- #sc_our_team.grid_circles .sc_team_member,
576
- #sc_our_team.grid_circles2 .sc_team_member{
577
- margin-bottom: 20px !important;
578
  }
579
 
580
  #sc_our_team .sc_team_member_inner{
@@ -779,8 +887,121 @@
779
  .grid_circles2#sc_our_team .icons img{
780
  width: 25px;
781
  }
 
 
 
 
 
 
 
 
 
 
 
782
 
 
 
 
783
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
784
  /**
785
  * widget css
786
  */
@@ -808,6 +1029,85 @@
808
  font-weight: bold;
809
  }
810
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
811
  .width25,
812
  .width50,
813
  .width75{
@@ -819,20 +1119,17 @@
819
  /**
820
  * single post
821
  */
822
- .smartcat_team_single_icons img {
823
- width: 25px;
824
- margin-right: 10px;
825
- box-shadow: none;
826
- -moz-box-shadow: none;
827
- -webkit-box-shadow: none;
828
- display: inline-block !important;
829
- margin-right: 5px;
830
- }
831
 
832
- .smartcat_team_single_icons a{
833
- display: inline-block !important;
834
- border-bottom: none !important;
 
 
 
 
 
835
  }
 
836
  .sc_team_single_member .wp-post-image{
837
  width: 100%;
838
  }
@@ -852,11 +1149,11 @@
852
  .sc_personal_quote span.sc_team_icon-quote-left{
853
  width: 5%;
854
  line-height: 40px;
855
- font-size: 40px;
856
  padding: 0 20px 0 0;
857
  }
858
  .sc_personal_quote span.sc_personal_quote_content{
859
- width: 90%;
860
  font-size: 24px;
861
  line-height: 28px;
862
  font-style: italic;
@@ -871,10 +1168,482 @@
871
  font-weight: 700;
872
  }
873
 
 
 
 
 
 
 
 
 
 
 
874
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
875
 
876
  @media (min-width: 768px){
877
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
878
 
879
  .sc_team_single_member .sc_single_side .title{
880
  font-size: 17px;
@@ -1057,8 +1826,6 @@
1057
  margin-bottom: 0;
1058
  }
1059
 
1060
-
1061
-
1062
  .stacked#sc_our_team .sc_team_member .sc_team_member_name a{
1063
  text-decoration: none;
1064
  font-size: 18px;
@@ -1077,6 +1844,7 @@
1077
  }
1078
  .sc_our_team_panel .sc-right-panel{
1079
  width: auto;
 
1080
  }
1081
 
1082
  }
7
  */
8
 
9
  .left{ float: left; box-sizing: border-box; }
 
 
 
 
 
 
 
 
10
  .sc-single-wrapper{
11
  padding: 15px 0;
12
  max-width: 1170px;
13
  margin: 0 auto;
14
  }
15
  .sc_team_member .sc_team_member_name a{ text-decoration: none;}
16
+ .sc_team_single_disabled{
17
+ cursor: default;
18
+ }
19
+
20
+ #sc_our_team_lightbox .sc_our_team_lightbox .sc-content{
21
+
22
+ }
23
+
24
+ .sc_team_posts.sc_team_post .sc-team-member-posts{
25
+ overflow: hidden;
26
+ }
27
+
28
+ .sc_team_posts.sc_team_post .sc-team-member-posts > div{
29
+ overflow: hidden;
30
+ }
31
+
32
+ .sc-team-member-posts.stacked .width25{
33
+ padding-left: 0;
34
+ }
35
+
36
+ .sc-team-member-posts > div{
37
+ margin: 0 0 15px 0;
38
+ }
39
+
40
+ .sc-team-member-posts.stacked .wp-post-image{
41
+
42
+ }
43
+
44
+ .sc-team-member-posts a{
45
+ font-size: 18px;
46
+ }
47
 
48
  #sc_our_team_panel{
49
  position: fixed;
72
 
73
  }
74
 
75
+ #sc_our_team_panel .sc_our_team_panel a,
76
+ .sc_our_team_panel .sc-left-panel .sc-social a{
77
+ text-decoration: none !important;
78
+ }
79
+
80
  .sc_our_team_panel.slidein{
81
  right: 0;
82
  display: block;
124
  cursor: pointer;
125
  }
126
 
127
+ .sc_our_team_panel .sc-team-member-posts{
128
+ padding-left: 20px;
129
+ overflow: hidden;
130
+ }
131
+
132
+ .sc_our_team_panel .sc-right-panel .sc-skills .skills-title,
133
+ .sc_our_team_panel .sc-right-panel .sc-tags .skills-title{
134
+ margin-left: -20px;
135
+ }
136
+
137
+ #sc_our_team_lightbox .skills-title,
138
+ #sc_our_team_lightbox .sc-tags{
139
+ margin: 20px 0 !important;
140
+ }
141
+
142
+ #sc_our_team_lightbox .sc-tags .skills-title,
143
+ #sc_our_team_lightbox .sc-posts{
144
+ border-top: 1px solid #e9e9e9;
145
+ overflow: hidden;
146
+ padding-top: 10px;
147
+ }
148
+
149
  #sc_our_team_lightbox .sc_team_icon-close{
150
  color: #969696;
151
  }
219
  margin-top: 10px;
220
  }
221
 
222
+ .sc_our_team_panel .sc-right-panel .sc-skills,
223
+ .sc_our_team_panel .sc-right-panel .sc-tags{
224
 
225
  padding: 5px 20px;
226
  color: #fff;
227
  }
228
 
229
+ .sc-tags .sc-single-tag{
230
+ display: inline-block;
231
+ background: rgb(144, 144, 144);
232
+ color: #fff;
233
+ padding: 3px 5px;
234
+ border-radius: 5px;
235
+ margin-right: 5px;
236
+ margin-bottom: 5px;
237
+ }
238
+
239
  .sc_our_team_panel .sc-right-panel .progress span{
240
  color: #fff;
241
  float: right;
310
  #sc_our_team_lightbox .sc_our_team_lightbox .social{
311
  /*text-align: center;*/
312
  margin-top: 12px;
313
+ border-bottom: 1px solid rgb(233, 233, 233);
314
+ padding-bottom: 10px;
315
  }
316
  #sc_our_team_lightbox .sc_our_team_lightbox{
317
  box-shadow: 0 0 4px #fff;
322
  background: #fff;
323
  width: 90%;
324
  margin: 0 auto;
325
+ position: relative;
326
 
327
  }
328
 
413
  .sc_team_single_member .sc_single_side .social span.sc_team_icon-phone:hover{
414
  background: #00bf8f;
415
  }
416
+ #sc_our_team .sc_team_member .icons span.sc_team_icon-instagram:hover,
417
+ .sc_our_team_panel .sc-left-panel .sc-social span.sc_team_icon-instagram:hover,
418
+ #sc_our_team_lightbox .sc_our_team_lightbox .social span.sc_team_icon-instagram:hover,
419
+ .sc_team_single_member .sc_single_side .social span.sc_team_icon-instagram:hover{
420
+ background: #125688;
421
+ }
422
+ #sc_our_team .sc_team_member .icons span.sc_team_icon-share-alt:hover,
423
+ .sc_our_team_panel .sc-left-panel .sc-social span.sc_team_icon-share-alt:hover,
424
+ #sc_our_team_lightbox .sc_our_team_lightbox .social span.sc_team_icon-share-alt:hover,
425
+ .sc_team_single_member .sc_single_side .social span.sc_team_icon-share-alt:hover{
426
+ background: #DAA819;
427
+ }
428
+ #sc_our_team .sc_team_member .icons span.sc_team_icon-pinterest-p:hover,
429
+ .sc_our_team_panel .sc-left-panel .sc-social span.sc_team_icon-pinterest-p:hover,
430
+ #sc_our_team_lightbox .sc_our_team_lightbox .social span.sc_team_icon-pinterest-p:hover,
431
+ .sc_team_single_member .sc_single_side .social span.sc_team_icon-pinterest-p:hover{
432
+ background: #cb2027;
433
+ }
434
 
435
  .sc_our_team_panel .sc-left-panel .sc-social a{
436
  text-decoration: none;
464
 
465
  }
466
  .grid#sc_our_team .sc_team_member .sc_team_skills,
467
+ .carousel#sc_our_team .sc_team_member .sc_team_skills,
468
  .grid_circles#sc_our_team .sc_team_member .sc_team_skills,
469
  .grid_circles2#sc_our_team .sc_team_member .sc_team_skills,
470
  .honeycombs#sc_our_team .sc_team_member .sc_team_skills{
471
  display: none;
472
  }
473
+ .grid#sc_our_team .sc_team_member .sc_team_posts,
474
+ .carousel#sc_our_team .sc_team_member .sc_team_posts,
475
+ .grid_circles#sc_our_team .sc_team_member .sc_team_posts,
476
+ .grid_circles2#sc_our_team .sc_team_member .sc_team_posts,
477
+ .honeycombs#sc_our_team .sc_team_member .sc_team_posts{
478
+ display: none;
479
+ }
480
+ .grid#sc_our_team .sc_team_member .sc_team_tags,
481
+ .carousel#sc_our_team .sc_team_member .sc_team_tags,
482
+ .grid_circles#sc_our_team .sc_team_member .sc_team_tags,
483
+ .grid_circles2#sc_our_team .sc_team_member .sc_team_tags,
484
+ .honeycombs#sc_our_team .sc_team_member .sc_team_tags{
485
+ display: none;
486
+ }
487
+
488
  .grid#sc_our_team .sc_team_member:hover .sc_team_member_name,
489
  .grid#sc_our_team .sc_team_member:hover .sc_team_member_jobtitle,
490
  .grid_circles#sc_our_team .sc_team_member:hover .sc_team_member_name,
539
  z-index: 9;
540
 
541
  }
542
+ .carousel#sc_our_team .sc_team_member .icons{
543
+ text-align: center;
544
+ margin: 15px 0 0 0;
545
+ }
546
+ .carousel#sc_our_team .sc_team_member .icons a{
547
+ display: inline-block;
548
+ width: 25px;
549
+ margin-right: 5px;
550
+ }
551
  .honeycombs#sc_our_team .sc_team_member .icons{
552
  position: absolute;
553
  bottom: 20px;
560
  display: none;
561
  }
562
  .grid#sc_our_team .sc_team_member .sc_team_content,
563
+ .carousel#sc_our_team .sc_team_member .sc_team_content,
564
  .grid_circles#sc_our_team .sc_team_member .sc_team_content,
565
+ .grid_circles2#sc_our_team .sc_team_member .sc_team_content,
566
+ .honeycombs#sc_our_team .sc_team_member .sc_team_content{
567
  display: none;
568
  }
569
+ .honeycomb-lightbox #sc_our_team_lightbox .sc_our_team_lightbox .social a img{
570
+ display: inline-block !important;
571
+ }
572
  .grid#sc_our_team .sc_team_member:hover .icons{
573
 
574
  bottom: 20px;
681
  padding-top: 5px;
682
  }
683
 
684
+ #sc_our_team.grid_circles .sc_team_member{
685
+ margin-bottom: 10px !important;
 
686
  }
687
 
688
  #sc_our_team .sc_team_member_inner{
887
  .grid_circles2#sc_our_team .icons img{
888
  width: 25px;
889
  }
890
+ /**
891
+ * Stacked css
892
+ **/
893
+ .stacked#sc_our_team .sc_team_member{
894
+ width: 100%;
895
+ overflow: hidden;
896
+ border-bottom: 2px solid #333;
897
+ padding-top: 15px;
898
+ margin-bottom: 15px;
899
+ clear: both;
900
+ }
901
 
902
+ .stacked#sc_our_team .sc_team_member .sc_team_content{
903
+ display: none;
904
+ }
905
 
906
+ .stacked#sc_our_team .sc_team_member .sc_team_member_left{
907
+ float: left;
908
+ width: 25%;
909
+ text-align: center;
910
+ }
911
+ .stacked#sc_our_team .sc_team_member .sc_team_member_right{
912
+ float: right;
913
+ width: 70%;
914
+ }
915
+ .stacked#sc_our_team .sc_team_member .wp-post-image{
916
+ width: 100%;
917
+ }
918
+ .stacked#sc_our_team .sc_team_member .sc_team_member_name{
919
+
920
+ margin: 10px 0;
921
+ padding-bottom: 10px;
922
+ border-bottom: 1px dashed #404040;
923
+ }
924
+ .stacked#sc_our_team .sc_team_member .sc_team_member_jobtitle{
925
+ line-height: 20px;
926
+ margin: 10px 0;
927
+ }
928
+ .stacked#sc_our_team .sc_team_member .sc_team_member_name a{
929
+ text-decoration: none;
930
+ font-size: 26px;
931
+ }
932
+
933
+ .stacked#sc_our_team .sc_team_member .sc_team_skills,
934
+ .stacked#sc_our_team .sc_team_member .sc_team_tags,
935
+ .stacked#sc_our_team .sc_team_member .sc_team_posts{
936
+ display: none;
937
+ }
938
+ .stacked#sc_our_team .sc_team_member .icons{
939
+ margin-top: 15px;
940
+ }
941
+ .stacked#sc_our_team .icons img{
942
+ width: 30px;
943
+ box-shadow: none;
944
+ -moz-box-shadow: none;
945
+ -webkit-box-shadow: none;
946
+ margin-right: 10px;
947
+ transition: 0.3s all ease-in-out;
948
+ -moz-transition: 0.3s all ease-in-out;
949
+ -webkit-transition: 0.3s all ease-in-out;
950
+ }
951
+ .stacked#sc_our_team .icons img:hover{
952
+ /* transform: rotate(360deg);
953
+ -moz-transform: rotate(360deg);
954
+ -webkit-transform: rotate(360deg);*/
955
+ }
956
+ /**
957
+ * Carousel
958
+ **/
959
+ .carousel#sc_our_team .sc_team_member{
960
+ padding: 10px;
961
+ position: relative;
962
+ }
963
+
964
+ .carousel#sc_our_team .sc_team_member .sc_team_icon-quote-left{
965
+ font-size: 18px;
966
+ line-height: 18px;
967
+ }
968
+
969
+ .carousel#sc_our_team .sc_team_member .sc_personal_quote_content{
970
+ font-size: 14px;
971
+ line-height: 16px;
972
+ width: 80%;
973
+ }
974
+
975
+ .carousel#sc_our_team .sc_team_member .sc_personal_quote{
976
+ margin-top: 10px;
977
+ /*line-height: 16px;*/
978
+ font-size: 16px;
979
+ }
980
+
981
+
982
+ .carousel#sc_our_team .sc_team_member .wp-post-image{
983
+ float: none;
984
+ width: 100%;
985
+ }
986
+ .carousel#sc_our_team .sc_team_member .sc_team_member_name,
987
+ .carousel#sc_our_team .sc_team_member .sc_team_member_jobtitle {
988
+ text-align: left;
989
+ padding: 15px 0 0 0;
990
+ font-weight: 600;
991
+ font-size: 16px;
992
+ }
993
+ .carousel#sc_our_team .sc_team_member .sc_team_member_jobtitle{
994
+ padding: 5px 0 15px 0;
995
+ font-weight: 400;
996
+ border-top: 1px solid #CACACA;
997
+ display: inline-block;
998
+ margin: 0 auto;
999
+ text-align: left;
1000
+ }
1001
+
1002
+ .carousel#sc_our_team .sc_team_member .sc_team_member_name{
1003
+ padding-bottom: 6px;
1004
+ }
1005
  /**
1006
  * widget css
1007
  */
1029
  font-weight: bold;
1030
  }
1031
 
1032
+ /**
1033
+ * honeycomb
1034
+ **/
1035
+ .honeycombs{
1036
+ position: relative;
1037
+ overflow: hidden;
1038
+ width: 100%;
1039
+ text-align: center;
1040
+ }
1041
+
1042
+ .honeycombs .inner_span{
1043
+ display: block;
1044
+ height: 100%;
1045
+ width: 100%;
1046
+ font-family: sans-serif;
1047
+ color: #000;
1048
+ opacity: 0.8;
1049
+ }
1050
+ .honeycombs .inner-text{
1051
+ padding-top: 35%;
1052
+ font-size: 18px;
1053
+ }
1054
+ .honeycombs .inner-text a{
1055
+ text-decoration: none;
1056
+ }
1057
+ .honeycombs .honeycombs-inner-wrapper{
1058
+ display: inline-block;
1059
+ overflow: hidden;
1060
+ width: 700px;
1061
+ position: relative;
1062
+ height: 1200px;
1063
+ }
1064
+
1065
+ .honeycombs .comb{
1066
+ position: absolute;
1067
+ display: inline-block;
1068
+ }
1069
+
1070
+ .honeycombs .hex_l,
1071
+ .honeycombs .hex_r{
1072
+ overflow: hidden;
1073
+ position: absolute;
1074
+ /* -webkit-backface-visibility: hidden; */
1075
+ }
1076
+
1077
+ .honeycombs .hex_l{
1078
+ visibility: hidden;
1079
+ -moz-transform: rotate(60deg);
1080
+ -ms-transform: rotate(60deg);
1081
+ -o-transform: rotate(60deg);
1082
+ -webkit-transform: rotate(60deg);
1083
+ transform: rotate(60deg);
1084
+ }
1085
+
1086
+ .honeycombs .hex_r{
1087
+ visibility: hidden;
1088
+ -moz-transform: rotate(-120deg);
1089
+ -ms-transform: rotate(-120deg);
1090
+ -o-transform: rotate(-120deg);
1091
+ -webkit-transform: rotate(-120deg);
1092
+ transform: rotate(-120deg);
1093
+ }
1094
+
1095
+ .honeycombs .hex_inner{
1096
+ display: block;
1097
+ visibility: visible;
1098
+ -moz-transform: rotate(60deg);
1099
+ -ms-transform: rotate(60deg);
1100
+ -o-transform: rotate(60deg);
1101
+ -webkit-transform: rotate(60deg);
1102
+ transform: rotate(60deg);
1103
+ background-position: center;
1104
+ -webkit-background-size: cover;
1105
+ -moz-background-size: cover;
1106
+ -o-background-size: cover;
1107
+ background-size: cover;
1108
+ cursor: pointer;
1109
+ }
1110
+
1111
  .width25,
1112
  .width50,
1113
  .width75{
1119
  /**
1120
  * single post
1121
  */
 
 
 
 
 
 
 
 
 
1122
 
1123
+
1124
+ .smartcat_team_single_icons img.sc-social,
1125
+ .smartcat_team_single_icons img{
1126
+ width: 25px !important;
1127
+ margin-right: 10px !important;
1128
+ box-shadow: none !important;
1129
+ -moz-box-shadow: none !important;
1130
+ -webkit-box-shadow: none !important;
1131
  }
1132
+
1133
  .sc_team_single_member .wp-post-image{
1134
  width: 100%;
1135
  }
1149
  .sc_personal_quote span.sc_team_icon-quote-left{
1150
  width: 5%;
1151
  line-height: 40px;
1152
+ font-size: 30px;
1153
  padding: 0 20px 0 0;
1154
  }
1155
  .sc_personal_quote span.sc_personal_quote_content{
1156
+ width: 80%;
1157
  font-size: 24px;
1158
  line-height: 28px;
1159
  font-style: italic;
1168
  font-weight: 700;
1169
  }
1170
 
1171
+ #sc_our_team.directory .wp-post-image,
1172
+ #sc_our_team.directory .sc_personal_quote,
1173
+ #sc_our_team.directory .sc_team_content,
1174
+ #sc_our_team.directory .icons,
1175
+ #sc_our_team.directory .sc_team_skills,
1176
+ #sc_our_team.directory .sc_team_posts,
1177
+ #sc_our_team.directory .sc_team_tags,
1178
+ #sc_our_team.directory .sc_team_more{
1179
+ display: none;
1180
+ }
1181
 
1182
+ div.dataTables_wrapper table.dataTable.sc-team-table {
1183
+ border-collapse: collapse;
1184
+ }
1185
+
1186
+ div.dataTables_wrapper table.sc-team-table thead tr th {
1187
+ font-weight: 400;
1188
+ }
1189
+
1190
+ div.dataTables_wrapper table.dataTable.sc-team-table tbody td {
1191
+ font-weight: 400;
1192
+ }
1193
+
1194
+ div.dataTables_wrapper table.dataTable.sc-team-table tfoot,
1195
+ div.dataTables_wrapper .sc-team-table div.dataTables_length {
1196
+ /*display: none;*/
1197
+ }
1198
+
1199
+ div.dataTables_wrapper table.dataTable.sc-team-table tbody tr.odd td.sorting_1,
1200
+ div.dataTables_wrapper table.dataTable.sc-team-table tbody tr.even td.sorting_1 {
1201
+ font-weight: 300;
1202
+ }
1203
+
1204
+ div.dataTables_wrapper .sc-team-table div.dataTables_info,
1205
+ div.dataTables_wrapper .sc-team-table div.dataTables_paginate,
1206
+ div.dataTables_wrapper .sc-team-table div.dataTables_filter label {
1207
+ text-transform: uppercase;
1208
+ font-size: 12px;
1209
+ padding-left: 11px;
1210
+ margin-top: 5px;
1211
+ font-weight: 400;
1212
+ }
1213
+
1214
+ div.dataTables_wrapper div.dataTables_paginate.paging_simple_numbers a.paginate_button.current {
1215
+ border: none;
1216
+ }
1217
+
1218
+ div.dataTables_wrapper div.checkbox {
1219
+ margin: 0px !important;
1220
+ }
1221
+
1222
+ div.dataTables_wrapper table thead tr {
1223
+ color: #FFF;
1224
+ }
1225
+
1226
+ div.dataTables_wrapper table thead tr th {
1227
+ border: thin solid #fff;
1228
+ }
1229
+
1230
+ div.dataTables_wrapper table.dataTable tbody tr:hover {
1231
+ /*background-color: #DBF0F0;*/
1232
+ }
1233
+
1234
+ div.dataTables_wrapper table.dataTable tbody td {
1235
+ /*color: #063746;*/
1236
+ /*border: thin solid #f9f9f9;*/
1237
+ }
1238
+
1239
+ div.dataTables_wrapper table.dataTable tbody tr.odd td.sorting_1,
1240
+ div.dataTables_wrapper table.dataTable tbody tr.even td.sorting_1 {
1241
+ /*color: #1abc9c;*/
1242
+ /*background-color: #DBF0F0;*/
1243
+ }
1244
+
1245
+ div.dataTables_wrapper div.dataTables_info,
1246
+ div.dataTables_wrapper div.dataTables_paginate,
1247
+ div.dataTables_wrapper div.dataTables_filter label {
1248
+ /*color: #063746;*/
1249
+ }
1250
+
1251
+ div.dataTables_wrapper div.dataTables_paginate.paging_simple_numbers a.paginate_button {
1252
+ /*color: #1abc9c !important;*/
1253
+ }
1254
+
1255
+ div.dataTables_wrapper div.dataTables_paginate.paging_simple_numbers a.paginate_button.current {
1256
+ /*background: #1abc9c;*/
1257
+ color: #FFF !important;
1258
+ }
1259
+
1260
+ div.dataTables_wrapper div.dataTables_paginate.paging_simple_numbers a.paginate_button.disabled {
1261
+ /*color: #063746 !important;*/
1262
+ }
1263
+
1264
+ #sc_our_team .dataTables_wrapper .dataTables_filter input[type=search]{
1265
+
1266
+ margin-bottom: 5px;
1267
+ outline:none;
1268
+ border-radius: 15px;
1269
+ padding: 5px 10px;
1270
+ font-size: 13px;
1271
+
1272
+ }
1273
+
1274
+ /*
1275
+ * Core Owl Carousel CSS File
1276
+ * v1.3.3
1277
+ */
1278
+
1279
+ /* clearfix */
1280
+ .owl-carousel .owl-wrapper:after {
1281
+ content: ".";
1282
+ display: block;
1283
+ clear: both;
1284
+ visibility: hidden;
1285
+ line-height: 0;
1286
+ height: 0;
1287
+ }
1288
+ /* display none until init */
1289
+ .owl-carousel{
1290
+ display: none;
1291
+ position: relative;
1292
+ width: 100%;
1293
+ -ms-touch-action: pan-y;
1294
+ }
1295
+ .owl-carousel .owl-wrapper{
1296
+ display: none;
1297
+ position: relative;
1298
+ -webkit-transform: translate3d(0px, 0px, 0px);
1299
+ }
1300
+ .owl-carousel .owl-wrapper-outer{
1301
+ overflow: hidden;
1302
+ position: relative;
1303
+ width: 100%;
1304
+ }
1305
+ .owl-carousel .owl-wrapper-outer.autoHeight{
1306
+ -webkit-transition: height 500ms ease-in-out;
1307
+ -moz-transition: height 500ms ease-in-out;
1308
+ -ms-transition: height 500ms ease-in-out;
1309
+ -o-transition: height 500ms ease-in-out;
1310
+ transition: height 500ms ease-in-out;
1311
+ }
1312
+
1313
+ .owl-carousel .owl-item{
1314
+ float: left;
1315
+ }
1316
+ .owl-controls .owl-page,
1317
+ .owl-controls .owl-buttons div{
1318
+ cursor: pointer;
1319
+ }
1320
+ .owl-controls {
1321
+ -webkit-user-select: none;
1322
+ -khtml-user-select: none;
1323
+ -moz-user-select: none;
1324
+ -ms-user-select: none;
1325
+ user-select: none;
1326
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
1327
+ }
1328
+
1329
+ /* mouse grab icon */
1330
+ .grabbing {
1331
+ cursor:url(../img/grabbing.png) 8 8, move;
1332
+ }
1333
+
1334
+ /* fix */
1335
+ .owl-carousel .owl-wrapper,
1336
+ .owl-carousel .owl-item{
1337
+ -webkit-backface-visibility: hidden;
1338
+ -moz-backface-visibility: hidden;
1339
+ -ms-backface-visibility: hidden;
1340
+ -webkit-transform: translate3d(0,0,0);
1341
+ -moz-transform: translate3d(0,0,0);
1342
+ -ms-transform: translate3d(0,0,0);
1343
+ }
1344
+
1345
+ /*
1346
+ * Owl Carousel Owl Demo Theme
1347
+ * v1.3.3
1348
+ */
1349
+
1350
+ .owl-theme .owl-controls{
1351
+ margin-top: 10px;
1352
+ text-align: center;
1353
+ }
1354
+
1355
+ /* Styling Next and Prev buttons */
1356
+
1357
+ .owl-theme .owl-controls .owl-buttons div{
1358
+ color: #FFF;
1359
+ display: inline-block;
1360
+ zoom: 1;
1361
+ *display: inline;/*IE7 life-saver */
1362
+ margin: 5px;
1363
+ padding: 3px 10px;
1364
+ font-size: 12px;
1365
+ -webkit-border-radius: 30px;
1366
+ -moz-border-radius: 30px;
1367
+ border-radius: 30px;
1368
+ background: #869791;
1369
+ filter: Alpha(Opacity=50);/*IE7 fix*/
1370
+ opacity: 0.5;
1371
+ }
1372
+ /* Clickable class fix problem with hover on touch devices */
1373
+ /* Use it for non-touch hover action */
1374
+ .owl-theme .owl-controls.clickable .owl-buttons div:hover{
1375
+ filter: Alpha(Opacity=100);/*IE7 fix*/
1376
+ opacity: 1;
1377
+ text-decoration: none;
1378
+ }
1379
+
1380
+ /* Styling Pagination*/
1381
+
1382
+ .owl-theme .owl-controls .owl-page{
1383
+ display: inline-block;
1384
+ zoom: 1;
1385
+ *display: inline;/*IE7 life-saver */
1386
+ }
1387
+ .owl-theme .owl-controls .owl-page span{
1388
+ display: block;
1389
+ width: 12px;
1390
+ height: 12px;
1391
+ margin: 5px 7px;
1392
+ filter: Alpha(Opacity=50);/*IE7 fix*/
1393
+ opacity: 0.5;
1394
+ -webkit-border-radius: 20px;
1395
+ -moz-border-radius: 20px;
1396
+ border-radius: 20px;
1397
+ background: #869791;
1398
+ }
1399
+
1400
+ .owl-theme .owl-controls .owl-page.active span,
1401
+ .owl-theme .owl-controls.clickable .owl-page:hover span{
1402
+ filter: Alpha(Opacity=100);/*IE7 fix*/
1403
+ opacity: 1;
1404
+ }
1405
+
1406
+ /* If PaginationNumbers is true */
1407
+
1408
+ .owl-theme .owl-controls .owl-page span.owl-numbers{
1409
+ height: auto;
1410
+ width: auto;
1411
+ color: #FFF;
1412
+ padding: 2px 10px;
1413
+ font-size: 12px;
1414
+ -webkit-border-radius: 30px;
1415
+ -moz-border-radius: 30px;
1416
+ border-radius: 30px;
1417
+ }
1418
+
1419
+ /* preloading images */
1420
+ .owl-item.loading{
1421
+ min-height: 150px;
1422
+ background: url(AjaxLoader.gif) no-repeat center center
1423
+ }
1424
+
1425
+ /*
1426
+ * Owl Carousel CSS3 Transitions
1427
+ * v1.3.2
1428
+ */
1429
+
1430
+ .owl-origin {
1431
+ -webkit-perspective: 1200px;
1432
+ -webkit-perspective-origin-x : 50%;
1433
+ -webkit-perspective-origin-y : 50%;
1434
+ -moz-perspective : 1200px;
1435
+ -moz-perspective-origin-x : 50%;
1436
+ -moz-perspective-origin-y : 50%;
1437
+ perspective : 1200px;
1438
+ }
1439
+ /* fade */
1440
+ .owl-fade-out {
1441
+ z-index: 10;
1442
+ -webkit-animation: fadeOut .7s both ease;
1443
+ -moz-animation: fadeOut .7s both ease;
1444
+ animation: fadeOut .7s both ease;
1445
+ }
1446
+ .owl-fade-in {
1447
+ -webkit-animation: fadeIn .7s both ease;
1448
+ -moz-animation: fadeIn .7s both ease;
1449
+ animation: fadeIn .7s both ease;
1450
+ }
1451
+ /* backSlide */
1452
+ .owl-backSlide-out {
1453
+ -webkit-animation: backSlideOut 1s both ease;
1454
+ -moz-animation: backSlideOut 1s both ease;
1455
+ animation: backSlideOut 1s both ease;
1456
+ }
1457
+ .owl-backSlide-in {
1458
+ -webkit-animation: backSlideIn 1s both ease;
1459
+ -moz-animation: backSlideIn 1s both ease;
1460
+ animation: backSlideIn 1s both ease;
1461
+ }
1462
+ /* goDown */
1463
+ .owl-goDown-out {
1464
+ -webkit-animation: scaleToFade .7s ease both;
1465
+ -moz-animation: scaleToFade .7s ease both;
1466
+ animation: scaleToFade .7s ease both;
1467
+ }
1468
+ .owl-goDown-in {
1469
+ -webkit-animation: goDown .6s ease both;
1470
+ -moz-animation: goDown .6s ease both;
1471
+ animation: goDown .6s ease both;
1472
+ }
1473
+ /* scaleUp */
1474
+ .owl-fadeUp-in {
1475
+ -webkit-animation: scaleUpFrom .5s ease both;
1476
+ -moz-animation: scaleUpFrom .5s ease both;
1477
+ animation: scaleUpFrom .5s ease both;
1478
+ }
1479
+
1480
+ .owl-fadeUp-out {
1481
+ -webkit-animation: scaleUpTo .5s ease both;
1482
+ -moz-animation: scaleUpTo .5s ease both;
1483
+ animation: scaleUpTo .5s ease both;
1484
+ }
1485
+ /* Keyframes */
1486
+ /*empty*/
1487
+ @-webkit-keyframes empty {
1488
+ 0% {opacity: 1}
1489
+ }
1490
+ @-moz-keyframes empty {
1491
+ 0% {opacity: 1}
1492
+ }
1493
+ @keyframes empty {
1494
+ 0% {opacity: 1}
1495
+ }
1496
+ @-webkit-keyframes fadeIn {
1497
+ 0% { opacity:0; }
1498
+ 100% { opacity:1; }
1499
+ }
1500
+ @-moz-keyframes fadeIn {
1501
+ 0% { opacity:0; }
1502
+ 100% { opacity:1; }
1503
+ }
1504
+ @keyframes fadeIn {
1505
+ 0% { opacity:0; }
1506
+ 100% { opacity:1; }
1507
+ }
1508
+ @-webkit-keyframes fadeOut {
1509
+ 0% { opacity:1; }
1510
+ 100% { opacity:0; }
1511
+ }
1512
+ @-moz-keyframes fadeOut {
1513
+ 0% { opacity:1; }
1514
+ 100% { opacity:0; }
1515
+ }
1516
+ @keyframes fadeOut {
1517
+ 0% { opacity:1; }
1518
+ 100% { opacity:0; }
1519
+ }
1520
+ @-webkit-keyframes backSlideOut {
1521
+ 25% { opacity: .5; -webkit-transform: translateZ(-500px); }
1522
+ 75% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
1523
+ 100% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
1524
+ }
1525
+ @-moz-keyframes backSlideOut {
1526
+ 25% { opacity: .5; -moz-transform: translateZ(-500px); }
1527
+ 75% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
1528
+ 100% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
1529
+ }
1530
+ @keyframes backSlideOut {
1531
+ 25% { opacity: .5; transform: translateZ(-500px); }
1532
+ 75% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
1533
+ 100% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
1534
+ }
1535
+ @-webkit-keyframes backSlideIn {
1536
+ 0%, 25% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(200%); }
1537
+ 75% { opacity: .5; -webkit-transform: translateZ(-500px); }
1538
+ 100% { opacity: 1; -webkit-transform: translateZ(0) translateX(0); }
1539
+ }
1540
+ @-moz-keyframes backSlideIn {
1541
+ 0%, 25% { opacity: .5; -moz-transform: translateZ(-500px) translateX(200%); }
1542
+ 75% { opacity: .5; -moz-transform: translateZ(-500px); }
1543
+ 100% { opacity: 1; -moz-transform: translateZ(0) translateX(0); }
1544
+ }
1545
+ @keyframes backSlideIn {
1546
+ 0%, 25% { opacity: .5; transform: translateZ(-500px) translateX(200%); }
1547
+ 75% { opacity: .5; transform: translateZ(-500px); }
1548
+ 100% { opacity: 1; transform: translateZ(0) translateX(0); }
1549
+ }
1550
+ @-webkit-keyframes scaleToFade {
1551
+ to { opacity: 0; -webkit-transform: scale(.8); }
1552
+ }
1553
+ @-moz-keyframes scaleToFade {
1554
+ to { opacity: 0; -moz-transform: scale(.8); }
1555
+ }
1556
+ @keyframes scaleToFade {
1557
+ to { opacity: 0; transform: scale(.8); }
1558
+ }
1559
+ @-webkit-keyframes goDown {
1560
+ from { -webkit-transform: translateY(-100%); }
1561
+ }
1562
+ @-moz-keyframes goDown {
1563
+ from { -moz-transform: translateY(-100%); }
1564
+ }
1565
+ @keyframes goDown {
1566
+ from { transform: translateY(-100%); }
1567
+ }
1568
+
1569
+ @-webkit-keyframes scaleUpFrom {
1570
+ from { opacity: 0; -webkit-transform: scale(1.5); }
1571
+ }
1572
+ @-moz-keyframes scaleUpFrom {
1573
+ from { opacity: 0; -moz-transform: scale(1.5); }
1574
+ }
1575
+ @keyframes scaleUpFrom {
1576
+ from { opacity: 0; transform: scale(1.5); }
1577
+ }
1578
+
1579
+ @-webkit-keyframes scaleUpTo {
1580
+ to { opacity: 0; -webkit-transform: scale(1.5); }
1581
+ }
1582
+ @-moz-keyframes scaleUpTo {
1583
+ to { opacity: 0; -moz-transform: scale(1.5); }
1584
+ }
1585
+ @keyframes scaleUpTo {
1586
+ to { opacity: 0; transform: scale(1.5); }
1587
+ }
1588
+
1589
+
1590
+ /* Let's get this party started */
1591
+ #sc_our_team_lightbox ::-webkit-scrollbar,
1592
+ .sc_our_team_panel ::-webkit-scrollbar{
1593
+ width: 4px;
1594
+ }
1595
+
1596
+ /* Track */
1597
+ #sc_our_team_lightbox ::-webkit-scrollbar-track,
1598
+ .sc_our_team_panel ::-webkit-scrollbar-track{
1599
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
1600
+ }
1601
+
1602
+ /* Handle */
1603
+ #sc_our_team_lightbox ::-webkit-scrollbar-thumb,
1604
+ .sc_our_team_panel ::-webkit-scrollbar-thumb{
1605
+ background: rgba(75,75,75,0.8);
1606
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
1607
+ }
1608
+
1609
+ .sc_our_team_panel ::-webkit-scrollbar-thumb{
1610
+ background: rgba(255,255,255,0.8);
1611
+ }
1612
+
1613
+ #sc_our_team_lightbox ::-webkit-scrollbar-thumb:window-inactive,
1614
+ .sc_our_team_panel ::-webkit-scrollbar-thumb:window-inactive{
1615
+ background: rgba(255,0,0,0.4);
1616
+ }
1617
 
1618
  @media (min-width: 768px){
1619
 
1620
+
1621
+ #sc_our_team_lightbox .sc_our_team_lightbox{
1622
+ padding: 15px 0;
1623
+ margin: 0 auto;
1624
+ width: 750px;
1625
+ height: 400px;
1626
+ margin-top: 50px;
1627
+ max-height: 80%;
1628
+ overflow-y: scroll;
1629
+ position: relative;
1630
+ }
1631
+
1632
+ #sc_our_team_lightbox .sc_our_team_lightbox .name,
1633
+ #sc_our_team_lightbox .sc_our_team_lightbox .skills-title{
1634
+ font-size: 26px;
1635
+ line-height: 28px;
1636
+ margin: 0;
1637
+ }
1638
+
1639
+ #sc_our_team_lightbox .sc_our_team_lightbox .sc-content{
1640
+ font-size: 15px;
1641
+ line-height: 18px;
1642
+ }
1643
+ #sc_our_team_lightbox .sc_our_team_lightbox .title{
1644
+ font-size: 20px;
1645
+ margin-top: 15px;
1646
+ }
1647
 
1648
  .sc_team_single_member .sc_single_side .title{
1649
  font-size: 17px;
1826
  margin-bottom: 0;
1827
  }
1828
 
 
 
1829
  .stacked#sc_our_team .sc_team_member .sc_team_member_name a{
1830
  text-decoration: none;
1831
  font-size: 18px;
1844
  }
1845
  .sc_our_team_panel .sc-right-panel{
1846
  width: auto;
1847
+ width: 90%;
1848
  }
1849
 
1850
  }
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Our Team Showcase ===
2
  Contributors: smartcat
3
  Donate link: http://smartcatdesign.net
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
5
  Requires at least: 4.0
6
- Tested up to: 4.4
7
- Stable tag: 2.41
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 functionality.
@@ -16,12 +16,15 @@ The best way to display your employees, team members, or any type of list. Multi
16
  Our Team Showcase allows you to easily create and display your team members & staff and show them on your site with ease. Your visitors will see a beautiful & animated
17
  list of your team, with their pictures, links to social icons, and link to each member page.
18
 
 
 
 
19
  First, install and activate the plugin. You will be automatically re-directed to the plugin settongs page. Select your preferred settings and colors, Add your staff, upload pictures and finally
20
  add the shortcode [our-team] to the page, post or widget where you want to display them. You can also set the order that the members appear in with a user-friendly drag & drop interface.
21
 
22
  If your theme has a sidebar, you can use the extra custom sidebar widget to display the team members in the sidebar.
23
 
24
- The pro version provides you with 4 additional and very unique templates. Impress your site visitors by using the pro version which includes a Honeycomb layout, Scrolling Carousel, Stacked
25
  list and an additional circular template.
26
 
27
  Pro version available here: [Pro Version](https://smartcatdesign.net/downloads/our-team-showcase/)
@@ -38,11 +41,10 @@ Available Customizations:
38
  * Single member page social icons
39
  * Add/Edit/Search/Display your staff or team members
40
  * Display members by group/deparment (category)
41
- * It comes with different styles to choose from: boxes or circles
42
  * Boosts SEO with schema.org markup
43
- * output your team members anywhere with the shortcode [our-team]
44
- * 3 additional templates with the Pro version
45
- * Honeycomb, Stacked and Carousel templates with Pro version
46
  * Easy to setup
47
 
48
  Pro Version Features:
@@ -54,8 +56,23 @@ Pro Version Features:
54
  * Team member personal quote
55
  * Search & Sort employee directory
56
  * Looks great on desktop & mobile
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
- [Quick Demo](http://youtu.be/upV_fevCh_s] "Our Team Showcase")
59
 
60
  == Screenshots ==
61
  1. Plugin includes Grid boxes, Grid Circular and sidebar templates
@@ -71,6 +88,13 @@ Pro Version Features:
71
 
72
  == Changelog ==
73
 
 
 
 
 
 
 
 
74
  = 2.41 =
75
  1. minor change
76
 
1
  === Our Team Showcase ===
2
  Contributors: smartcat
3
  Donate link: http://smartcatdesign.net
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.0
6
+ Tested up to: 4.4.1
7
+ Stable tag: 2.42
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 functionality.
16
  Our Team Showcase allows you to easily create and display your team members & staff and show them on your site with ease. Your visitors will see a beautiful & animated
17
  list of your team, with their pictures, links to social icons, and link to each member page.
18
 
19
+ Each member can be edited. When you create or edit a team member, you will be able to add links to contact email, phone number, links to social media( facebook, linkedin, twitter, google plus, instagram & linkedin ), as well as a personal website.
20
+ You can also link in your posts to a user. This way, you can keep the viewer on your site, and recommend content to them.
21
+
22
  First, install and activate the plugin. You will be automatically re-directed to the plugin settongs page. Select your preferred settings and colors, Add your staff, upload pictures and finally
23
  add the shortcode [our-team] to the page, post or widget where you want to display them. You can also set the order that the members appear in with a user-friendly drag & drop interface.
24
 
25
  If your theme has a sidebar, you can use the extra custom sidebar widget to display the team members in the sidebar.
26
 
27
+ The pro version provides you with 4 additional and very unique Team templates and 3 Single Member templates. Impress your site visitors by using the pro version which includes a Honeycomb layout, Scrolling Carousel, Stacked
28
  list and an additional circular template.
29
 
30
  Pro version available here: [Pro Version](https://smartcatdesign.net/downloads/our-team-showcase/)
41
  * Single member page social icons
42
  * Add/Edit/Search/Display your staff or team members
43
  * Display members by group/deparment (category)
 
44
  * Boosts SEO with schema.org markup
45
+ * Output your team members anywhere with the shortcode [our-team]
46
+ * Team Member contact info & links to social sites
47
+ * Favorite/Recommended content for each Team Member
48
  * Easy to setup
49
 
50
  Pro Version Features:
56
  * Team member personal quote
57
  * Search & Sort employee directory
58
  * Looks great on desktop & mobile
59
+ * Team Member Skills, Hobbies, Tags
60
+
61
+ Team Member Details & Icons:
62
+
63
+ * Name
64
+ * Group/Department
65
+ * Job Title
66
+ * Email Address
67
+ * Facebook
68
+ * Twitter
69
+ * Google Plus
70
+ * Telephone Number
71
+ * Instagram
72
+ * Pinterest
73
+ * Website/URL
74
+ * Links to up to 3 Articles
75
 
 
76
 
77
  == Screenshots ==
78
  1. Plugin includes Grid boxes, Grid Circular and sidebar templates
88
 
89
  == Changelog ==
90
 
91
+ = 3.0.0
92
+ 1. Added new social icons ( pinterest, instagram )
93
+ 2. Added Recommended Articles section in Single Member. You can now toggle a section for each member that outputs up to 3 articles from your blog.
94
+ 3. Updated Documentation
95
+ 4. Fixed issue causing the PHP notice regarding the team_member slug
96
+
97
+
98
  = 2.41 =
99
  1. minor change
100
 
sc_our_team.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: 2.42
7
  Author: SmartCat
8
  Author URI: https://smartcatdesign.net
9
  License: GPL v2
@@ -33,7 +33,7 @@ SmartcatTeamPlugin::instance();
33
 
34
  require_once SC_TEAM_PATH . 'admin/class/class-tgm-plugin-activation.php';
35
 
36
- add_action('tgmpa_register', 'sc_team_register_required_plugin');
37
 
38
 
39
  function sc_team_register_required_plugin() {
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: 3.0.0
7
  Author: SmartCat
8
  Author URI: https://smartcatdesign.net
9
  License: GPL v2
33
 
34
  require_once SC_TEAM_PATH . 'admin/class/class-tgm-plugin-activation.php';
35
 
36
+ //add_action('tgmpa_register', 'sc_team_register_required_plugin');
37
 
38
 
39
  function sc_team_register_required_plugin() {