Team Members - Version 2.0.2

Version Description

  • SAFE UPDATE: No data loss for those upgrading from version 1.0 or higher
  • Only show images if there are
Download this release

Release Info

Developer spwebguy
Plugin Icon 128x128 Team Members
Version 2.0.2
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0.2

Files changed (2) hide show
  1. readme.txt +4 -0
  2. tmm.php +4 -4
readme.txt CHANGED
@@ -68,6 +68,10 @@ The [PRO version](http://wpdarko.com/items/team-members-pro/) gives you access t
68
  3. Creating members (admin view)
69
 
70
  == Changelog ==
 
 
 
 
71
  = 2.0.1 =
72
  * SAFE UPDATE: No data loss for those upgrading from version 1.0 or higher
73
  * Bug fix on update
68
  3. Creating members (admin view)
69
 
70
  == Changelog ==
71
+ = 2.0.2 =
72
+ * SAFE UPDATE: No data loss for those upgrading from version 1.0 or higher
73
+ * Only show images if there are
74
+
75
  = 2.0.1 =
76
  * SAFE UPDATE: No data loss for those upgrading from version 1.0 or higher
77
  * Bug fix on update
tmm.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Team Members
4
  Plugin URI: http://wpdarko.com/support/documentation/get-started-team-members/
5
  Description: A responsive, simple and clean way to display your team. Create new members, add their positions, bios, social links and copy-paste the shortcode into any post/page. Find support and information on the <a href="http://wpdarko.com/team-members/">plugin's page</a>. This free version is NOT limited and does not contain any ad. Check out the <a href='http://wpdarko.com/items/team-members-pro/'>PRO version</a> for more great features.
6
- Version: 2.0.1
7
  Author: WP Darko
8
  Author URI: http://wpdarko.com
9
  License: GPL2
@@ -586,9 +586,9 @@ function tmm_sc($atts) {
586
  }
587
 
588
  $output .= '<div class="tmm_member" style="border-top:'.$tmm_color.' solid 5px;">';
589
-
590
- $output .= '<img src="'.$member['_tmm_photo'].'"/>';
591
-
592
  $output .= '<div class="tmm_textblock">';
593
  $output .= '<div class="tmm_names">';
594
  $output .= '<span class="tmm_fname">'.$member['_tmm_firstname'].'</span>';
3
  Plugin Name: Team Members
4
  Plugin URI: http://wpdarko.com/support/documentation/get-started-team-members/
5
  Description: A responsive, simple and clean way to display your team. Create new members, add their positions, bios, social links and copy-paste the shortcode into any post/page. Find support and information on the <a href="http://wpdarko.com/team-members/">plugin's page</a>. This free version is NOT limited and does not contain any ad. Check out the <a href='http://wpdarko.com/items/team-members-pro/'>PRO version</a> for more great features.
6
+ Version: 2.0.2
7
  Author: WP Darko
8
  Author URI: http://wpdarko.com
9
  License: GPL2
586
  }
587
 
588
  $output .= '<div class="tmm_member" style="border-top:'.$tmm_color.' solid 5px;">';
589
+ if (isset($member['_tmm_photo'])){
590
+ $output .= '<img src="'.$member['_tmm_photo'].'"/>';
591
+ }
592
  $output .= '<div class="tmm_textblock">';
593
  $output .= '<div class="tmm_names">';
594
  $output .= '<span class="tmm_fname">'.$member['_tmm_firstname'].'</span>';