Customising the templates

The templates

There are three editable templates provided with the Viewing Feedback add on:

viewing-feedback-request-form.php

This is the main template that contains the inputs header, footer and form. Upon submission the body of the template will be replaced by one of the below templates.

viewing-feedback-request-interested-thanks.php

The template shown when someone claims that they were interested in the property.

viewing-feedback-request-not-interested-thanks.php

The template shown when someone claims that they were NOT interested in the property/

All of these templates can be found within the Viewing Feedback add on plugin under /templates/.

Overriding The Templates

To override any of the above templates you would use the same approach as any of the core Property Hive templates documented here.

For example, to override the main template (viewing-feedback-request-form.php) you could copy /wp-content/plugins/propertyhive-viewing-feedback/templates/viewing-feedback-request-form.php to /wp-content/themes/{your-theme}/propertyhive/viewing-feedback-request-form.php and make the necessary changes to the HTML, CSS or text shown.