Assigning an Archive in Layout Builder to display a category

Hello there,

In the Layout Builder settings, how do I assign an archive to display a category e.g. /category/inspiration?

At the moment the category page seems to be using the blog archive template.

I know the answer lay in the Assignment Conditions, but I am not sure which one. Is there a detailed reference list for these conditions?

archive-type

Kind Regards,

Spencer

Hi Spencer,

Thanks for reaching out.
The condition should be Post Category and assigned to the specific category for which you want that Layout. Please find the screenshot describing the condition.

Hope it helps.
Thanks

Hi @tristup

Thanks for getting back.

Sorry, I explained that badly - I am not looking to display a specific category.

Wordpress’ default category path is /category/...

I would like to replace the default category template that displays whenever we click ANY category. So if I click Inspiration or News, the path is /category/inspiration/ or /category/news/but they use the same template. In the older versions of Wordpress, this was category.php

Kind Regards,

Spencer

Hi Spencer,

To assign the Layout to all the categories, please change the condition to Post Taxonomy is Category as shown in the given screenshot.

Hope it helps.
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.