I’m trying to add the excerpt after a posts h1 title.
I used this in the hook “generate_after-entre-title”:
<div class="excerpt-style"><?php the_excerpt(); ?></div>
It works, but the problem is that it adds the “read more” button at the bottom automatically.
I tried to remove it with the following:
.read-more-button-container {display:none;}
But then ALL the “read more” buttons on the site are removed. I want to keep them on the blog articles list page at least.
What’s the best way to do this?
Thanks in advance,
Edin