• Why isn’t my Read More link not working?

    <?php $recent = new WP_Query("cat=4&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
    <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
      <?php the_excerpt(__('Read more'));?><div style="clear:both;"></div>
    <?php endwhile; ?>

Viewing 1 replies (of 1 total)
  • The “more” link is supposed to work ONLY with the_content tag. You have the_excerpt, which already is cutting the posts… so it wouldn’t make sense to duplicate the function.

Viewing 1 replies (of 1 total)
  • The topic ‘Read More Link Not Working’ is closed to new replies.