Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Use wp_dropdown_categories function for post filtering selectbox #19
I had a project with a rather large tree of nested taxonomy terms and noticed the selectbox in your codebase does not visually display nested taxonomy terms. I changed some code to make sure nested (hierarchical) taxonomy terms are displayed nicely in the selectbox for post filtering. I used the native wp_dropdown_categories() for this. Also this change requires less code than the original code. Please consider this change.