How to install a custom template
Last updated
Last updated
The default global templates are located in the following directory:
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.
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
.
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:
Upload Your Custom Template:
Copy your custom template file to the directory created in the previous step:
Alternative Paths:
You can also place your custom template in one of the following directories:
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.