• Resolved elizool99

    (@elizool99)


    Hi I want to remove the line that there is under every post:
    “belongs to category X|Edit|5 Comments”

    So how to delete this line but leave her only on the sticky posts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    You need to edit page.php/post.php file of your theme and remove the code of comments and category from that file. Which will remove the code from all the posts of your blog.

    Thanks,

    Shane G.

    Thread Starter elizool99

    (@elizool99)

    thank you too but how to add it to a specific posts

    Don’t delete the line. Instead place it within an is_sticky() conditional – eg:

    <?php if( is_sticky() ) :?>
    category list | Edit link | comments link
    <?php endif;?>
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to remove the bottom line from posts?’ is closed to new replies.