Support » Plugin: Advanced Categories Widget » custom taxonomies

  • Resolved pgDarkness

    (@pgdarkness)


    Hi,
    can you add a feature to use any type of taxonomy and custom taxonomy?
    We currently are limited to “categories”. for example “product_cat” would be awesome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • pgDarkness

    (@pgdarkness)

    anyone care to respond?

    Plugin Author darrinb

    (@dbmartin)

    There is actually a filter that can accept additional taxonomies:

    If you look at get_allowed_taxonomies() in the Advanced_Categories_Widget_Utils class, you’ll see a filter:

    $taxes = apply_filters( 'acatw_allowed_taxonomies', $_ptaxes );

    You could add custom taxonomies by tapping into that filter.

    Thank you.

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