WordPress.org

Support

Support » Plugins and Hacks » Using WP-PageNavi on home page with filtered categories…

Using WP-PageNavi on home page with filtered categories…

  • dex
    Participant

    @dex

    Hi all

    I’m using WP-PageNavi which works fine with following code :

    <?php $recent = new WP_Query(array('cat'=>9, 'paged' => get_query_var('paged'))); while($recent->have_posts()) : $recent->the_post();?>

    Instead of using only cat=9 i would like to use “many” cat(s).
    I’ve tried with ‘cat’=>9,10,11,12, but nothing happend…
    What can i do
    Thx and sorry for my poor English 😉

    http://wordpress.org/extend/plugins/wp-pagenavi/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Using WP-PageNavi on home page with filtered categories…’ is closed to new replies.