• Resolved andreimc

    (@andreimc)


    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

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

    Thread Starter andreimc

    (@andreimc)

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

    Best regards,

    /Andrei

    Ogggeee

    (@ogggeee)

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

    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.

    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

    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]

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

    Cheers – Keith

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘remove “Posted on” in Twenty Ten theme’ is closed to new replies.