List Custom Taxonomy Widget
[resolved] [closed] show childs taxonomy from current parent taxonomy (4 posts)

  1. coroleu
    Posted 2 years ago #

    Hi, i need to show childrens taxonomies from current parent taxonomy.

    For example, im in current taxonomy /movies, and i will show in a widget all children taxonomy from movies

    - DRAMA
    - TERROR
    - ACTION

    Any idea?


  2. Nick Halsey
    Plugin Author

    Posted 2 years ago #

    Just use the plugin's built-in child of field. Find the parent category id and enter it into the field.

    If you need it to pull in the currently displayed item, you'll need to use the WordPress function wp_list_category() and use the currently displayed taxonomy id in the child_of argument.

  3. screenbeetle
    Posted 1 year ago #

    Hi Nick.

    It looks like you've touched on what I need in this thread. Would you mind elaborating a little if you have a few minutes?

    My Situation:
    I have several hierarchical custom taxonomies - each parent with a number of children. I am using the same sidebar and widget for all taxonomy pages and would like the widget to detect which parent the user has landed on and only show that taxonomies children.

    As far as I understand:
    You widget can do this but do I need to hack the core files or can it be done through the widget settings? I know some widgets allow wp queries to be entered into the settings fields.

    Thanks in advance

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    @screenbeetle: If you require assistance then, as per the Forum Welcome, please post your own topic.

    This 9 month old topic references an old version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • List Custom Taxonomy Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.