Viewing 9 replies - 1 through 9 (of 9 total)
  • The easier way to do what you want is to use “display: none;” in the CSS code…

    Thread Starter ian277

    (@ian277)

    Not sure where to place “display: none;”
    In the style sheet?

    What will it remove?

    You can use it to hide whatever element you assign it to – generally using a class or id for that element. If you post a link to your site, someone can give you specific help. But make sure you are not making changes to your theme files — you need to have a child theme or custom CSS option set up.

    Thread Starter ian277

    (@ian277)

    Thanks –

    https://www.heavybrunch.com

    I’ve got a twenty twelve child theme up and want to remove date, author, etc from the posts.

    Thread Starter ian277

    (@ian277)

    I’ve looked in the twenty twelve theme for php _time, _date, _author in the Index.php and everywhere else but could not find it to delete or comment it out after copying it to my child theme folder.

    Since twenty twelve is still new so there aren’t many things online I can find about it.

    You need to use a CSS selector so the display: none; gets applied to something.

    Try this:

    .entry-meta {
       display: none;
    }

    (In the style.css file — don’t mess with php files.)

    Thread Starter ian277

    (@ian277)

    I did that – copied
    .entry-meta {
    display: none;
    }

    to my child theme style.css and it removed the twenty twelve style.

    Is there any way to avoid that?

    Thread Starter ian277

    (@ian277)

    Whoa, nevermind about the last issue – for some reason the import code got screwy. Thanks for the help WPyogi!

    Marking this as resolved.

    ??

    Hi, I have exactly the same issue, except I cannot resolve it – I have child theme up and working and have tried posting this in to style.css:

    .entry-meta {
    display: none;
    }

    but still the date is shown in the posts… the post is here:
    https://www.dgbc.org.uk/welcomesheet/
    if anyone can help, I would be very grateful!
    Matthew

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Remove Author/Date/Category from all posts twentytwelve’ is closed to new replies.