Integrating to “xxx” theme.
This plugin does provide general example template that can be used to integrate it to any theme but additional styling and coding is required when integrating to theme.
Integrating to “xxx” theme.
This plugin does provide general example template that can be used to integrate it to any theme but additional styling and coding is required when integrating to theme.
Creating property “archive” page
The plugin will use theme default archive.php or index.php when archive-property.php was not found. To trully utilize the property archive page, you must create archive-property.php by copying the theme original archive.php or index.php and replace the wordpress loop part with :
// Simply call the victheme_property defaultloop template
// You can also copy the file content into the new template as the new loop
// @see victheme_property/templates/property-loop.php
if (class_exists('VTCore_Wordpress_Utility')) {
include VTCore_Wordpress_Utility::locateTemplate('property-loop.php');
}
Creating property single page
The plugin by default will try to use hook filter the_content() to override the content markup when user is viewing the property single page. If you wish to change the markup and use native wordpress templating system, you must copy the theme original single.php or page.php or index.php and change the loop into :
// Stop plugin to hijacking the_content() since we got custom template
define('VTCORE_PROPERTY_CUSTOM_CONTENT', true);
// Simply call the victheme_property default content template
// You can also copy the file content into the new template as the new loop
// @see victheme_property/templates/property-content.php
if (class_exists('VTCore_Wordpress_Utility')) {
include VTCore_Wordpress_Utility::locateTemplate('property-content.php');
}
How to display all author (author archive page) ?
This is used when user is viewing http://example.com/author/listing page. In order to display author listing page, you must create archive-agents.php by copying the theme original archive.php or index.php and replace the loop part with this :
// Simply call the victheme_agents default loop template
// You can also copy the file content into the new template as the new loop
// @see victheme_agents/templates/agents-loop.php
if (class_exists('VTCore_Wordpress_Utility')) {
include VTCore_Wordpress_Utility::locateTemplate('agents-loop.php');
}
Agents profile page
In order to use the agents profile page, you must create author-agents.php by copying the theme original author.php or single.php or page.php or index.php and replace the loop part with :
// Stop plugin to hijacking the_content() since we got custom template
define('VTCORE_AGENTS_CUSTOM_CONTENT', true);
// Simply call the victheme_agents default profile template
// Notice the default agents-profile.php has invoked get_header() and get_footer()
// you may want to remove it or copy the content to your template.
// @see victheme_agents/templates/agents-profile.php
if (class_exists('VTCore_Wordpress_Utility')) {
include VTCore_Wordpress_Utility::locateTemplate('agents-profile.php');
}
Do you provide demo import?
In this current version, we don’t provide demo import. maybe in the next release
What are the default property fields taxonomy name?
- property_location = Location Fields
- property_video = Video Fields
- property_thumbnail = Thumbnail Fields
- property_price = Price Fields
- property_landsize = Landsize Fields
- property_images = Main Image fields
- property_floorplan = Floorplan image fields
- property_buildingsize = Building Size fields
- property_status = Status fields
- property_duration = Rent Duration fields
- property_download = File download fields
- property_share = Social share link fields
- property_contactform7 = Form integration to contact form 7
What are the default property attributes name?
- property_wvomthltvrnvjmwalcyjxbx = Bed Room
- property_cul_umuruptdvcaanziusls = Bath room
- property_jkwng_chbnhzxqdjluiwxos = Garage
- property_bcsmthhozemgmljyciqgupl = Electricity
- property_vrwlxjgwrkrmmwfkwvkiwvx = Smoking
- property_lxzjvpjsqpakwkohwzbbqey = Yard
- property_rpqqojfzmxyavcqorogzgue = Swimming pool
- property_rygxgi__hldtpdm_odscpsi = Kitchen
- property_mzjkoibahakvognrzzuhyjx = Furnished
- property_utkhv_hiyqzuhrnyqljgv_r = Management Fee
- property_qqbsbkqzguqkitamfvgpaoc = Telephone
- property_oatmjphaprypxklixqwjcwg = Internet
- property_esocsicjisxvqtsromtypaq = Utilities
- property_runapbwtlktpnncqklkhkfp = Balcony
- property_loijnrojkz_ghvucnceaiot = Air Conditioner
- property_qypximitfu_hadphdn_uegi = Lift
- property_xdtwmlpixuoytcbuxqtwemj = Playground
- property_qmg_isfrtbrtwrpbalgnnqi = Water
- property_nmvkxsnirj_vmbnzufwfckz = Pets
- property_oolynkwsprpzbozacperloj = Floors
- property_fzhndq_rugmhrubuihdfjev = Access
- property_ecjnkchgjnmylqtqfuvevah = Parking Space
- property_jzcrrvzsnfblmpzkzgrqyng = Work Room
- property_ibpcllbjyt_lmt_jyftjvdu = Garden
- property_zzihlezvj_plasfqtrismnu = Style
- property_rhghyiizqouogh_rkhpzbvb = Walls
Shortcode example for display property types?
[vpropertytype
dynamic="false"
postid="102"
icon="false"
label="false"]
Shortcode example for displaying property fields?
[vpropertyfields
dynamic="false"
postid="102"
icon="false"
label="false"
property_price="true"
property_location="false"
property_video="false"
property_thumbnail="false"
property_price="false"
property_landsize="false"
property_images="false"
property_floorplan="false"
property_buildingsize="false"
property_duration="false"
property_download="false"
property_share="false"]
Shortcode example for displaying property attributes?
When inside a loop or at single property page, you can turn dynamic to true and omit the postid, or if you want to grab only specific property, set dynamic to false and define the postid. Note the attributes name is based on the property data default generated attributes, it may vary at your installation.
[vpropertyattributes
dynamic="false"
postid="102"
icon="false"
label="false"
property_wvomthltvrnvjmwalcyjxbx="true"
property_cul_umuruptdvcaanziusls="false"
property_jkwng_chbnhzxqdjluiwxos="false"
property_bcsmthhozemgmljyciqgupl="false"
property_vrwlxjgwrkrmmwfkwvkiwvx="false"
property_lxzjvpjsqpakwkohwzbbqey="false"
property_rpqqojfzmxyavcqorogzgue="false"
property_rygxgi__hldtpdm_odscpsi="false"
property_mzjkoibahakvognrzzuhyjx="false"
property_utkhv_hiyqzuhrnyqljgv_r="false"
property_qqbsbkqzguqkitamfvgpaoc="false"
property_oatmjphaprypxklixqwjcwg="false"
property_esocsicjisxvqtsromtypaq="false"
property_runapbwtlktpnncqklkhkfp="false"
property_loijnrojkz_ghvucnceaiot="false"
property_qypximitfu_hadphdn_uegi="false"
property_xdtwmlpixuoytcbuxqtwemj="false"
property_qmg_isfrtbrtwrpbalgnnqi="false"
property_nmvkxsnirj_vmbnzufwfckz="false"
property_oolynkwsprpzbozacperloj="false"
property_fzhndq_rugmhrubuihdfjev="false"
property_ecjnkchgjnmylqtqfuvevah="false"
property_jzcrrvzsnfblmpzkzgrqyng="false"
property_ibpcllbjyt_lmt_jyftjvdu="false"
property_zzihlezvj_plasfqtrismnu="false"
property_rhghyiizqouogh_rkhpzbvb="false"]
Where to check for custom property attributes taxonomy name?
You can visit the attribute table listing at: wordpress sidebar->properties->attributes and under the information column, there is a taxonomy_name information.
What are the default meta and taxonomy used by property fields?
For more detailed information about the storage type etc, you can view fields.php. summarizing the fields:
- property_location:
- [taxonomy] property_country
- [meta] _property_address
- [meta] _property_postalcode
- property_video:
- [meta] _property_data
- property_thumbnail
- [meta] _property_data
- property_price
- [taxonomy] property_currency
- [taxonomy] property_duration
- [meta] _property_price
- property_landsize
- [taxonomy] property_dimension
- [meta] _property_landsize
- property_images
- [meta] _property_data
- property_floorplan
- [meta] _property_data
- property_buildingsize
- [taxonomy] property_dimension
- [meta] _property_buildingsize
- property_status
- [taxonomy] property_status
- [meta] _property_status
- property_duration
- [meta] _property_duration_from
- [meta] _property_duration_end
- property_download
- [meta] _property_data
- property_share
- [meta] _property_data
- property_contactform7
- [meta] _property_data
This author will respond to buyers' questions and provides limited support through their own support system.
View the item support policy
We'd like to ask you a few questions to help improve CodeCanyon.