Forum

Thread tagged as: Question, Blog

PERCH BLOG CATEGORIES

Hello

I am planning to set some categories up in the Blog App for different type of posts that would ideally require a different template.

I see I can set different category templates but can I set a different post.html templates?

Thanks

Denise Courtney

Denise Courtney 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You can't set a different post template based on category. What would happen if a post was in two categories with different templates?

Figured so, even though my posts are only won't cross over categories too. creating a universal template! Is there though a way of linking direct to the latest post in a category on the blog?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes:

  1. sort by date descending
  2. set the category to the category you want
  3. take the first item