WordPress.org

Support

Support » How-To and Troubleshooting » How to remove "posted on" & "comments off" on twenty ten child theme.

How to remove "posted on" & "comments off" on twenty ten child theme.

  • iselaespana
    Member

    @iselaespana

    here is the site in question

    How do I remove the Posted on & comments off? Can it be done in css? I have tried various ways that people have stated on here and it has not worked. any thoughts?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Christy John
    Member

    @christyjohn

    I hope you are using a page here and using twenty-ten template. So go to loop-single.php and comment off <?php twentyten_posted_on(); ?> at line #29 and <?php comments_template( ”, true ); ?> at line#65.

    I hope it helped.

    iselaespana
    Member

    @iselaespana

    ok

    do i add the words:

    comment off?

    Christy John
    Member

    @christyjohn

    no just comment the lines.
    <?php // twentyten_posted_on(); ?>

    Hi,

    I can’t seem to see anything when i go into the posts, or archives.
    There’s only the title.

    Perhaps something to do with the code? Because I carefully deleted only the code specific to the “posted by” and “posted on”.

    Here is the site: galerienicolasrobert.com/wordpress/

    Thanks in advance for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove "posted on" & "comments off" on twenty ten child theme.’ is closed to new replies.