I'm using wp_dropdown_categories() to output a dropdown.
In default view (without having clicked it) it shows the name of the first category in the list. I'd like it to say "Categories". Is this possible?
Thanks in advance
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
You can use the show_option_all argument:
<?php $args = array( 'show_option_all' => 'Categories' ); wp_dropdown_categories( $args ); ?>