| Server IP : 147.79.69.168 / Your IP : 216.73.216.56 Web Server : LiteSpeed System : Linux in-mum-web1677.main-hosting.eu 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : u635632881 ( 635632881) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u635632881/domains/keyhandover.in/public_html/wp-content/themes/houzez/ |
Upload File : |
<?php
global $post;
$agent_form = houzez_option('agent_form_sidebar');
$agent_form_sidebar_tabs = houzez_option('agent_form_sidebar_tabs');
$sidebar_meta = houzez_get_sidebar_meta($post->ID);
if( isset( $_GET['agent_form']) && $_GET['agent_form'] == 'yes' ) {
$agent_form = 1;
}
?>
<aside id="sidebar" class="sidebar-wrap">
<?php
if( is_singular('property') ) {
if( $agent_form != 0 ) {
if( $agent_form_sidebar_tabs == 1 ) {
get_template_part( 'property-details/agent', 'form-tabs' );
} else {
get_template_part( 'property-details/agent', 'form' );
}
}
if( is_active_sidebar( 'single-property' ) ) {
dynamic_sidebar( 'single-property' );
}
} else {
if( $sidebar_meta['specific_sidebar'] == 'yes' ) {
if( is_active_sidebar( $sidebar_meta['selected_sidebar'] ) ) {
dynamic_sidebar( $sidebar_meta['selected_sidebar'] );
}
} else {
if( is_active_sidebar( 'property-listing' ) ) {
dynamic_sidebar( 'property-listing' );
}
}
}
?>
</aside>