• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Show post info in only some category

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Show post info in only some category

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 7 years, 2 months ago by Annaedv.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 10, 2015 at 5:27 am #155703
    Annaedv
    Participant

    Hello
    Is it possible to show the post info (like date) only in some categorys and archive?
    Tips, tricks or a plugin?

    Anna

    June 10, 2015 at 7:20 am #155714
    Brad Dalton
    Participant

    Yes. You can remove it conditionally from any archive using CSS or PHP code. http://wpsites.net/web-design/modify-post-info-genesis/


    Recent Client work

    June 11, 2015 at 5:32 am #155826
    Annaedv
    Participant

    Hello and thank´s.
    That worked but only in one category. I have four categorys that I want to add post info to.
    If i copy and past this code four times it only workes with the last one.
    https://github.com/Annaedv/post-info-in-specific-category.git

    June 11, 2015 at 5:44 am #155829
    Annaedv
    Participant

    ...I don´t know if that git-link work. I used nr 3:
    "enables you to remove the post info from posts in all categories but keep it displayed on posts in one category, which in this example, is the news category"
    Anna

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble