On my archive page, the_excerpt() does not display content before the more tag, but a cut of the post's full content. I'm obliged to fulfill the "Excerpt" in the post editor which will override it. How to force the_excerpt() to show only the content before the more tag?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
Why not just switch out |
|||||||
|
or add the following function to functions.php:
the previous function appends the perma link of the post to the excerpt,we used the filter |
|||
|
|