WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] remove "Posted on" in Twenty Ten theme (8 posts)

  1. andreimc
    Member
    Posted 4 years ago #

    Hi everyone,

    I'm using WP 3.0 and Twenty Ten theme.
    I've read on some thread around here that if I want to make my website look more like a website :) and less like a blog, I could remove the parts in the posts looking like:

    Posted on
    Posted in

    However I have edited single.php file in the Twenty Ten theme, and found two divs dealing with the above:

    div class "entry-utility" that controls "posted in"
    and
    div class "entry-meta" that controls "posted on".

    After completely deleting these divs, nothing is unchanged on the page. Is there anything else I should do, apart from deleting these divs that call their functions?

    Any hint is very appreciated.

    Thank you very much in advance.

    Best regards,

    Andrei

  2. Spencer Finnell
    Member
    Posted 4 years ago #

    Removing it from single.php will only remove when you are viewing an individual post. You need to remove the unwanted stuff from loop.php as well.

  3. andreimc
    Member
    Posted 4 years ago #

    Your answer was spot on, thank you very much, all is ok.

    Best regards,

    /Andrei

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

  5. Anrets
    Member
    Posted 3 years ago #

    THANK YOU OGGGEEE!!
    I had found many different solutions that ranged from the ok to the downright ugly.
    But your suggestion was by far the simplest and worked beautifully for the "twenty ten" theme. Thanks again.

  6. keith_e
    Member
    Posted 3 years ago #

    Hi Ogggeee

    Forgive me for this very basic question regarding your recommended addition to the style.css file for TwentyTen theme.

    I put the addition as such --

    /* =Content
    -------------------------------------------------------------- */
    Code: .post .entry-utility, .post .entry-meta {display:none;}

    #main {
    ....etc etc

    I'm not seeing any effects on posts that I've published, and I suspect that I've not put it in the correct spot; or I've not understood something.

    Your advice please
    Cheers - Keith

  7. San Alwigi
    Member
    Posted 3 years ago #

    Hello Keith_e

    You need to leave out the word 'Code:'

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

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

    and you'll be OK.

    Cheers!

    [mod: things will be much clearer if you all use the 'code' button of this little editor to mark any code you post here]

  8. keith_e
    Member
    Posted 3 years ago #

    Thanks San Alwigi. Made the change and worked like a charm!

    Cheers - Keith

Topic Closed

This topic has been closed to new replies.

About this Topic