How To Remove Footer From Sticky Post In WordPress Blog?

Posted by

Hi,

You need to edit the index.php file of your current active theme of your blog to remove Footer from sticky post. Check this code in the file:

Find this Code:
<div class=”PostFooterIcons metadata-icons”>
<img height=”18″ …
Posted in <?php the_category;?>
<?php comments_popup_link(…)?>
</div>

Add this code before this code:
<?php if(!is_sticky()):?>

Add this code after this code:
<?php endif;?>

That’s it!

Thanks,

Shane G.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.