I’m trying to create a custom query from a form submit with two dropdown boxes. The form is sending the $region and $job as POST vars.
This is the custom query used in my template:
query_posts( array( 'paged' => get_query_var('paged'), 'orderby' => 'title', 'posts_per_page' => 25, 'order' => 'ASC', 'category__and' => array( $region, $job ) ) );
The first page with results works fine but when i navigate to page 2,3,4 etc they are blank. I would greatly appreciate any help.
- The topic ‘[Plugin: WP-PageNavi] Custom query and form submit’ is closed to new replies.