skip to Main Content

Custom Category/Taxonomy Template

In Total you can easily create custom templates for your Categories or custom taxonomies so you can create truly unique layouts.

Elementor Users: If you are using Elementor, Total supports the Elementor Pro “Theme Builder” but you can also create an Elementor template and assign it the same way as explained in the instructions below just skip the first 2 steps.

Step 1: Enabled the bundled Templatera plugin.

The Templatera template allows you to create and save WPBakery based templates so you’ll want to make sure you’ve installed and activated the plugin.

Step 2: Create a new Template under WPBakery Page Builder > Templates

Step 3: Add your Template Content

Now you’ll want to add the content you want displayed on your category or custom taxonomy archives. This can be anything you want, but the most important part is you will need to add a module to display the posts we recommend using one of the following three modules:

  • Post Cards (Recommended)
  • Post Types Grid
  • Post Types Archive module (this module displays your entries as defined in the Customizer).

And no matter which module you decide to use, you will need to make sure under the Query tab you’ve enabled the “Automatic Query” setting. For the Post Cards element you will see the “Auto” option under the “Query Type” select field like such:

Important: The “Automatic Query” is how the module knows to display the current posts from the category being displayed. This function also can be used to create a custom search template.

Helpful Template Modules:

Below are some useful modules when creating your Category template:

  • Heading: Display the category name by setting the “Text Source” option to “Post or Page Title”.
  • Image: Display the category image by setting the “Source” to “Featured Image”.
  • Term Description: Display the category description if available.
  • Navigation Bar: Could be used to create a menu to place at the top of the category page to link to all other categories.

Your finished template may look something like this:

Step 4: Assign the Template to your Category or Taxonomy

If the template is to be used with either your standard blog, portfolio, staff or testimonial archives (categories & tags) you will define the template via the Customizer in the appropriate tab.

If you are using the Post Types Unlimited plugin you will find the setting when editing the taxonomy.

Need Different Templates based on the Category/Term?
Since most won’t need this we’ve created a small free add-on plugin you can use which adds an extra setting to the term edit screen if you want to select a different template on a per-term/category basis. Check out the “Term Based Dynamic Post Templates for Total” plugin.
Back To Top