Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16293

    Making my way through a customization of this great theme, I’ve come upon this question:

    How can I hide the post-meta-infos div only for posts of specific categories?

    Thanks to anyone offering their time and insight.

    The way the Template builder works, I am able to use post content in some of my page-like presentations, but I don’t want the post-meta-infos showing on those presentations because they’re not appropriate. I could simply hide it in the CSS (my interim solution), but there are some posts that I DO want to have the meta shown on (like a regular blog post).

    Thanks again for any help.

    #90982

    Hi qaidj,

    If you only want to hide it on certain pages, you could just add that page to the css selector. Something like:

    #top.page-id-31 .post-meta-infos {
    display: none;
    }

    Where the page ID number is the specific one for your page.

    Regards,

    Devin

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Hiding post-meta-info only for certain categories’ is closed to new replies.