Wordpress - Page 2 Same as Page 1
I think this is the solution - WordPress › Support » "Older Posts" feature not working
But, I have no idea how to implement it. Any suggestions?
Here is my website - http://www.laptop-speakers.org/
Here is the code:
<?php get_header(); ?>
<div id="content">
<div id="navmenu">
<ul>
<?php wp_page_menu( 'show_home=1' ); ?>
</ul>
</div>
<br />
<?php query_posts("showposts=1&category_name=Introduction"); ?>
<?php while (have_posts()) : the_post(); ?>
<div id="introText">
<?php the_content(); ?>
</div>
<?php endwhile; ?>
<div class="edge1"></div>
<div class="edge2"></div>
<div id="rtBorder">
<table id="reviewTable" cellspacing="0" cellpadding="0">
<tr>
<td class="rtH1" width="210"><h3>Product</h3></td>
<td class="rtH1" width="249"><h3>Description</h3></td>
<td class="rtH1" width="139"><h3>Price</h3></td>
<td class="rtH1" width="139"><h3>Our Rating</h3></td>
<td class="rtH2" width="201"><h3>Detailed Review</h3></td>
</tr>
<!-- Featured Reviews -->
<?php query_posts("category_name=Featured"); ?>
<?php while (have_posts()) : the_post(); ?>
<tr>
<?php if (get_post_meta(, 'productImage', true) != '') {?>
<td class="rt1"><img src="<?php echo get_post_meta(, 'productImage', true)?>" class="productlogo" alt="" /></td>
<?php } else {?>
<td class="rt1"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/productlogo.jpg" class="productlogo" alt="" /></td>
<?php }?>
<td class="rt1">
<p><?php the_excerpt()?></p>
</td>
<td class="rt1">
<p><span><?php echo get_post_meta(, 'price', true);?></span></p>
</td>
<td class="rt1">
<?php = get_post_meta(, 'stars', true);
while ( > 0) {?>
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/star1.jpg" alt="star" />
<?php --;
} ?>
</td>
<td class="rt2">
<a href="<?php the_permalink();?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/btn-readfullreview.jpg" alt="Read Full Review" /></a>
</tr>
<?php endwhile; ?>
</tr>
</table>
</div>
<?php = (get_query_var('paged')) ? get_query_var('paged') : 1;
= get_cat_id('Introduction');
query_posts("cat=-".."&paged=&posts_per_page=5"); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="detailed">
<h4><a href="<?php the_permalink();?>"><?php the_title();?></a></h4>
<?php = get_post_meta(, 'stars', true);
while ( > 0) {?>
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/star2.jpg" alt="star" />
<?php --;
} ?>
<?php the_content();?>
<a href="<?php echo get_post_meta(, 'offerURL', true)?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/cta.jpg" alt="Visit Website Now!" /></a>
</div>
<?php endwhile; ?>
<div class="navigation">
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
else { ?>
<div class="right"><?php previous_posts_link('Newer Reviews »') ?></div>
<div class="left"><?php next_posts_link('« Older Reviews') ?></div>
<?php } ?>
</div>
<div id="footer-sidebar" class="secondary">
<div id="footer-sidebar1">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(3) ) : ?>
<?php endif; ?>
</div>
<div id="footer-sidebar2">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(4) ) : ?>
<?php endif; ?>
</div>
<div id="footer-sidebar3">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(5) ) : ?>
<?php endif; ?>
</div>
</div> <!-- Close footer-sidebar -->
<div style="clear-both"></div>
<?php get_footer();?>
Any help would be appreciated.
Thanks
tv episodes online