WordPress.org

Ideas

Add 'Depth' Parameter to the_category()

  1. kennethwatt
    Member

    12345

    It would be very useful to be able to specify the depth of listing categories (the_category()) in the loop.
    Kenneth

    Posted: 5 years ago #
  2. pmdci
    Member

    12345

    Great idea.

    What I would like to do, is instead of being able to list in a post something like:

    CATEGORIES: Chicago, 1 bedroom flat, 1,200 USD

    I would like to, instead, be able to call the_category() multiple times, and filter it per parent categories, so I could have something like:

    CITY: Chicago
    PROPERTY TYPE: 1 bedroom flat
    RENT PCM: 1,200 USD

    (That is, being Chicago a child category from CITY, 1 bedroom flat a child category from PROPERTY TYPE, and so on)...

    Posted: 5 years ago #
  3. jordash56
    Member

    12345

    Yeah adding a depth for this would be way handy, actually all of the WordPress Category functions should include Depth by default.

    Posted: 3 years ago #
  4. Is it works for now? 2 years ago wa posted this idea, and....?

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    10 Votes
  • Status

    This idea is under consideration