WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to only remove Posted By in the Twenty Ten Theme? (9 posts)

  1. buddies
    Member
    Posted 1 year ago #

    Hi, I would like to know how do I ONLY remove "posted by" in the entry meta? I thank you in advance to anybody who could help me out.

    My website is: http://buppha.co.uk.

    Thanks!

  2. Tara
    Member
    Posted 1 year ago #

    Try:

    - cut and paste the line below to style.css under "/* =Content":

    .post .entry-utility, .post .entry-meta {display:none;}

  3. buddies
    Member
    Posted 1 year ago #

    Thank you very much for your prompt response! But, I don't know about the code above would just remove the Post Date as well since I only want to hide the "Post By"?

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    you will need to edit functions.php;
    the functions 'twentyten_posted_on()' and 'twentyten_posted_in()' are at the end.

  5. Tara
    Member
    Posted 1 year ago #

    First off, do not edit the Twenty ten theme. Instead, create a child theme for your changes.

    to hide posted by, cut and paste the line below to style.css under "/* =Content":

    span.meta-sep { display:none; }
    
    span.author { display:none; }
  6. buddies
    Member
    Posted 1 year ago #

    Ok, I'll try that. Thanks!

  7. Andrew
    Forum Moderator
    Posted 1 year ago #

    I think you're not supposed to create a functions.php file within your Child Theme.

  8. buddies
    Member
    Posted 1 year ago #

    Thank you so much t-p. It works now! I will mark this post as resolved.

  9. Tara
    Member
    Posted 1 year ago #

    you are welcome.:)

Topic Closed

This topic has been closed to new replies.

About this Topic