WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Taxonomy Drop Down with hierarchical view using $terms (2 posts)

  1. HaneD
    Member
    Posted 1 year ago #

    I have my code here

    It creates a drop down for my custom taxonomy. It works 100% I just cant get it to show my categories with hierarchy like it would with wp_dropdown_categories.

    I have tried to use wp_dropdown_categories with a walker but it outputs a slug website.com?equipment_cat instead of website.com/equipment_cat. Here is my code for the wp_dropdown_categories with walker.

    Help would really be appreciated.

  2. HaneD
    Member
    Posted 1 year ago #

    I can kick myself, been struggling for 2 days and all that I had to do to make the wp_dropdown_categories option work is change the name to the same value as the taxonomy.

Topic Closed

This topic has been closed to new replies.

About this Topic