• I have my home.php page set to display just the most recent excerpt from a specific category. It displays the excerpt just fine but the “Read more” link doesn’t show up. The code is from the Revolution Theme. Code and screenshot below, any help would be appreciated.

    <?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; ?>

    image https://www.timbercrawler.com/tim/screenshot331.jpg

    where’s muh link?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Just thought you might like to know that your domain is wide open with all your files accessible in a browser when you type in the domain name provided above leaving out the “screenshot331.jpg” (like what normally happens in HTML when one forgets to publish an index file for each directory or main folder)

    Reading the codex you might find out that the “more” link works only with the_content.
    The excerpt and the more link are TWO (2) different approaches for the same issue: showing only a “blurb” of the post. They do NOT work together. It’s an ‘either… or’ situation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Read More” link is missing’ is closed to new replies.