WAIT: If you specify a template for each category of the same post, it does not apply

Create a custom post ‘Test’ with Metabox
We added category ‘category1, category2’ to ‘test’ post with Metabox.

Category 1 and Category 2 specified different templates.

The result is the same template that specified category1 or category2.

Is this an error?

What is the solution?
Or is the designation method wrong?
The way I set it is

Template Name: Test - caregoty1
Post Template type: Archive
Post Template Conditions : post type - test, Terms - category1

Template Name: Test - caregoty2
Post Template type: Archive
Post Template Conditions : post type - test, Terms - category2

Oh, by the way, the bricks version is 2.0.

Hi JongYoung,
Thanks so much for your report!

I assume that you are confusing single post templates and archive templates (?). Your template conditions apply to the term archive and usually list the posts that are assigned to the corresponding terms.

Perhaps a look at the WordPress template hierarchy will help you to see what is possible and what is not?

Best regards,
timmse

It’s confusing.
Even if I check WordPress Hierarchy, it is difficult to understand exactly.

For example, ‘post type = test1’ made from the metabox plug-in.

And there are two categories in test1. (category1, category2)

Users have issued 2 posts.

  1. post1(test1, category1)
  2. post2(test1, category2)

How can I get different templates to be applied?

Yes, it can be confusing :smiley:

Different templates for what? The single post? Or the term archive?