The property page is displayed using the single-estate_property.php file.

On the property page you can pick between two types : horizontal and vertical . You can set a global slider value (to be applied on all listings) or you can pick one per page. The code that loads the slider is at line 164

if ($local_pgpr_slider_type_status=='global'){
$prpg_slider_type_status= esc_html ( get_option('wp_estate_global_prpg_slider_type','') );
if($prpg_slider_type_status=='vertical'){
get_template_part('templates/listingslider-vertical');
}else{
get_template_part('templates/listingslider');
}
}elseif($local_pgpr_slider_type_status=='vertical') {
get_template_part('templates/listingslider-vertical');
}else{
get_template_part('templates/listingslider');
}

*** the horizontal slider is in templates/listingslider.php while the vertical slider is in templates/listingslider-vertical.php

The property page has 2 main formats – accordion and tabs. The code that loads one of the version is at line line 185

$local_pgpr_content_type_status = get_post_meta($post->ID, 'local_pgpr_content_type', true);
if($local_pgpr_content_type_status =='global'){
$global_prpg_content_type_status= esc_html ( get_option('wp_estate_global_prpg_content_type','') );
if($global_prpg_content_type_status=='tabs'){
get_template_part ('/templates/property_page_tab_content');
}else{
get_template_part ('/templates/property_page_acc_content');
}
}elseif ($local_pgpr_content_type_status =='tabs') {
get_template_part ('/templates/property_page_tab_content');
}else{
get_template_part ('/templates/property_page_acc_content');
}

*** the property page tab content is in templates/property_page_tab_content.php while the accordion is in /templates/property_page_acc_content.php

The next block in this file is the one that loads or not the sidebar agent – adds the agent card on the sidebar
$sidebar_agent_option_value= get_post_meta($post->ID, 'sidebar_agent_option', true);
$enable_global_property_page_agent_sidebar= esc_html ( get_option('wp_estate_global_property_page_agent_sidebar','') );
if ( $sidebar_agent_option_value=='global' ){
if($enable_global_property_page_agent_sidebar!='yes'){
get_template_part ('/templates/agent_area');
}

}else if($sidebar_agent_option_value !=’yes’){
get_template_part (‘/templates/agent_area’);
}

And in the end we have the similar listing block

get_template_part ('/templates/similar_listings');

 

The actual content page

As explained before the property page tab content is in templates/property_page_tab_content.php while the accordion is in /templates/property_page_acc_content.php.

In both of these file the content is displayed using various functions . For ex in property_page_acc_content.php we have

estate_listing_address($post->ID); // line 42 - shows address details
estate_listing_details($post->ID); // line 63 - show property details (default and custom fields)
estate_listing_features($post->ID); // line 89 - show property Features and Amenities
wpestate_walkscore_details($post->ID); // line 118 - show walkscore for property
estate_floor_plan($post->ID); // line 148 - show floor plans

All the above functions are located in libs/listing_functions.php