This is a showcase and important notes of the ‘Main’ tab located in WP-Property Settings.
The page you want to use as the base of all your properties’ URLs, as well as the page to display the property search results. For example, if the URL of your property page is http://usabilitydynamics.com/**real_estate/**
, then properties will have a URL of http://usabilitydynamics.com/real_estate/**property_name**/
WP-Property will work without a selected page, and will create a dynamic “property overview” page. However, we do recommend selecting an actual page, since using the default setting can cause a conflict with particular themes. WP-Property will attempt to presume which template to use.
Select a template which will be used to render Single Property page. You also can re-declare selected template for specific Property on Edit Property page.
Note, you can use Single Post Template or Page templates (displayed below) for building your own layout via SiteOrigin Page Builder or another Layout Framework.
By default, WP-Property plugin uses custom property.php template for rendering Single Property page. The template contains predefined sections such as attribute list, map and registered sidebars areas. The display settings may be edited further by customizing the wp-content/plugins/wp-property/static/views/property.php file.
To avoid losing your changes during updates, copy property.php file to your template directory, which will be automatically loaded.The settings will usually be saved in your data base, however make sure you back up your files before making alternations.
The single post template file single.php in your theme will be used to render a Single Property page You can create your own single post template file single-property.php in your theme which will be used instead of single.php. More Details.
Note, registered WP-Property sidebars are defined only in default property.php template. You have to add them manually to your theme's template.
You can select page template which you want to use on single Property page. Page template will be used to render a Single Property page. [More Details]
Note, registered WP-Property sidebars are defined only in default property.php template. They need to be added manually to your theme's template.
By default, WP-Property registers widget sidebars for Single Property page based on defined Property types. But you can disable any of them here.
Note, the following sidebar are added only on default property.php ( Default Property Template ).
Tells WP-Property which attribute you use for addresses, and uses the values stored in that attribute to get geographical information, such as coordinates, via Google Maps API, when a property is saved or updated. If you notice that maps are not displaying on your site, it is likely that you have the wrong attribute, or no attribute, selected for the Address Attribute setting.
Note, Google Maps has its own limit of usage. You can provide Google Maps API license ( key ) above to increase limit. See more details here.
This is how address attribute will looks on editing single property page
You can add any custom language via “wpp_google_maps_localizations” filter. For example:
add_filter( "wpp_google_maps_localizations", function( $data ) { $data[ 'zh-TW' ] = 'Chinese';return $data; } );
In order to show default Phone number you will need to add attribute with phone_number slug in Settings/Developer tab. Value which you set up on this page will be populated in all properties.
Was this article helpful? Let us know!