WordPress.org

Ready to get started?Download WordPress

Forums

TwentyTen Theme: How to remove "Posted by Joe Blow" text & link at top of posts? (18 posts)

  1. magentawave
    Member
    Posted 4 years ago #

    I'm using the TwentyTen theme and at the top of every post there is some text that says "Posted by Author" and the author is a link. Can someone please tell me in non-nerdy simple terms how I can remove that from every TwentyTen post?

    Thank you very much.

    Steve

  2. mark_fujii
    Member
    Posted 4 years ago #

    My buddy just helped me with that.

    Go to your style sheet and insert this in the content section:

    span.meta-sep { display:none; }

    span.author { display:none; }

    It should read:

    /* =Content
    -------------------------------------------------------------- */

    span.meta-sep { display:none; }

    span.author { display:none; }

    #main {
    clear: both;
    overflow: hidden;
    padding: 40px 0 0 0;
    }
    #content {
    margin-bottom: 36px;

  3. Gene53
    Member
    Posted 3 years ago #

    I tried this and got rid of the "posted by ..." but now have ".entry-meta {display:none;}" in the top left of my theme...

  4. Tara
    Member
    Posted 3 years ago #

    alternately:

    check twentyten_posted_on () functions in functions.php file and modify that function.

    Look for this:

    function twentyten_posted_on() {
    	printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ),

    makea backup of functions.php for modifying it.

  5. Ogggeee
    Member
    Posted 3 years ago #

    Add this code to style.css under "/* =Content" to remove: Posted by, Posten on, Posted in and comments. Much more simple.

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

  6. Svish
    Member
    Posted 3 years ago #

    @Ogggeee, That will remove a lot more than just the 'by Author' text though...

  7. wmease
    Member
    Posted 3 years ago #

    This is what I use and it is literally the last line of code in your Stylesheet (style.css)

    }.entry-meta{display:none;}

  8. ellyhails
    Member
    Posted 3 years ago #

    Hi - I have a similar question and need some help please!

    I've got rid of the 'by [author]' text by using the:
    span.meta-sep { display:none; }

    span.author { display:none; }

    But I'd also like to change the 'Posted on [date]' text to just the date, and to remove the link from the date.

    Any ideas?? Thank you in advance!

  9. esmi
    Forum Moderator
    Posted 3 years ago #

    Don't edit the Twenty Ten theme. Your changes will be over-written the next time you upgrade WordPress. For this reason, it is recommended that you consider creating a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

  10. beanfair
    Member
    Posted 3 years ago #

    Seconding Esmi about the IMPORTANCE of child theme. The best way to do this is to change the function in your child theme for Twenty Ten, NOT the Twenty Ten functions.php file

  11. ellyhails
    Member
    Posted 3 years ago #

    Hi both - thanks for the responses.

    I know I know, I've been meaning to do this actually. I've been keeping a back up copy of the CSS coding I've used in case something goes wrong, but I guess that's just being lazy!

    I've read the link you sent esmi and think I understand all of it except where they say:
    Step 1 - Make a new directory in wp-content/themes, and name it twentyten-child (or anything you like).

    Where is wp-content/themes??! Sorry, don't have a clue - any guidance would be really appreciated thank you.

  12. esmi
    Forum Moderator
    Posted 3 years ago #

    Where is wp-content/themes?

    In the folder where you installed WordPress on your server.

  13. ellyhails
    Member
    Posted 3 years ago #

    Ermmm, and how do I get there?! Sorry.

  14. esmi
    Forum Moderator
    Posted 3 years ago #

    You would need to use FTP or whatever file management application your host provides.

  15. ellyhails
    Member
    Posted 3 years ago #

    So at the risk of sounding totally dumb, I'm not sure I have actually 'installed WP on my server' - or do I have to have done? Do you know of any support docs that explain all this in really simple terms?

    Thanks again for the help.

  16. wmease
    Member
    Posted 3 years ago #

    hi elly,

    if you are using hostgator please let me know and I'll do a little video showing you how to accomplish this...

  17. WP Voyager
    Member
    Posted 3 years ago #

    Elly,

    I'm not sure I have actually 'installed WP on my server' - or do I have to have done?

    If you have WordPress up and running on your site, then yes, you have WordPress installed. That should not be an issue.

    I would recommend checking out the help documentation at your Web Hosting company's website, specifically looking for information about FTP access to your account.

    You might also want to look at these links right here on WP.org:
    FTP in Glossary
    FTP Clients

    Once you get into your Server with FTP, it should be simple!

  18. ellyhails
    Member
    Posted 3 years ago #

    Thanks for the links and guidance - I'm going to look into this and see what I can come up with...

Topic Closed

This topic has been closed to new replies.

About this Topic