# Creating page templates

When using page templates with Shopify's Online Store 2.0, we recommend that you create a separate page template for each of your pages.

Page templates hold the content and settings of sections you've customized in the Theme editor.

If you create a second FAQ page and use the same template, all the same content will be shown from the first FAQ page.

For that reason, creating a new page template is needed to show different content.

{% hint style="info" %}
When pages use the same template, the same section content is displayed on all those pages.
{% endhint %}

The Page section is the only exception as it displays the page title and page content from the Shopify Admin Page editor.

All other sections will display the same content when templates are shared.

Identifying if the same template is used with multiple pages:

<figure><img src="/files/4My5ZWFGXbkmlOYWQVbu" alt=""><figcaption><p>We recommend using one template per page</p></figcaption></figure>

### How to create

Creating templates is simple, there is an option to create a new page template at the bottom of the Pages list:

<figure><img src="/files/iC00fkd7fzOLCCqWk4rY" alt=""><figcaption><p>Provide a name for the template and choose which template to base on</p></figcaption></figure>

{% hint style="warning" %}
Verify you're customizing the **`Live`** theme when creating templates:
{% endhint %}

{% hint style="info" %}
🚨 When creating a new Page template or any type of new template with Shopify Online Store 2.0, you must create the template while customizing your **Live published theme**.

If you're customizing a Draft theme, the template will not appear as an option in the Shopify Admin Page editor. This is a restriction of the Shopify Platform.
{% endhint %}

### How to assign a page template&#x20;

After creating a page template, return to the Shopify Admin Page editor and assign your page to the newly created template:

<figure><img src="/files/ttwUWcoAbiSk07CMkSNk" alt=""><figcaption><p>Under Online store > choose Pages</p></figcaption></figure>

After you've created a page template and associated a page with that template, you can customize the page in the Theme editor.

Experiment with different sections and blocks to build rich custom pages with unique layouts.&#x20;

### Draft themes

If you're setting up a draft theme, here are some steps to help with creating new templates:

1. Create the new page template from the Live published theme using the Theme editor.
2. Assign your page to the newly created template in the Shopify Admin Page editor.
3. Return to the Draft theme in the Theme editor.
4. ***Create the same page template*** again as you did in the Live published theme. Your live theme version will not appear in the draft theme.&#x20;
5. Configure the page settings and sections.

### Video tutorial

This 1-minute video shows you how to create a new template and assign it to a page, plus additional information:

{% embed url="<https://www.loom.com/share/82551759faae4af2989a294a66f06fac>" %}


---

# 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://broadcast.presidiocreative.com/pages/page-templates/creating-page-templates.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.
