Support » Plugin: Cool Tag Cloud » Show Child of Parent Category

  • Is it possible to make the tag could to show children of the parent category, when a user visits a category archive.

    Basically if you have post categories that has a hiearchy, when you visit a category arhcive, we would like the user to see the children of that category on the page. But to not show other parents and also to now show grand-children of the parent category being visited.

    So if one has category
    Audi
    -A4
    — 1st generation
    — 2nd generatino
    — 3rd generation
    -A6
    — 1st generation
    — 2nd generatino
    — 3rd generation
    -Q7
    — 1st generation
    — 2nd generatino
    — 3rd generation
    BMW
    -3 series
    — 1st generation
    — 2nd generatino
    — 3rd generation
    -5 series
    — 1st generation
    — 2nd generatino
    — 3rd generation
    -Z3 series
    — 1st generation
    — 2nd generatino
    — 3rd generation

    If the user visits Audi, they get to see a tag cloudl of vategoires but only A4, A6, A7.
    If they pick one of the models, lets say A4,
    then they see the children of that category which would be:
    — 1st generation
    — 2nd generatino
    — 3rd generation

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @progonat

    Not at the moment. We’ll make that possible in the next update. Will be released sometime next week.

    Thread Starter progonat

    (@progonat)

    Thanks for the reply. Can’t wait for this update. Looking forward to it. I will be checking every day. Thanks.

    Thread Starter progonat

    (@progonat)

    Any update on this?

    labi2000

    (@labi2000)

    Great plugin but need this functionality as well. Dev is there anything I can do to help?

    Plugin Author WPKube

    (@wpkube)

    Hi @progonat @labi2000

    Sorry for the delay, the update will be released today.

    Plugin Author WPKube

    (@wpkube)

    Hi @progonat @labi2000

    The new update (version 2.28) is released.

    If you are using the widget you’ll see the new option called “On Archive Display” with the options “All”, “Siblings”, “Children” and “Descendants”.

    “All” is the default behavior.

    “Siblings” shows the terms that are at the same level as the term for which the archive is for.

    “Children” shows the terms whose parent is the term that the archive is for. That’s the one you want @progonat

    “Descendants” shows all the child/grandchild/… terms of the term that the archive is for.

    If you use the shortcode then the attribute is on_archive_display and the values are the labels mentioned above, just lowercase.

    [cool_tag_cloud on_archive_display="children"]

    • This reply was modified 4 months ago by WPKube.
    Thread Starter progonat

    (@progonat)

    Fantastic! Thank you very much for your hard work.

    Thread Starter progonat

    (@progonat)

    I got it to work with a shortcode like this:
    [cool_tag_cloud style=”red” taxonomy=”category” on_archive_display=”children”]

    Plugin Author WPKube

    (@wpkube)

    You’re welcome @progonat

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.