Support » Fixing WordPress » How to remove author, date and category from posts?

  • Resolved Harmanjit

    (@harmanjit)


    Hi Friends,

    I want to create a blog with content which is not time bound & is evergreen. So, i want to remove the author, date & category from the posts.

    Currently i am using Child theme of Twenty Eleven. Kindly suggest the way to do it.

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

    answer is in wp-content\themes\twentyeleven\functions.php
    line 575
    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    /**
     * Prints HTML with meta information for the current post-date/time and author.
     * Create your own twentyeleven_posted_on to override in a child theme
     *
    Thread Starter Harmanjit

    (@harmanjit)

    I didn’t understand your reply. Please explain a bit as i am a newbie on wordpress.

    can you program php, if not, can you forget this

    Thread Starter Harmanjit

    (@harmanjit)

    Just made some changes in the content-single.php by removing the <div class=”entry-meta”>
    <?php twentyeleven_posted_on(); ?>
    </div><!– .entry-meta –>

    Now making changes in content.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove author, date and category from posts?’ is closed to new replies.