Read more: displaying an excerpt, but losing the read more link on a page
-
So I’m pulling a page to two locations – on one page I want the excerpt to show, on another I do not.
I’ve added the standard
<!--more-->
to my page, so when I call for it on the one page, it shows the excerpt accordingly. However, when I call it to the second page (which is a different template), what code do i use to hide the more link tag?Simply:
<?php the_content(''); ?>
Just shows an empty a tag with the more classIf I try:
<?php the_content('','FALSE',''); ?>
I lose everything above the more tag… and still show the more tag. So is there a syntax I’m missing? All I want is for that one page to show the full content, without a read more link (even if it’s empty). Thank you!
- The topic ‘Read more: displaying an excerpt, but losing the read more link on a page’ is closed to new replies.