Read More Link Question
-
Greetings,
I am having an issue with the “read more” jump link. It works just fine on my blog page, but on another page of the site I’m also displaying the latest 5 posts. On that 2nd page, all the posts show, but the “read more” link doesn’t. How do I correct this?
Here is the php code that I use on that 2nd page:
<?php require_once('wp-config.php'); wp('feed=rss'); start_wp(); if (have_posts()) : ?> <?php query_posts('showposts=5'); ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <small><!-- by <?php the_author() ?> --> by <a href="<?php the_author_url(); ?>"><?php the_author(); ?></a><br /><?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?></p></small> <div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div> <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> </div> <?php endwhile; ?> <?php endif; ?>
Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Read More Link Question’ is closed to new replies.