Support » Plugin: WP-PageNavi » two navigation in one page !

  • Resolved jimmyphong

    (@jimmyphong)


    im using custom query to get two categories to display in custom page !

    so how can i get it work for two custom query

    when i using get query var page for query one , it also get for query two how can i fix it !! thanks
    `if( get_query_var( ‘paged’ ) )
    $args[‘paged’] = get_query_var( ‘paged’ );

    else {
    if( get_query_var( ‘page’ ) )
    $args[‘paged’] = get_query_var( ‘page’ );
    else
    $curentpage = 1;
    set_query_var( ‘paged’, $curentpage );
    $args[‘paged’] = $curentpage;
    }

    https://wordpress.org/plugins/wp-pagenavi/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘two navigation in one page !’ is closed to new replies.