To Remove Twitter and Facebook Links or Icons

Specific to the Albizia Theme from Itx.
open…wp-content/themes/albizia/functions.php
comment out lines 164-182

<ul id="links">
<?php if ($twitter): ?><li>
<a href="http://twitter.com/<?php echo $twitter ?>" rel="nofollow">
<img src="<?php bloginfo('template_directory'); ?>/images/twitter.png" alt ="my twitter" title="Follow our twitter" />
</a></li>
<?php endif;?>

<?php if ($facebook): ?><li>
<a href="http://www.facebook.com/<?php echo $facebook ?>" rel="nofollow">
<img src="<?php bloginfo('template_directory'); ?>/images/facebook.png" alt ="my facebook" title="Follow our facebook" />
</a></li>
<?php endif;?>

<?php if(empty($hide_rss)):?>
<li><a href="<?php echo $rss ?>">
<img src="<?php bloginfo('template_directory'); ?>/images/rss.png" alt="<?php bloginfo('name'); ?>" title="Follow our RSS" />
</a></li>
<?php endif;?>
</ul>

To read

<!--<ul id="links">
<?php if ($twitter): ?><li>
<a href="http://twitter.com/<?php echo $twitter ?>" rel="nofollow">
<img src="<?php bloginfo('template_directory'); ?>/images/twitter.png" alt ="my twitter" title="Follow our twitter" />
</a></li>
<?php endif;?>

<?php if ($facebook): ?><li>
<a href="http://www.facebook.com/<?php echo $facebook ?>" rel="nofollow">
<img src="<?php bloginfo('template_directory'); ?>/images/facebook.png" alt ="my facebook" title="Follow our facebook" />
</a></li>
<?php endif;?>

<?php if(empty($hide_rss)):?>
<li><a href="<?php echo $rss ?>">
<img src="<?php bloginfo('template_directory'); ?>/images/rss.png" alt="<?php bloginfo('name'); ?>" title="Follow our RSS" />
</a></li>
<?php endif;?>
</ul>-->

Save file to original location.

Leave a Comment

Your email address will not be published. Required fields are marked *