# Custom Output Templates

You can create your own templates for modules. Never edit default templates because you will lose all changes after updating the plug-in.

First of all, create a folder&#x20;

&#x20;`wp-content/affegg-templates`

To start more quickly, you can use as base one of our default templates.

You can find them in  `wp-content/plugins/affiliate-egg/templates`

All templates for storefronts must start with `egg_`, templates for widgets from `wegg_`

The template code must begin with php-comment that identifies the name of the template, for example:

```php
/*
Name: Simple
*/
```

{% hint style="warning" %}
Make sure that your editor uses the UTF-8 encoding when editing files.
{% endhint %}


---

# 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://ae-docs.keywordrush.com/customtemplates.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.
