Support » Themes and Templates » TwentyTen Theme: How to remove "Posted by Joe Blow" text & link at top of posts?

  • 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

Viewing 15 replies - 1 through 15 (of 17 total)
  • 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;

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

    Moderator t-p

    (@t-p)

    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.

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

    @ogggeee, That will remove a lot more than just the ‘by Author’ text though…

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

    }.entry-meta{display:none;}

    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!

    esmi

    (@esmi)

    Forum Moderator

    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.

    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

    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.

    esmi

    (@esmi)

    Forum Moderator

    Where is wp-content/themes?

    In the folder where you installed WordPress on your server.

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

    esmi

    (@esmi)

    Forum Moderator

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

    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.

    hi elly,

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘TwentyTen Theme: How to remove "Posted by Joe Blow" text & link at top of posts?’ is closed to new replies.