Guest User

Untitled

a guest
Apr 11th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. if ( td_util::get_option( 'td_social_networks_show' ) == 'show' ) { ?>
  2. <div class="td-header-sp-top-widget">
  3. <?php
  4.  
  5. //get the socials that are set by user
  6. $td_get_social_network = td_util::get_option( 'td_social_networks' );
  7.  
  8. if ( ! empty( $td_get_social_network ) ) {
  9. foreach ( $td_get_social_network as $social_id => $social_link ) {
  10. if ( ! empty( $social_link ) ) {
  11. echo td_social_icons::get_icon( $social_link, $social_id, 4, 16, true );
  12. }
  13. }
  14. }
  15. ?>
  16. </div>
  17. <?php
  18. }
Advertisement
Add Comment
Please, Sign In to add comment