Skip to content

Commit f388f48

Browse files
committed
actually test some pagination
1 parent 4e6581f commit f388f48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33

44
get_header();
55

6-
query_posts( array( 'post_type' => 'page', 'paged' => get_query_var( 'paged' ) ) );
6+
query_posts( array( 'post_type' => 'post', 'paged' => get_query_var( 'paged' ) ) );
77
?>
88

99
<div id="primary">
1010
<div id="content" role="main">
1111

12-
<ol>
12+
<ul>
1313
<?php while ( have_posts() ) : the_post(); ?>
1414
<li><?php the_title(); ?>
1515
<?php endwhile?>
16-
</ol>
16+
</ul>
1717

1818
<?php wp_pagenavi(); ?>
1919
<?php echo wp_pagenavi( array( 'echo' => false ) ); ?>

0 commit comments

Comments
 (0)