Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created January 1, 2012 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billerickson/1547506 to your computer and use it in GitHub Desktop.
Save billerickson/1547506 to your computer and use it in GitHub Desktop.
Increase post count to 20 - Wrong Way
<?php
// Example of what NOT to do
// In archive-quotes.php
query_posts( 'posts_per_page=20' );
if( have_posts() ): while( have_posts() ): the_post();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment