wp_dropdown_categories not showing option as selected
OK, so you’ve put this code on category archive, I assume, and the dropdown always shows the same category, right? And it’s exactly what it’s supposed to do with current code. In this line: ‘selected’ => 1, you decide, that item with value 1 is selected. Probably there is no such value (1 doesn’t occur … Read more