Cannot redeclare error using get_terms_dropdown
-
I am using the code provided by @msaari at
http://wordpress.org/support/topic/terms-of-custom-taxonomy-in-a-dropdown-menu
to create a dropdown of taxonomy terms and it works great.But I am trying to include additional dropdowns, within the same php widget, for different taxonomies and i get the following error:
Fatal error: Cannot redeclare get_terms_dropdown() (previously declared
I am only trying to search on one taxonomy at a time. Seems like it should be possible to use dropdowns for more than on taxonomy. Any ideas?
The code I used is below:
[Code moderated as per the Forum Rules. Please use the pastebin]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Cannot redeclare error using get_terms_dropdown’ is closed to new replies.