WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Page Numbers] custom query, not able to include $paged

[Plugin: WP Page Numbers] custom query, not able to include $paged

  • Im using a custom way of displaying posts, which I have to due to sticky posts’ position manipulation so I’m displaying posts on a per post basis using the following:

    foreach( $post_IDs as $gotten ){
    	$post = get_post( $gotten );
    	setup_postdata( $post );
        //doing my thing
    endforeach;

    So here I am, looping through an array of post_id’s, which were obtained using $paged in the query, but of course not making a difference later on when I’m getting it on a post by post basis. Strangest thing is that the posts display correctly (20 per page) until the posts run out but the pagination continues till its own last page (calculating default pagination @ 10 posts per page)

    Does anyone, anywhere, have a possible solution for this?

    http://wordpress.org/extend/plugins/wp-page-numbers/

  • The topic ‘[Plugin: WP Page Numbers] custom query, not able to include $paged’ is closed to new replies.