• Resolved osterman

    (@osterman)


    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.

    https://www.ads-software.com/extend/plugins/wp-pagenavi/

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP-PageNavi] Custom query and form submit’ is closed to new replies.