You are here

easy-social-links.tpl.php in Easy Social 7

Same filename and directory in other branches
  1. 6 easy-social-links.tpl.php

This is the file description for Easy Social module.

Variables available:

  • $social_links: Assoc array with my share buttons html markup.

File

easy-social-links.tpl.php
View 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>