Add query_posts with posts per page parameter
This commit is contained in:
parent
8c44481d51
commit
64f6ed823d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<?php get_header(); ?>
|
||||
|
||||
<div class="content section-inner">
|
||||
<?php $posts_per_page = 12; ?>
|
||||
<?php query_posts('posts_per_page=12'); ?>
|
||||
<?php if (have_posts()) : ?>
|
||||
|
||||
<?php
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
</div> <!-- /posts -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php wp_reset_query() ?>
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php hitchcock_archive_navigation(); ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue