WordPress.org

Support

Support » Plugins and Hacks » List Custom Taxonomy Widget » [Resolved] show childs taxonomy from current parent taxonomy

[Resolved] show childs taxonomy from current parent taxonomy

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nick Halsey

    @celloexpressions

    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.

    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
    Peter

    esmi

    @esmi

    Forum Moderator

    @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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] show childs taxonomy from current parent taxonomy’ is closed to new replies.
Skip to toolbar