Templates can be customized for individual design of property lists and forms.

Copy included templates

When you update the plugin, WordPress overwrites the entire folder. Therefore, any changes you make to the included templates will be lost after an update. As a solution to this problem, the plugin allows you to store personalized templates in a special plugin folder or in your own theme so that they are not overwritten.

First, you need to copy the included templates, for example using FTP or a file manager plugin. The included templates can be found at /wp-content/plugins/onoffice-for-wp-websites/templates.dist.

If you want to use the special plugins folder, copy the contents of the folder to /wp-content/plugins/onoffice-personalized/templates so that you have a file at /wp-content/plugins/onoffice-personalized/templates/estate/default.php.

If you want to place the customized templates in your theme, copy the supplied templates to a folder onoffice-theme/templates in your theme so that you have a file at /wp-content/themes/{your theme}/onoffice-theme/templates/estate/default.php.

Please note that it is necessary to copy all folders and content to prevent possible errors due to missing files. This ensures that any dependencies continue to exist and the smooth functioning of the plugin is guaranteed.

Customizing the templates

Now you can customize the templates in your code editor. Read the PHP code to understand how the included templates work, and make your own customizations. You can also customize the CSS by modifying “onoffice-style.css”. Don’t forget to upload the customized templates to the correct folder.

Select the customized template

In the settings of all property lists, address lists and forms you can select your customized templates instead of the provided ones. In the “Layout & Design” box, open the “Personalized” section and select the appropriate template.

Note that the provided templates are designed for specific content types. For example, the “default.php” is for property listings, “default_detail.php” is for detail view, and “defaultform.php” is for contact forms.

If you are unsure which template works with which content type, create a new entry of that content type. The plugin will automatically choose a suitable template.

That’s it! You know the basics necessary to use the plugin. Do you want to explore the advanced features?

There is no visual drag and drop editor. PHP, HTML, CSS knowledge is required for customization.

Related links

Template files cannot be accessed directly with a builder such as Elementor or Divi. PHP, HTML, CSS knowledge is required for customization.

Related links

Standard templates are overwritten with every update (this unfortunately can not be avoided due to WordPress) Create individual templates so that this no longer happens. See documentation.

Related links

To customize templates, PHP, CSS and HTML are required.

Related links

Updates provided for the standard template are not automatically applied to the personalized templates.

  • We do not support the Houzez Real Estate Theme
  • Unfortunately the Houzez theme does not work with the onOffice for WP-Websites plugin
  • If you want to use the Houzez Theme, you need an custom API interface

Related links