We have selected to show 5 posts per page in admin panel.
And we want to show 10 posts per page in specific category (for example, "projects" width id=2).
How would we do it?
We have selected to show 5 posts per page in admin panel.
And we want to show 10 posts per page in specific category (for example, "projects" width id=2).
How would we do it?
Change the normal loop to a query post. Like
if ( is_category(2) ){
//The Query
query_posts('posts_per_page=5');
//The Loop
if ( have_posts() ) : while ( have_posts() ) : the_post();
the_content();
endwhile; else:
echo'Nothing here...';
endif;
//Reset Query
wp_reset_query();
}