WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. coroleu
    Member
    Posted 1 year 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

    MOVIES
    - DRAMA
    - TERROR
    - ACTION
    ...

    Any idea?

    http://wordpress.org/extend/plugins/list-custom-taxonomy-widget/

  2. Nick Halsey
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 5 months 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
    Peter

  4. esmi
    Forum Moderator
    Posted 5 months 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

About this Topic

Tags

No tags yet.