Hi
I am going nuts over this. Trying to get blogposts to show up on a page. Made a page template from page.php where I only added one line of code, namely my loop function
// calling the widget area 'page-bottom'
get_sidebar('page-bottom');
my_index_loop_column();?>
</div><!-- #content -->
The loop function goes like this
function my_index_loop_column() {
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts('showposts=6&paged=' . $paged);
global $more;
$more = 0;
$col = 1;
while (have_posts()) : the_post();
if ($col == 1) echo "<div class=\"row\">";?>
<div id="post-<?php the_ID() ?>" class="post col<?php echo $col;?>">
<?php thematic_postheader();?>
<div class="entry-content">
<?php thematic_content();
echo $paged;?>
</div><!-- .entry-content-->
<?php thematic_postfooter(); ?>
</div><!-- .post -->
<?php $count = $count + 1;
if ($col == 1) echo "</div>"; (($col==1) ? $col=2 : $col=1);
endwhile;
thematic_navigation_below();
wp_reset_query();
}
It works except that going to page 2 does not work. I have added a printout of the variable $paged as you can see and it stays on 1 all the time. When I activate the pagenavi plugin I can see the it counts out the correct number of pages and the link to page 2 works… I go to host/page/2 but its the same posts as on page 1 that show up. What the heck am I doing wrong?
This method worked for another site I made but this time I am on wp 3.0 and thematic 0.9.7.4. Maybe that update makes it not work.