Twenty Ten
[resolved] How to remove author/date/etc from Pages only (5 posts)

  1. MeghanCL
    Posted 5 years ago #


    I have been searching Google and the forum for hours and have finally given up. I want to remove all the extraneous "Posted on", author, etc from my Pages only - not my posts. All I can find is how to remove it from everything. I already figured out how to turn off comments and get rid of "Comments Closed" but now I'm stuck! I'm using the Twentyten theme (well it's a child theme actually).

    Basically I want my Pages to not look like a blog - that's what the posts are for. :)

    Thanks for your help!


  2. Michael
    Forum Moderator
    Posted 5 years ago #

    as far as i can see, the latest twenty ten 1.2 does not show these any more.

    see page.php and loop-page.php of the theme.

    what is your version?

    link to your site?

  3. MeghanCL
    Posted 5 years ago #

    I'm using twentyten 1.2 (well I used it as the template for my child theme). And WordPress 3.1.2

    Here's the blog: http://www.caninelifestyleacademy.com

    And a Page: http://caninelifestyleacademy.com/blog/contact-us/

  4. Michael
    Forum Moderator
    Posted 5 years ago #

    your theme does not seem to be based on twenty ten - unless it is extremely modified.

    try to edit page.php (if your theme does not have this template, make a copy of index.php and save it as page.php) and look for:

    <div class="entry-meta">

    remove this whole div.

    if your theme uses loop-page.php, make the edits there;

    if your theme uses loop.php, you might need to use a conditional statement to wrap around the above mentioned div;

    <?php if( !is_page() ) : ?>
    <div class="entry-meta">
    </div><!-- .entry-meta -->
    <?php endif; ?>
  5. MeghanCL
    Posted 5 years ago #

    Yeah it's extremely modified. I used a tutorial to use Twentyten to integrate it into my site. I know just enough code to get myself into trouble, apparently.... ;-)


    That worked - the conditional statement in loop.php. Thank you so much!! It looks so much better now!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic