Team Members - Version 5.0.10

Version Description

  • Fixed phone link issue
Download this release

Release Info

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

Code changes from version 5.0.9 to 5.0.10

Files changed (3) hide show
  1. inc/tmm-shortcode.php +2 -0
  2. readme.txt +3 -0
  3. tmm.php +1 -1
inc/tmm-shortcode.php CHANGED
@@ -92,6 +92,8 @@ function tmm_sc($atts) {
92
  if ($member['_tmm_sc_type'.$i] != 'nada') {
93
  if ($member['_tmm_sc_type'.$i] == 'email') {
94
  $team_view .= '<a class="tmm_sociallink" href="mailto:'.(!empty($member['_tmm_sc_url'.$i])?$member['_tmm_sc_url'.$i]:'').'" title="'.(!empty($member['_tmm_sc_title'.$i])?$member['_tmm_sc_title'.$i]:'').'"><img alt="'.(!empty($member['_tmm_sc_title'.$i])?$member['_tmm_sc_title'.$i]:'').'" src="'.plugins_url('img/links/', __FILE__).$member['_tmm_sc_type'.$i].'.png"/></a>';
 
 
95
  } else {
96
  $team_view .= '<a target="_blank" class="tmm_sociallink" href="'.(!empty($member['_tmm_sc_url'.$i])?$member['_tmm_sc_url'.$i]:'').'" title="'.(!empty($member['_tmm_sc_title'.$i])?$member['_tmm_sc_title'.$i]:'').'"><img alt="'.(!empty($member['_tmm_sc_title'.$i])?$member['_tmm_sc_title'.$i]:'').'" src="'.plugins_url('img/links/', __FILE__).$member['_tmm_sc_type'.$i].'.png"/></a>';
97
  }
92
  if ($member['_tmm_sc_type'.$i] != 'nada') {
93
  if ($member['_tmm_sc_type'.$i] == 'email') {
94
  $team_view .= '<a class="tmm_sociallink" href="mailto:'.(!empty($member['_tmm_sc_url'.$i])?$member['_tmm_sc_url'.$i]:'').'" title="'.(!empty($member['_tmm_sc_title'.$i])?$member['_tmm_sc_title'.$i]:'').'"><img alt="'.(!empty($member['_tmm_sc_title'.$i])?$member['_tmm_sc_title'.$i]:'').'" src="'.plugins_url('img/links/', __FILE__).$member['_tmm_sc_type'.$i].'.png"/></a>';
95
+ } else if ($member['_tmm_sc_type'.$i] == 'phone') {
96
+ $team_view .= '<a class="tmm_sociallink" href="tel:'.(!empty($member['_tmm_sc_url'.$i])?$member['_tmm_sc_url'.$i]:'').'" title="'.(!empty($member['_tmm_sc_title'.$i])?$member['_tmm_sc_title'.$i]:'').'"><img alt="'.(!empty($member['_tmm_sc_title'.$i])?$member['_tmm_sc_title'.$i]:'').'" src="'.plugins_url('img/links/', __FILE__).$member['_tmm_sc_type'.$i].'.png"/></a>';
97
  } else {
98
  $team_view .= '<a target="_blank" class="tmm_sociallink" href="'.(!empty($member['_tmm_sc_url'.$i])?$member['_tmm_sc_url'.$i]:'').'" title="'.(!empty($member['_tmm_sc_title'.$i])?$member['_tmm_sc_title'.$i]:'').'"><img alt="'.(!empty($member['_tmm_sc_title'.$i])?$member['_tmm_sc_title'.$i]:'').'" src="'.plugins_url('img/links/', __FILE__).$member['_tmm_sc_type'.$i].'.png"/></a>';
99
  }
readme.txt CHANGED
@@ -93,6 +93,9 @@ Find help on [our support platform](https://wpdarko.com/support) for this plugin
93
  6. Finding the shortcode (admin view)
94
 
95
  == Changelog ==
 
 
 
96
  = 5.0.9 =
97
  * Updated deprecated jQuery code
98
  * Fixed Instant Preview issue
93
  6. Finding the shortcode (admin view)
94
 
95
  == Changelog ==
96
+ = 5.0.10 =
97
+ * Fixed phone link issue
98
+
99
  = 5.0.9 =
100
  * Updated deprecated jQuery code
101
  * Fixed Instant Preview issue
tmm.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Team Members
4
  * Plugin URI: https://wpdarko.com/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 help and information on our <a href="https://wpdarko.com/support">support site</a>. This free version is NOT limited and does not contain any ad. Check out the <a href='https://wpdarko.com/team-members'>PRO version</a> for more great features.
6
- * Version: 5.0.9
7
  * Author: WP Darko
8
  * Author URI: https://wpdarko.com
9
  * Text Domain: team-members
3
  * Plugin Name: Team Members
4
  * Plugin URI: https://wpdarko.com/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 help and information on our <a href="https://wpdarko.com/support">support site</a>. This free version is NOT limited and does not contain any ad. Check out the <a href='https://wpdarko.com/team-members'>PRO version</a> for more great features.
6
+ * Version: 5.0.10
7
  * Author: WP Darko
8
  * Author URI: https://wpdarko.com
9
  * Text Domain: team-members