Customizing the HTML report template
This is a guide for advanced users.
Custom report template in the theme's folder
If you want to edit the HTML report template follow these steps:
Copy the file from the plugin directory:
/wp-content/plugins/flexible-invoices-reports/templates/html-report.php
to your theme directory:/wp-content/themes/[your-theme]/flexible-invoices-reports/html-report.php
- From now on, the file in the theme directory will overwrite the original file from the plugin directory.
- Modify the file according to your needs, e.g. changing the texts, adding or deleting certain pieces of information. You may also adjust the layout of such an HTML report.
- You may need to add the report template again when you update or change an active theme.
If you want to undo the changes, simply delete the file from the theme directory. The file from the plugin directory will be in use again and all the modifications will be undone.