| Server IP : 89.108.64.180 / Your IP : 216.73.217.92 Web Server : Apache/2.4.41 (Ubuntu) System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-root ( 1010) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/aravanatula.ru/wp-content/themes/calluna/framework/config/ |
Upload File : |
<?php
/**
* Hotelier specific functions.
*
*/
/**
* Disable default Hotelier CSS style
*/
if ( ! function_exists( 'calluna_disable_hotelier_style' ) ) :
function calluna_disable_hotelier_style() {
return false;
}
endif;
add_filter( 'hotelier_enqueue_styles', 'calluna_disable_hotelier_style' );
/**
* Extra div in room details.
*/
if ( ! function_exists( 'calluna_before_room_meta' ) ) :
function calluna_before_room_meta() {
echo '<div class="room-meta-wrapper">';
}
endif;
add_action( 'hotelier_single_room_details', 'calluna_before_room_meta', 21 );
if ( ! function_exists( 'calluna_after_room_meta' ) ) :
function calluna_after_room_meta() {
echo '</div>';
}
endif;
add_action( 'hotelier_single_room_details', 'calluna_after_room_meta', 51 );
/**
* Hide room description from the room shortcodes/archive.
*/
remove_action( 'hotelier_archive_item_room', 'hotelier_template_archive_room_description', 20 );
/**
* Show datepicker in page carousel.
*/
if ( ! function_exists( 'calluna_show_carousel_datepicker' ) ) :
function calluna_show_carousel_datepicker() {
echo do_shortcode( '[hotelier_datepicker]' );
}
endif;
add_action( 'calluna_carousel_datepicker', 'calluna_show_carousel_datepicker', 10 );
/**
* Register booking sidebar.
*
* @link https://codex.wordpress.org/Function_Reference/register_sidebar
*/
if ( ! function_exists( 'calluna_booking_sidebar' ) ) :
function calluna_booking_sidebar() {
register_sidebar( array(
'name' => esc_html__( 'Booking Sidebar', 'calluna-td' ),
'id' => 'calluna-booking-sidebar',
'description' => esc_html__( 'This sidebar is visible only in the booking pages.', 'calluna-td' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h5 class="widget-title">',
'after_title' => '</h5>',
) );
}
endif;
add_action( 'widgets_init', 'calluna_booking_sidebar' );