Add Read More link next to customized excerpt
-
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(); ?> </div>
…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.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add Read More link next to customized excerpt’ is closed to new replies.