Help Docs Software Kadence Kadence Theme Kadence Theme Hooked Elements How to Create a Custom Archive Page Template with Kadence Hooked Elements

How to Create a Custom Archive Page Template with Kadence Hooked Elements

In WordPress, archive pages display a collection of posts grouped by specific criteria such as categories, tags, authors, dates, or custom taxonomies. These pages help visitors browse content by topics or types and are automatically generated by WordPress.

Kadence Blocks allows you to fully customize these archive pages using Hooked Elements and the Advanced Query Loop block, giving you control over how your archive pages look and function.

What you’ll need:

Kadence Required Theme
Kadence Required Plugins
Enable Kadence Hooked Elements

1. Create a New Hooked Element

  1. In your WordPress dashboard, go to Appearance > Kadence > Elements.
  2. Click “Add New” and choose “Template” from the Element Setup popup.
  3. Give your Element a name like “Posts Archive Template”.
Kadence Hooked Elements - Add new Element

2. Set Placement and Display Conditions

  1. Click the Element Settings icon.
  2. Under Placement, choose Replace Archive Page Content.
  3. Under Display Settings > Show On, choose:
    • All Archives (or select specific categories, tags, etc., if customizing for certain ones only)
  4. This ensures the custom template replaces the default archive content when applicable.
Kadence Element Settings

3. Add Dynamic Archive Title

  1. Insert a Heading block or the Text(Adv) block.
  2. In the block settings panel, enable Dynamic Content.
  3. Choose Archive Title from the dynamic content options.

This ensures the heading reflects the current archive (e.g., “News” or “Author: John Doe”).

4. Show the Archive Description (if it exists)

  1. Insert Text(Adv) block.
  2. Enable Dynamic Content for the block.
  3. Select Archive Description.

The Kadence Dynamic Content will automatically show the archive’s description if it’s available; otherwise, nothing will appear.

5. Show The Posts

To show the posts, we’ll use the Query Loop (Adv) block. For more details about this block, please check the Query Loop (Adv) block documentation.

  1. Insert the Query Loop (Adv) block.
  2. Under the General block settings, turn on the “Inherit query from template” option. This will automatically show the posts based on the query of the current archive page. For example, if the archive page is for the News category, all posts under this category will be shown.
Query Loop (Adv) - Enable Inherit query from template

6. Optional: Customize the Query Card

The Query Card Block is nested inside the Query Loop (Adv) Block. This holds and styles your Loop Content. You can add or remove the blocks inside this block to set your own post loop template. Refer to our Query Loop (Adv) documentation for more details.

7. Publish and Review

  1. Publish the hooked element.
  2. View a category archive page to see how it actually looks.

Reach out to Kadence Support if you encounter any issues.

Was this article helpful?