The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. andreimc
    Posted 6 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"
    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,


  2. Spencer Finnell
    Posted 6 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
    Posted 6 years ago #

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

    Best regards,


  4. Ogggeee
    Posted 5 years ago #

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

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

  5. Anrets
    Posted 5 years ago #

    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
    Posted 5 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
    Posted 5 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.


    [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
    Posted 5 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