How To Override Templates via a Theme

Essential-real-estate template files contain the markup and template structure for frontend of your site.

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 /essential-real-estate/public/templates/ directory:

You can edit these files in an upgrade-safe way using overrides. Copy it into a directory within your theme named /ere-templates/, keeping the same file structure but removing the /public/templates/ subdirectory.

Example: To override the contact agent in single property page, copy: wp-content/plugins/essential-real-estate/public/templates/single-property/contact-agent.php to wp-content/themes/yourtheme/ere-templates/single-property/contact-agent.php

The copied file will now override the essential-real-estate default template file.

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