Removing social media icons
-
Hi, I’m using chameleon theme and cannot find a way to remove the social media icons in my header, this is in my header.php at the bottom:
<?php show_page_menu($menuClass,false,false); ?> <?php show_categories_menu($menuClass,false); ?> </ul> <!-- end ul#nav --> <?php } else echo($primaryNav); ?> <div id="additional-info"> <div id="et-social-icons"{display:none}> <?php $et_rss_url = get_option('chameleon_rss_url') <> '' ? get_option('chameleon_rss_url') : get_bloginfo('comments_rss2_url'); if ( get_option('chameleon_show_twitter_icon') == 'on' ) $social_icons['twitter'] = array('image' => get_bloginfo('template_directory') . '/images/twitter.png', 'url' => get_option('chameleon_twitter_url'), 'alt' => 'Twitter' ); if ( get_option('chameleon_show_rss_icon') == 'on' ) $social_icons['rss'] = array('image' => get_bloginfo('template_directory') . '/images/rss.png', 'url' => $et_rss_url, 'alt' => 'Rss' ); if ( get_option('chameleon_show_facebook_icon') == 'on' ) $social_icons['facebook'] = array('image' => get_bloginfo('template_directory') . '/images/facebook.png', 'url' => get_option('chameleon_facebook_url'), 'alt' => 'Facebook' ); $social_icons = apply_filters('et_social_icons', $social_icons); if ( !empty($social_icons) ) { foreach ($social_icons as $icon) { echo "<a href='" . esc_url($icon['url']) . "' target='_blank'><img alt='" . esc_attr($icon['alt']) . "' src='" . esc_url($icon['image']) . "' /></a>"; } } ?> </div>
…I removed:
<div id="et-social-icons">
but it made the head of the site all messed up…any help would be great! Thanks
- The topic ‘Removing social media icons’ is closed to new replies.