'Read More' not displaying after manual excerpt
-
I’m trying to use this…
<div class="readmore"><a class="readmore" href="'. get_permalink( get_the_ID() ) . '"><small> CONTINUE READING</small></a></div>
…to show below the excerpt on all of my posts. You can see what’s going on HERE.
My functions.php:
// Replaces the excerpt "more" text by a link function new_excerpt_more($more) { global $post; return '<div class="readmore"><a class="readmore" href="'. get_permalink( get_the_ID() ) . '"><small> CONTINUE READING</small></a></div>'; } add_filter('excerpt_more', 'new_excerpt_more');
I get the ‘read more/continue reading’ button, but only when the post doesn’t have a manual excerpt. I want ‘continue reading’ to display beneath all of the posts, with my formatting.
Help is greatly appreciated! I am over my head on this one…
Thanks so much!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘'Read More' not displaying after manual excerpt’ is closed to new replies.