1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to remove "comments closed" and "posted in" stuff

Discussion in 'Blogging' started by Hyperion, Jan 18, 2010.

  1. Hyperion

    Hyperion Regular Member

    Joined:
    Apr 21, 2009
    Messages:
    307
    Likes Received:
    59
    Location:
    Treasure Island
    Hi Guys,

    I'm using wordpress for a simple content website and it irritates me that under every article a block like this appears:

    HTML:
    Posted in Uncategorized.  RSS feed for comments on this post.. TrackBack URL.                                            Comments are closed
    Is there a way to remove this? It really annoys me.

    Thanks
     
  2. Hyperion

    Hyperion Regular Member

    Joined:
    Apr 21, 2009
    Messages:
    307
    Likes Received:
    59
    Location:
    Treasure Island
    I already figured this one out myself, so if any asks the same question in the future and comes across this topic you have to remove the following code in the index.php file:

    Code:
    <?php printf(__('Posted in %s'), get_the_category_list(', ')); ?>. <?php if (is_callable('the_tags')) the_tags(__('Tags:<span class="tags">').' ', ', ', '</span>.'); ?> <?php comments_popup_link(__('No Comments'), __('1 Comment'), __('% Comments')); ?> ยป
    This will disable the "Posted in", "Tags" and the "no comments" from appearing under the posts.