> For the complete documentation index, see [llms.txt](https://docs.kaliumtheme.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kaliumtheme.com/template-parts/creating-template-parts/replace-the-footer.md).

# Replace the Footer

Build a different footer and use it on the pages you choose, while the rest of the site keeps the footer you set up in the Customizer.

A **Footer** template part works exactly like a Header one: you build a footer as ordinary content and choose which pages use it. On those pages it **replaces** the footer you built under **Appearance -> Customize -> Footer**.

This is how you give a landing page a stripped-back footer with nothing but a copyright line, or show a different set of contact details to visitors in a particular section of the site.

***

### 1. Go to Template Parts

In your WordPress dashboard, go to **Kalium -> Template Parts**.

Switch to the **Footers** tab at the top, then click **Add New**.

<figure><img src="https://2905187046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1O25QgF7NUwiK2Ek4ro8%2Fuploads%2FXlHhQvjvvi1tXnq2Yuo0%2Ffooter.jpg?alt=media&amp;token=518da1bd-4e0d-4ec5-a5d2-20848fa27909" alt=""><figcaption></figcaption></figure>

***

### 2. Name it and build the footer

Give it a name that describes where it will be used, such as **Minimal Landing Footer**.

Build the footer in the editor using the block editor, Elementor or WPBakery. Columns of links, a newsletter form, a logo and a copyright line, anything you can lay out on a page works here.

{% hint style="info" %}
To show the current year in a copyright line without editing it every January, use `[date format="Y"]`. See [Shortcodes](/other/shortcodes.md).
{% endhint %}

<figure><img src="https://2905187046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1O25QgF7NUwiK2Ek4ro8%2Fuploads%2FBVvg798PqLRvjSui0ZTU%2Ffooter-1.jpg?alt=media&amp;token=a8063458-5e36-4025-abc8-f9fbbf4e8f1f" alt=""><figcaption></figcaption></figure>

***

### 3. Open Template Part Settings

Click the **Kalium icon** in the top-right corner to open the **Template Part Settings** panel.

***

### 4. Set the Type to Footer

Make sure **Type** is set to **Footer**. Starting from the Footers tab sets it for you.

{% content-ref url="/pages/T9wqAxfvja1RR4KDr9ei" %}
[Type](/template-parts/settings/type.md)
{% endcontent-ref %}

***

### 5. Set Display Conditions

**Without at least one condition, the footer never appears.** Click **Add Condition** and choose where it applies.

Common setups:

* **One landing page**: *Singular Content* -> *Single Page* -> choose the page
* **Every blog post**: *Singular Content* -> *Single Post*
* **The whole shop**: *WooCommerce* -> *Shop Archive*, plus a second row for *Product Page*, joined with **OR**

<figure><img src="https://2905187046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1O25QgF7NUwiK2Ek4ro8%2Fuploads%2F2eRSa8NhbwhUv0VlyPQK%2Ffooter-2.jpg?alt=media&amp;token=1eb94fc1-17bd-4a08-b93a-860b5f215a9c" alt=""><figcaption></figcaption></figure>

{% content-ref url="/pages/fhux5jLYvL8E4wx7kF3N" %}
[Display Conditions](/template-parts/settings/display-conditions.md)
{% endcontent-ref %}

***

### 6. Footer Settings

Footers have two settings of their own:

**Fixed Footer**\
The footer stays in place while the page content slides up over it as visitors scroll, the footer is revealed underneath rather than pushed down. It is a striking effect on a short page and is best avoided on very long ones.

**Effect**\
The animation used as the footer is revealed: None, Fade or Slide.

<figure><img src="https://2905187046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1O25QgF7NUwiK2Ek4ro8%2Fuploads%2F1A8XdLEo7GX7Mjr44ShM%2Ffooter-3.jpg?alt=media&amp;token=457e6fa0-4987-46d4-b3b0-78ee6750b6cf" alt=""><figcaption></figcaption></figure>

***

### 7. Publish

Click **Publish**, then visit a page your conditions match.

***

### Things to know

**Your Customizer footer settings stop applying on those pages.** If a footer change made in the Customizer is not showing up on some pages, check whether a Footer template part is matching them.

**The footer shows on more pages than expected** usually means conditions are joined with **OR** where **AND** was intended. **OR** widens the match; **AND** narrows it.

**Nothing appears at all**\
Check the part is Published and has at least one condition.

To go back to the Customizer footer without losing your work, set the part to **Disabled** in the Template Parts list.
