Opal Estate Pro
Search…
⌃K

Overwrite Templates

Opal Estate Pro supports overwrite template via main theme or child-theme.
Opal Estate template files contain the markup and template structure for frontend and HTML emails of your store.
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.
Template files can be found within the /wp-content/plugins/opal-estate-pro/templates/
You can overwrite templates via theme or child-theme.
We suggest you overwrite them via child-theme, because if you overwrite via main theme, changes will be lost when you update a new version of the main theme.
If you are not good at coding, you can use a plugin to create a child theme https://wordpress.org/plugins/child-theme-configurator/

How to Edit Files

Edit files in an upgrade-safe way using overrides. Copy the template into a directory within your theme named /opalestate keeping the same file structure but removing the /templates/ subdirectory.
Example: To override the single property template, copy: wp-content/plugins/opal-estate-pro/templates/content-single-property.php to wp-content/themes/yourtheme/opalestate/content-single-property.php