• Resolved rhoi

    (@rhoi)


    I have 2 divs in homepage the left and right divs. all category 1 should display in left div and all category 2 should display in the right div. Every Category should appear only 3 recent posts. And it only need one pagination. In the second page of pagination it only need to have 1 div and all recent posts from 2 categories will be join together but still in-order according to date posted.

    Is this Possible? Or do you have other Way to do this without using multiple loops?

    [ Please do not bump, it’s not permitted here. ]

Viewing 1 replies (of 1 total)
  • Thread Starter rhoi

    (@rhoi)

    I’ve found a solution now. 1 pagination is working in 2 filtered divs though the second page was still have 2 divs instead of 1 div only.

    if (have_posts()) :
    global $query_string;
    query_posts(  $query_string . '&cat=8&posts_per_page=2');
    thesis_loop::home();						
    
    query_posts(  $query_string . '&cat=7&posts_per_page=2');
    thesis_loop::home();
    endif;
    
    wp_pagenavi();
Viewing 1 replies (of 1 total)
  • The topic ‘Homepage Loops but one Pagination’ is closed to new replies.