'post', 'post_status' => 'publish', 'numberposts' => '-1', 'ignore_sticky_posts' => 1));// phpcs:ignore WPThemeReview.CoreFunctionality.PostsPerPage.posts_per_page_numberposts $this->posts = get_posts($postargs); parent::__construct($manager, $id, $args); } /** * Render the content on the theme customizer */ public function render_content() { if (!empty($this->posts)) { ?>

label); ?>

label); ?>

'advertisement', 'post_status' => 'publish','numberposts' => '-1', 'ignore_sticky_posts' => 1));// phpcs:ignore WPThemeReview.CoreFunctionality.PostsPerPage.posts_per_page_numberposts $this->posts = get_posts($postargs); parent::__construct( $manager, $id, $args ); } /** * Render the content on the theme customizer */ public function render_content() { if(!empty($this->posts)) { ?> $red, 'green' => $green, 'blue' => $blue ); } //******************************************************************************************* /** * Google fonts list. */ function anirohotellight_google_fonts_array() { $google_fonts_array = array( 'Roboto'=> 'Roboto:400,300,500,700,900&subset=latin,greek,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic', 'Catamaran' =>'Catamaran:400,100,200,300,500,600,900,800,700&subset=latin,tamil,latin-ext', 'Open Sans' => 'Open+Sans:300,400,600,700,800&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese', 'Roboto Condensed' => 'Roboto+Condensed:300,400,700&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese', 'Source Sans Pro' => 'Source+Sans+Pro:200,300,400,600,700,900&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese', 'Oswald' => 'Oswald:200,300,400,500,600,700&subset=cyrillic,latin-ext,vietnamese', 'Lato' => 'Lato:300,400,700,900&subset=latin-ext', 'Montserrat' => 'Montserrat:200,300,400,500,700,900&subset=cyrillic,cyrillic-ext,latin-ext,vietnamese', 'PT Sans' => 'PT+Sans:400,700&subset=cyrillic,cyrillic-ext,latin-ext', 'Ubuntu' => 'Ubuntu:300,400,500,700&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext', 'PT Sans Narrow' => 'PT+Sans+Narrow:400,700&subset=cyrillic,cyrillic-ext,latin-ext', 'Arimo' => 'Arimo:400,700&subset=cyrillic,cyrillic-ext,greek,greek-ext,hebrew,latin-ext,vietnamese', 'Archivo Narrow' => 'Archivo+Narrow:400,500,600,700&subset=latin-ext', 'Encode Sans Condensed' => 'Encode+Sans+Condensed:200,300,400,500,600,700,900&subset=latin-ext,vietnamese', 'Alegreya Sans SC' => 'Alegreya+Sans+SC:300,400,700,900&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese', 'Archivo' => 'Archivo:400,500,600,700&subset=latin-ext,vietnamese', 'Nunito' => 'Nunito:200,300,400,600,700,900&subset=latin-ext,vietnamese', 'Fira Sans' => 'Fira+Sans:200,300,400,600,700,900&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese', 'Mukta' => 'Mukta:200,300,400,500,600,700,800&subset=devanagari,latin-ext', ); return apply_filters( 'anirohotellight_google_fonts_array', $google_fonts_array ); } /* * ************************************************************************************ */ /** * Default theme options. */ function anirohotellight_default_theme_options() { $default_theme_options = array( /** ************************************************** */ /* Customizer */ /** ************************************************** */ //Logo 'anirohotellight_logo' => '', 'anirohotellight_logo_size' => 50, /** ************************************************** */ /* Customizer fonts */ /** ************************************************** */ 'anirohotellight_google_font_setting_header' => 'Muli', 'anirohotellight_google_font_setting_body' => 'Roboto', /** ************************************************** */ /* Customizer front page about */ /** ************************************************** */ 'anirohotellight_about_title' => 'More about Aniro Hotel', 'anirohotellight_about_btn_text'=> 'Read more about hotel', 'anirohotellight_about_btn_link'=> '', 'anirohotellight_about_text' => 'Text about Aniro Hotel ...', 'anirohotellight_about_img_1'=> '', 'anirohotellight_about_img_2'=> '', 'anirohotellight_about_img_3'=> '', 'front_page_show_hide_about' => '', 'front_page_show_hide_about_images'=> '', /** ************************************************** */ /* Customizer Front Page Blog */ /** ************************************************** */ 'anirohotellight_blog_title' => 'From our blog', 'anirohotellight_blog_btn_text' => 'See our Blog', 'anirohotellight_blog_btn_link' => '', 'anirohotellight_blog_show' => 'show-2', 'anirohotellight_choose_blog_post_1' => '', 'anirohotellight_choose_blog_post_2' => '', 'anirohotellight_choose_blog_post_3' => '', 'anirohotellight_choose_blog_post_4' => '', 'front_page_show_hide_blog' => '', /** ************************************************** */ /* Customizer Front Page contacts */ /** ************************************************** */ 'anirohotellight_contact_form_title' => 'Contact us by e-mail', //'anirohotellight_contact_info_title' => 'More contact info', //'anirohotellight_contact_info_show_address' => 1, //'anirohotellight_contact_info_show_phone' => 1, //'anirohotellight_contact_info_show_email' => 1, 'front_page_show_hide_contacts' => '', 'front_page_show_hide_contactform' => '', //'front_page_show_hide_contactinfo' => '', /** ************************************************** */ /* Customizer Front Page header */ /** ************************************************** */ 'anirohotellight_slider_index_type' => 'type-index-1', 'anirohotellight_slider_bg_filtr' => '#000', 'anirohotellight_slider_bg_filtr_alpha' => 0, 'anirohotellight_slider_text_1' => '', 'anirohotellight_slider_link_1' => '', 'anirohotellight_slider_link_text_1' => '', 'front_page_show_hide_btn_slide_1' => '', 'anirohotellight_slider_img_1' => '', 'anirohotellight_slider_text_2' => '', 'anirohotellight_slider_link_2' => '', 'anirohotellight_slider_link_text_2' => '', 'front_page_show_hide_btn_slide_2' => '', 'anirohotellight_slider_img_2' => '', 'anirohotellight_slider_text_3' => '', 'anirohotellight_slider_link_3' => '', 'anirohotellight_slider_link_text_3' => '', 'front_page_show_hide_btn_slide_3' => '', 'anirohotellight_slider_img_3' => '', 'anirohotellight_slider_text_4' => '', 'anirohotellight_slider_link_4' => '', 'anirohotellight_slider_link_text_4' => '', 'front_page_show_hide_btn_slide_4' => '', 'anirohotellight_slider_img_4' => '', 'anirohotellight_slider_text_5' => '', 'anirohotellight_slider_link_5' => '', 'anirohotellight_slider_link_text_5' => '', 'front_page_show_hide_btn_slide_5' => '', 'anirohotellight_slider_img_5' => '', 'anirohotellight_header_text3' => '', 'anirohotellight_header_show_booking_panel' => 'showcenter', 'anirohotellight_frontpage_header_text_show' => '', 'anirohotellight_frontpage_header_text' => '', /** ************************************************** */ /* Customizer Front Page rooms */ /** ************************************************** */ 'anirohotellight_rooms_title' => 'Rooms', 'anirohotellight_rooms_btn_text' => 'See all rooms', 'anirohotellight_rooms_btn_link' => '', 'anirohotellight_rooms_numbers' => 4, 'anirohotellight_rooms_numbers_of_lines' => 1, 'front_page_show_hide_rooms' => '', /** ************************************************** */ /* Customizer Front Page services */ /** ************************************************** */ 'anirohotellight_services_title' => 'Our services', 'anirohotellight_services_btn_text'=> 'See all services', 'anirohotellight_services_btn_link'=> '', 'anirohotellight_services_bg' => '', 'anirohotellight_services_bg_filtr' => '#d2691e', 'anirohotellight_services_bg_filtr_alpha' => 1, 'front_page_show_hide_services' => '', /** ************************************************** */ /* Customizer Front Page Advertisement */ /** ************************************************** */ //'anirohotellight_advertisement_title' => 'Read about our seasonal offers', 'anirohotellight_advertisement_bg' => '', 'anirohotellight_advertisement_bg_filtr' => '#d2691e', 'anirohotellight_advertisement_bg_filtr_alpha' => 1, 'front_page_show_hide_advertisement' => '', /** ************************************************** */ /* Customizer Front Page Testimonials */ /** ************************************************** */ 'anirohotellight_testimonials_title' => 'Testimonials', 'anirohotellight_testimonials_btn_text'=> 'See all testimonials', 'anirohotellight_testimonials_btn_link'=> '', 'anirohotellight_testimonials_bg' => '', 'anirohotellight_testimonials_bg_filtr' => '#d2691e', 'anirohotellight_testimonials_bg_filtr_alpha' => 1, 'front_page_show_hide_testimonials' => '', /** ************************************************** */ /* Customizer Header options */ /** ************************************************** */ 'anirohotellight_top_options_hide_data'=> '', 'anirohotellight_sitetitle_placement'=> 'top', 'anirohotellight_header_button_text' => 'Book now', 'anirohotellight_header_button_link' => '', /** ************************************************** */ /* Customizer theme options */ /** ************************************************** */ //**************************************** // Add section 'Layouts options' //**************************************** 'anirohotellight_layout' => 'sidebar-right', //**************************************** // Add section 'Sticky post options' //**************************************** 'anirohotellight-sticky-post' => 'square-check', //**************************************** // Add section 'Front page type' //**************************************** 'anirohotellight_front_page_type' => 'front-page-type3', 'anirohotellight_number_of_words_frontpage' => 35, 'anirohotellight_number_of_words_adverticement' => 35, //**************************************** // Add copyright text in footer //**************************************** 'anirohotellight_years' => '', 'anirohotellight_all_rights_text' => 'All Rights Reserved.', 'anirohotellight_hide_copyright' => '', ); return apply_filters('anirohotellight_default_theme_options', $default_theme_options); }