[team_social_media]
The shortcode displays the social media links of a team member.
Product
Shortcode Attributes
There are a number of shortcode attributes available which you can use to customize the output.
- id – The ID of the team member’s post. If this parameter is not provided, the shortcode will automatically use the ID of the current post (if it is a
teampost type).- Options: Any numeric value.
- iconset – The icon set number for displaying social media icons.
- Default:
1. - Options:
1,2, 3. Specify one only.
- Default:
Example Usage
[team_social_media id="123"]
Results
<div class="social-media-details">
<ul class="social-media">
<li>
<a href="https://facebook.com/username" rel="noopener" target="_blank"><span class="hidden">Facebook</span><i class="fa fa-facebook-f" aria-hidden="true"></i> </a>
</li>
<li>
<a href="https://twitter.com/username" rel="noopener" target="_blank"><span class="hidden">Twitter</span><i class="fab fa-twitter" aria-hidden="true"></i></a>
</li>
<li>
<a href="https://linkedin.com/in/username" rel="noopener" target="_blank"><span class="hidden">Linkedin</span><i class="fab fa-linkedin-in" aria-hidden="true"></i></a>
</li>
</ul>
</div>
| Example: This example display social media links for a team member with ID 123. |