WordPress.org

Ready to get started?Download WordPress

Ideas

in_parent_category

  1. jenz
    Member

    12345

    There are several times when I need to implement UI elements based on category. I can use in_category for some, but since "Unfortunately, in_category doesn't understand category child-parent relationships." the logic can get messy and is not dynamic. If we could have something like in_category that would understand parent relationships (in_parent_category()) - this would be huge!

    Posted: 6 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    23 Votes
  • Status

    This is plugin territory