• Hello,

    I made a custom taxonomy with this code:

    $args = array(
    ‘hierarchical’ => true,
    ‘labels’ => array(
    ‘name’ => x( ‘Taxonomy Name’, ‘taxonomy general name’, ‘THEME_DOMAIN’ ), ‘singular_name’ => _x( ‘Singular Name’, ‘taxonomy singular name’, ‘THEME_DOMAIN’ ), ‘search_items’ => ( ‘Search’, ‘THEME_DOMAIN’ ), ‘popular_items’ => ( ‘Popular’, ‘THEME_DOMAIN’ ), ‘all_items’ => ( ‘All’, ‘THEME_DOMAIN’ ), ‘parent_item’ => null, ‘parent_item_colon’ => null, ‘edit_item’ => ( ‘Edit’, ‘THEME_DOMAIN’ ), ‘update_item’ => ( ‘Update’, ‘THEME_DOMAIN’ ), ‘add_new_item’ => ( ‘Add new’, ‘THEME_DOMAIN’ ), ‘new_item_name’ => ( ‘New’, ‘THEME_DOMAIN’ ), ‘add_or_remove_items’ => ( ‘Add or remove’, ‘THEME_DOMAIN’ ), ‘menu_name’ => _( ‘Taxonomy Name’, ‘THEME_DOMAIN’ ),
    ),
    ‘show_ui’ => true,
    ‘show_admin_column’ => true,
    ‘update_count_callback’ => ‘_update_post_term_count’,
    ‘query_var’ => true,
    ‘rewrite’ => array( ‘slug’ => ‘taxonomy-slug’ ),
    );

    register_taxonomy( ‘taxonomy_name’, ‘product’, $args );

    and it works just fine, i can add custom taxonomies like a do in the categories section, and i want to include this option to the yith filter because when i try to add new filter it only gives me the options of filter by category, tags, attributes and not the custom taxonomy i made. Can you provide me a custom code maybe that i can insert to the plugin in order for that to work?

Viewing 1 replies (of 1 total)
  • Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    unfortunately, in this version is not possible to add custom taxonomies to the filters.

    Have a great day!

Viewing 1 replies (of 1 total)
  • The topic ‘Custom taxonomies in filters’ is closed to new replies.