array( 'link' => esc_url( 'http://aniro1.wdvillage.com/' ), 'text' => esc_html__( '"Aniro Hotel RPO" demo', 'aniro-hotel-light' ), ), 'pro' => array( 'link' => esc_url( 'https://wdvillage.com/product/aniro-hotel-pro/' ), 'text' => esc_html__( '"Aniro Hotel PRO" read more', 'aniro-hotel-light' ), ), ); foreach ( $important_links as $important_link) { echo '

'; } } } if ( ! class_exists( 'WP_Customize_Control' ) ) { return NULL; } //Add Theme demo, on-line documents, support forum class anirohotellight_Important_Links extends WP_Customize_Control { public $type = 'important-links'; public function render_content() { $important_links = array( 'demo' => array( 'link' => esc_url( 'http://anirohotel-light.wdvillage.com/' ), 'text' => esc_html__( '"Aniro Hotel Light" demo', 'aniro-hotel-light' ), ), 'documents' => array( 'link' => esc_url( 'http://doc.wdvillage.com/docs/aniro-hotel/0-general-information/' ), 'text' => esc_html__( '"Aniro Hotel" on-line documentation', 'aniro-hotel-light' ), ), 'forums' => array( 'link' => esc_url( 'http://wdvillage.com/forums/' ), 'text' => esc_html__( '"Aniro Hotel" support forum', 'aniro-hotel-light' ), ), ); foreach ( $important_links as $important_link) { echo '

'; } } } if ( ! class_exists( 'WP_Customize_Control' ) ) { return NULL; } /** * A class to create a dropdown for all google fonts header */ class anirohotellight_Google_Font_Dropdown_Custom_Control_Header extends WP_Customize_Control { private $fonts = false; public function __construct($manager, $id, $args = array(), $options = array()) { $this->fonts = anirohotellight_google_fonts_array(); parent::__construct( $manager, $id, $args ); } /** * Render the content of the category dropdown * * @return HTML */ public function render_content() { if(!empty($this->fonts)&&!($this->fonts)==0) { ?> fonts = anirohotellight_google_fonts_array(); parent::__construct( $manager, $id, $args ); } /** * Render the content of the category dropdown * * @return HTML */ public function render_content() { if(!empty($this->fonts)&&!($this->fonts)==0) { ?>