Archived topic
Blog page just ignores Customizer settings
5 replies · Started by nickgray on September 11, 2020
Why some of the blog posts are showing such a long excerpts? Also, when I disable excerpts by setting Excerpt word count to 0, they got disabled only on some of the posts while other's still have those long excerpts even multiple paragraphs?
Hi there,
hmmm.... are you using any plugins or custom functions that change the Excerpt behaviour ?
Hi. I think I know now what caused the problem. I'm switching from Avada theme and majority of 300+ posts have <!--more--> tag in text (it has the form of HTML comment), which should have a role of read more button. Is it possible to add some filter in order to remove the <!--more--> tag across all posts that contain it, so I don't have to do it manually?
Try the solution Tom provides here:
https://generatepress.com/forums/topic/is-it-possible-to-make-gp-to-ignore-more-tag/#post-875026
Adding PHP:
I've just added it to functions.php and it worked like a charm, thanks mate!
Glad to hear that!