I am trying to get two instances of this category dropdown code in a widget working, but while it works with just one widget, when I have two widgets going only the first one works properly, and the second one looks as though it’s working but when I make a selection it will not bring up the archive page.
Each of the two widgets has a different “child_of=xxx” for a different group of children.
I also tried a plugin (Alpha’s Categories Widget) and it does the same thing.
Anyone know why I can’t run two instances of wp_dropdown_categories?
- The topic ‘Cannot run two instances of wp_dropdown_categories. One works, second will not.’ is closed to new replies.