Archived topic
How to Show Only Post Title on Specific Category Pages
1 reply · Started by Soumyadip on March 10, 2020
I want to show the only post title on some category archive pages. Please advise the necessary steps to do this.
Hi there,
so this article provides the filter to remove the excerpt by setting is length to 0.
https://docs.generatepress.com/article/excerpt_length/
And this article provides the filter for the blog options:
https://docs.generatepress.com/article/option_generate_blog_settings/
For both you would use this condition for setting which category:
if ( is_category( 'category-slug' ) ) {