Creating a bespoke layout
From within the settings area of the Window Cards add on, you can choose the layout that you wish to use:
If you'd like to build your own custom layout you do so by following the below steps:
- Select 'Custom Layout' from the options above.
- Create a file in your theme in a
propertyhive
subdirectory calledwindow-card.php
. It's this file that will be used going forward as the window card template.
If you'd like to use one of the out-of-the-box layouts as the basis for your custom window-card.php
file, these can be found in /wp-content/plugins/propertyhive-window-cards/includes/layouts/
.