Add Read More link next to customized excerpt (2 posts)

  1. juliabarry
    Posted 3 years ago #

    I'm trying to add a Read More link next to the excerpt, and I see that the theme I'm building on has changed excerpt_more to path_excerpt_more.

    But when I try to use that like this:

    <div class="entry-summary">
    	  <?php the_excerpt(); ?><?php path_excerpt_more(); ?>

    ...no Read More link appears. What else do I have to do to get the link to print?

    I also tried hard coding it in, but the link refers back to the homepage, rather than connecting to the blogpost's URL:
    <?php the_excerpt(); ?><a href="<?php get_permalink($post->ID) ?>">Read more</a>

    We're not using <!--more--> to create the excerpt, but rather the excerpt meta box on the post page, if that makes a difference.


  2. juliabarry
    Posted 3 years ago #

    Anyone have any tips on this? Much appreciated!

Topic Closed

This topic has been closed to new replies.

About this Topic