Overriding the template
To change the HTML output as part of the calculator you can override the Rental Yield Calculator template into your own theme and make the necessary changes.
This also means you won't lose the changes should you update the plugin in future.
The steps to override the template are:
- Create a folder called
propertyhive
in your theme. - Copy the template(s) from
%YOUR_PLUGIN_DIR%/propertyhive-rental-yield-calculator/templates/rental-yield-calculator.php
to%YOUR_THEME_DIR%/propertyhive/rental-yield-calculator.php
This follows the same principle as overriding core Property Hive templates.