• I use a sticky post as a ‘second header’ on my twentyten theme and I would like to remove, what I think is called the metadata, at the bottom of just this sticky post (in my case this seems to be ‘posted in’, ‘leave a comment’ and ‘edit’). If it can be done in the CSS editor that would be great as I’m a bit shy of getting into the php stuff.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Don’t edit the Twenty Ten theme. Instead create a child theme for your changes. Once your child theme is active, we should be able to help with the customisation.

    Thread Starter deskarati

    (@deskarati)

    Thanks for the reply, but I don’t feel experienced enough yet to put together a child theme, hopefully later when I’ve gained a bit more confidence.
    Until then I have been editing the CSS in the CSS Editor and keeping back up copies as I go.
    Please help.

    You can download a basic Twenty Ten child theme from here.

    Thread Starter deskarati

    (@deskarati)

    So that’s a no then.
    Can anybody else help?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    That’s not a no, that’s a “don’t hurt yourself in gut wrenching painful ways and why not do it right from the get go?” ??

    Esmi gave you a start (this is a self-help forum) and you really do want to use a child theme.

    Thanks for the reply, but I don’t feel experienced enough yet to put together a child theme, hopefully later when I’ve gained a bit more confidence.

    Sure you are.

    – Download that child theme.

    – Install that zip file via your WordPress dashboard.

    – Edit wp-content/themes/twentyten-child/style.css and add these lines:

    .sticky .entry-meta {
    	display: none;
    }

    – Enjoy Child Theme Goodness. The meta info (class entry-meta) should be hidden on the sticky post after that.

    Note: I just noticed that child theme is for twentyten and my advice was for Twenty Eleven. Change the twentyten strings to twentyeleven in style.css and you’ll be fine.

    tlburriss

    (@tlburriss)

    THanks for the idea of the child theme – how do I remove the meta data from all posts, not just from sticky posts?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove metadata from sticky post’ is closed to new replies.