We've selected to exhibit 5 posts per page in admin panel.

And you want to show 10 posts per page in specific category (for instance, "projects" width id=2).

Wouldso would we all do it?

I'd exactly the same problem.

This labored for me personally:

if ( is_category(2) ){
global $query_string;
query_posts( $query_string . "&posts_per_page=500" );

//The Query query_posts('posts_per_page=5')

//The Loop if ( have_posts() ) : while ( have_posts() ) : the_publish() .. endwhile else: .. endif

//Totally reset Query wordpress_totally reset_query()


This ought to be utilized in the primary loop only. . If you wish to create separate Loops outdoors from the primary one, you need to create separate Wordpress_Query objects and employ individuals rather.

Cheers Pali Madra

Alter the normal loop to some query post. Like

if ( is_category(2) ){

//The Query

//The Loop
if ( have_posts() ) : while ( have_posts() ) : the_post();
endwhile; else:
   echo'Nothing here...';

//Reset Query