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.

Step 1: Make sure you’ve 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
  • 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.

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.