Yummy Docs

Overriding templates

If provided hooks are not enough for you customization, you can override plugin templates completely with your own templates.

Before going this far in customization, you can always contact support and ask if adding a new hook (WordPress action or filter) in the template file would solve your issue. Whenever possible use the hooks to add or remove content.

Template files can be found within the /templates/ directory:

When you open these files, you will notice they all contain hooks that allow you to add/move content without needing to edit template files themselves. This method protects against upgrade issues, as the template files can be left completely untouched.

This plugin offers many customization options via the plugin options at WordPress dashboard but sometimes you want to customize the plugin even further. Fortunately it is possible with using your own templates which will override the default templates.

If you take a look at one of the template files found at the plugin directory /templates/ you will notice there is little note saying something like this:

This template can be overridden by copying it to

You can either put your template file into the child theme or the parent theme. If the file is found from the child theme, it is used even if there is a file in the parent theme.

Important! #

However, on occasion the plugin will need to update template files and you will need to copy the new files to your theme to maintain compatibility. We try to do this as little as possible, but it does happen. When this occurs the version of the template file will be bumped and the readme will list any important changes.

Warning: Do not edit these files within the core plugin itself as they are overwritten during the upgrade process and any customizations will be lost.