WordPress.org

Ready to get started?Download WordPress

Forums

How to remove "posted on" & "comments off" on twenty ten child theme. (5 posts)

  1. iselaespana
    Member
    Posted 3 years ago #

    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?

  2. Christy John
    Member
    Posted 3 years ago #

    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.

  3. iselaespana
    Member
    Posted 3 years ago #

    ok

    do i add the words:

    comment off?

  4. Christy John
    Member
    Posted 3 years ago #

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

  5. Bubba Pink
    Member
    Posted 2 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic