New answers tagged dropdown
The complete tutorial to get the post based on category what we select in widget: Plugin Display Post Title's Category Selection— BufferCode.com You can get how to get the post title you can restrict the number of the post to display
The $_GET['value'] is related to the NAME attribute from your SELECT. The select name can be changed using the name parameter in the wp_dropdown_categories() function too. Use print_r($_GET); to see what values your form is submitting and then use them in your get_posts() query.
You're on the right track with using a form, the only thing you're missing, you have to submit what you have selected. For example like this: <form method="GET" action=""> <div> <?php $select = wp_dropdown_categories('show_option_none=Select category&orderby=name&echo=0'); $select = ...
Top 50 recent answers are included