Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I believe if you set the taxonomy to hierarchical, that’ll help. It’ll treat things more like categories and less like tags.

    Thread Starter robphat

    (@robphat)

    Michael,

    It is set to heiarchical, but I would like to show a drop down of my Speakers taxonomy in the sidebar like the native category dropdown available in wp. How can I do that?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sounds like you’re thinking of https://codex.wordpress.org/Function_Reference/wp_dropdown_categories which actually has a parameter that allows you to select which taxonomy you want it to display.

    taxonomy
        (string) (optional) Taxonomy to return. Valid values are 'category', 'post_tag' or any registered taxonomy.
    
            Default: category

    Probably your best bet. We don’t have any sort of custom display functionality built into the plugin. We focus just on registration.

    Thread Starter robphat

    (@robphat)

    Ah. That look like it will work, but where do I find the file with that code in it to edit? Or should I just add it to my child theme’s functions.php file?

    Or perhaps, since this is actually a woocommerce site, I should ask Woo where to find that?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    The function itself is already available to use, you just need to find the appropriate template to edit to use the function in. For that, I can’t say as I don’t know the theme you’re using at all and how things are set up.

    Thread Starter robphat

    (@robphat)

    Ok I’ll ask the theme devs. It’s a Woo Theme

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to display drop down of new taxonomy’ is closed to new replies.