Support » Theme: Twenty Ten » [Theme: Twenty Ten] How to remove author/date/etc from Pages only

  • Resolved MeghanCL



    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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?

    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:

    And a Page:

    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; ?>

    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Theme: Twenty Ten] How to remove author/date/etc from Pages only’ is closed to new replies.