> For the complete documentation index, see [llms.txt](https://ce-docs.keywordrush.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ce-docs.keywordrush.com/custom-templates/how-to-install-a-custom-template.md).

# How to install a custom template

The default global templates are located in the following directory:

```
/wp-content/plugins/content-egg/templates/
```

{% hint style="warning" %}
**Important:** Never edit plugin files directly to customize a template. Any changes made to the plugin files will be lost when the plugin is updated.
{% endhint %}

### Steps to Install a Custom Template

1. **Create Your Template File:**
   * Create a text file for your template.
   * The template file name must start with the '`block_`' prefix, for example, `block_my_template.php`.
2. **Prepare for File Upload:**
   * Use the file manager in your hosting dashboard or any WordPress file manager plugin.
   * Create a special directory for custom templates:

     ```
     /wp-content/content-egg-templates/
     ```

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

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

3. **Upload Your Custom Template:**

* Copy your custom template file to the directory created in the previous step:

  ```
  /wp-content/content-egg-templates/
  ```

4. **Alternative Paths:**

* You can also place your custom template in one of the following directories:

  ```
  /wp-content/themes/your-theme/content-egg-templates/
  /wp-content/themes/your-child-theme/content-egg-templates/
  ```

5. **Apply the Custom Template:**

* Your custom template will appear in the template list with the prefix `[custom]`.
* You can now apply the custom template to Content Egg global shortcodes.

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