Reply To: Pagination


radek
Member

Hi,

I have not yet fully activated the theme – I can send it the link later.

In the meantime, I have found some help in your earlier advice on the topic and managed to get older/new posts going.  I would however prefer to have page 1,2,3 instead as shown on your demo.

This is my code in the bloglist template.
<?php get_header(); ?>
<div class="contents-wrap float-left two-column">

<?php
if ( get_query_var('paged') ) {
$paged = get_query_var('paged');
} elseif ( get_query_var('page') ) {
$paged = get_query_var('page');
} else {
$paged = 1;
}?>
<?query_posts('paged='.$paged.'&posts_per_page=');
?>

<div class="entry-content-wrapper">
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php get_template_part( 'loop', 'blog' ); ?>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>