# What are Template Parts?

{% embed url="<https://youtu.be/2PBk-CBg9HI>" %}

Ever wanted to show a special section only on product pages? Or maybe use a different footer during a sale? Even replace the default 404 page with something more helpful or on-brand? That’s what Template Parts are for.

They let you display custom content in specific areas of your site, exactly where and when you want. No coding needed, and you can build everything using the page builder you're already comfortable with: Gutenberg, Elementor, or WPBakery.

Here are some examples of Template Parts and how they can help:

* Show a banner during a holiday sale
* Use a simpler footer on checkout and thank-you pages
* Display a different header when users are logged in
* Customize your blog category layout with a unique design
* Add a call-to-action after product descriptions
* Replace the default 404 page with something more useful
* ...and many other possibilities

Template Parts are flexible, reusable, and give you a powerful way to personalize your site.

***

### Enabling Template Parts

Template Parts are enabled by default when you install Kalium. If you ever need to turn them off or back on:

1. Go to **Kalium → Settings** in your WordPress admin.
2. On the left sidebar, click **Template Parts**.
3. Use the toggle switch to enable or disable the feature.

This gives you the flexibility to turn the feature off if you're not using it, and re-enable it later when needed.

<figure><img src="/files/HnX7YnvLKupNiyJljpdZ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kaliumtheme.com/template-parts/what-are-template-parts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
