Black Friday Sale! Get up to $30 off GP Premium! Learn more ➝

Reply To: Article Teaser in Category

Home Forums Support Article Teaser in Category Reply To: Article Teaser in Category

Home Forums Support Article Teaser in Category Reply To: Article Teaser in Category

#108676
Tom
Lead Developer
Lead Developer

Hi Hari,

I actually do this on our development category: http://generatepress.com/category/development

You can show only titles on category pages with this CSS:

.category .entry-content, 
.category .entry-meta {
    display: none;
}

As for your search results, you can try adding this PHP: https://gist.github.com/generatepress/d219381b78e9732b17c0

Then adjust the 100 to whatever excerpt length you want on the search results page.

Let me know if this is helpful or not 🙂