-
techbackend04
Hello,
I want to remove the ‘Excerpts’ from the category archive pages. I have set ‘excerpt word count’ to 0 in the customize > Layout > Blog > Excerpt word count > 0.
Still, excerpt is not removed.
Any idea, what wrong am I doing.Thanks
-
Can I see your category archives?
-
techbackend04
Is this below ones?
https://imgur.com/Kr8xC8uThanks
-
I mean the actual archive page, I need to see how it’s been structured.
-
techbackend04
Sorry, i am new to this. is this the one? Actually, for all the category pages, it has the same issue.
Thanks
-
I mean the URL of the archive page.
Can you link me to that page?
-
techbackend04
-
Are you using the custom excerpt in each post editor?
https://wordpress.com/support/excerpts/#create-an-excerpt -
techbackend04
Hi Ying,
Yes, the excerpt in written for each post in the post setting panel.Thanks for your support.
-
Alvind
Hi there,
Try the snippet provided here:
https://docs.generatepress.com/article/excerpt_length/#examples
-
techbackend04
Hi,
Appreciate your response.
I added the filter in the functions.php under child theme. But still no luck.Thanks,
-
Hi there,
the customizr > Layout > Blog > Excerpt word count only applies to the auto excerpt that WordPress generates.
IT will not change an excerpt that is added to the Post Excerpt field.To trim that will require a different function, which Ying provides here:
https://generate.support/topic/excerpt-length-wont-shorten/#post-98084
Alternatively you may want to consider building your own archive content template using a GP Block Element – Content Template:
https://docs.generatepress.com/article/block-element-content-template/
Then you can build out just content you want on display
-
techbackend04
Ok. Thanks David. I will try with elements.
-
Let us know if you need some assistance!
-
techbackend04
Awesome. Thanks for your support. Good Luck.
-
techbackend04
Hi,
Sorry to bother you again.
I tried the below element method.
https://docs.generatepress.com/article/block-element-content-template/But the post title is underlined. I tried many different things, but I was still unable to remove that underline.
It would be great if you can provide some input.
https://thefoodflamingo.com/stage/desserts/Thanks,
- You must be logged in to reply to this topic.