easy-social-links.tpl.php in Easy Social 7
Same filename and directory in other branches
This is the file description for Easy Social module.
Variables available:
- $social_links: Assoc array with my share buttons html markup.
1 theme call to easy-social-links.tpl.php
- easy_social_node_view in ./
easy_social.module - Implements hook_node_view(). Certify to load the buttons in the moment I want
File
easy-social-links.tpl.phpView source
<?php
/**
* @file
* This is the file description for Easy Social module.
*
* Variables available:
* - $social_links: Assoc array with my share buttons html markup.
*
*/
?>
<div id='easysocial-box'>
<?php
if (isset($social_links['twitter'])) {
?>
<span class='easysocial-widget-twitter'><?php
echo $social_links['twitter'];
?></span>
<?php
}
?>
<?php
if (isset($social_links['facebook'])) {
?>
<span class='easysocial-widget-facebook'><?php
echo $social_links['facebook'];
?></span>
<?php
}
?>
<?php
if (isset($social_links['googleplus'])) {
?>
<span class='easysocial-widget-googleplus'><?php
echo $social_links['googleplus'];
?></span>
<?php
}
?>
<?php
if (isset($social_links['linkedin'])) {
?>
<span class='easysocial-widget-linkedin'><?php
echo $social_links['linkedin'];
?></span>
<?php
}
?>
</div>