Would you help me because I'm very confused.
I'm newbie, in try to use wordpress to build new site.
but my previous/next page link not working and not send me anywhere.
This code from archive.php and search.php
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>
But at my index.php, no have this code.
When I try to put this code to my index.php, this previous/next link not send me anywhere. I dont know how to solve this trouble.
Would you help me?
Below is my full index.php
PHP Code:
<?php get_header(); ?> <?php include (TEMPLATEPATH . "/frame.php"); ?> <div id="content-big"> <?php $count = 0;?> <?php query_posts('showposts=15'); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="postindex" id="post-<?php the_ID(); ?>"> <h2>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2> <div class="entry"> <?php the_excerpt(__('Readmore �'));?> </div> <div class="spacer"></div> <ul class="post-data"> <li class="comments"> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> <li class="posted"> <?php the_time('F jS, Y') ?> by <?php the_author() ?> <?php edit_post_link('Edit','',''); ?> </div> <?php comments_template(); ?> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?> <?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?> <?php get_footer(); ?>
Thank you very much for your advance.
Regards
Edwin
Last edited by chrishirst; 12-27-2009 at 05:31 AM..
|