Tell us what you are trying to do?
I have a custom post type set up (Courses). The taxonomy includes Categories. So there are courses with category A, B, C, D etc. for argument's sake. I am able to create a WordPress Archive view with Toolset that displays all relevant courses when I go to website.com/courses/A, website.com/courses/B, and so on. However, what I would like to do is for each category page to have a unique header, i.e. an image and a short blurb to explain what the category is. How is this possible?
Is there any documentation that you are following?
https://toolset.com/course-lesson/creating-a-custom-archive-page/
Is there a similar example that we can see?
In the attached image, the top section is unique to each taxonomy term - it explains a bit about the category and provides a unique image. Below is simply a list of all posts of this taxonomy. E.g. all courses that have a category of 'High Voltage'
What is the link to your site?
Hey there,
Thanks for your contact and welcome to the Toolset support forum!
This application involves some file and code manipulation - since it can be done through different ways. A possible solution is to create a correspondent custom-taxonomy-{taxonomy}-{term}.php archive file, that would have the specific styles and elements for this term. Please check this codex tutorial about taxonomy templates:
https://developer.wordpress.org/themes/template-files-section/taxonomy-templates/, specially the section: https://developer.wordpress.org/themes/template-files-section/taxonomy-templates/#custom-taxonomy
We also have a related documentation that might be helpful in order to achieve the desired results, kindly check it: https://toolset.com/documentation/customizing-sites-using-php/creating-taxonomy-term-archives/
Unfortunately, we do not have a native feature to accomplish this task, and therefore, it is necessary to implement a custom solution. Please take a look on the documentation above and let me know if you still have doubts. Thank you!
Kind regards,
Mateus.
Thanks Mateus. That was useful, but actually led me to a different solution which works well in my scenario and doesn't require too much custom work.
I have 10 categories so what I have done is create a view for each using Toolset. I then create an archive template with Elementor for each of the 10 categories and add the corresponding view into it. This is not a great solution if there are 100s of categories, but for a small handful it is fine to do it this semi-manual way! It allows me to have new posts added automatically to the category page, whilst still retaining the unique look of each page.
Thanks for your help.