$this->name, 'echo' => 0, 'hide_empty' => false, 'show_option_none' => false, 'hide_if_empty' => false, ) ); $dropdown = str_replace('get_link(), $dropdown ); printf( '', esc_html( $this->label ), $dropdown ); echo '

'. __( 'Hold down the Ctrl (windows) / Command (Mac) button to select multiple options.', 'foodland' ) . '

'; } } // Custom control for any note, use label as output description class Foodland_Note_Control extends WP_Customize_Control { public $type = 'description'; public function render_content() { echo '

' . esc_html( $this->label ) . '

'; } } // Custom control for dropdown category multiple select class Foodland_Important_Links extends WP_Customize_Control { public $type = 'important-links'; public function render_content() { //Add Theme instruction, Support Forum, Changelog, Donate link, Review, Facebook, Twitter, Google+, Pinterest links $important_links = array( 'theme_instructions' => array( 'link' => esc_url( 'http://themepalace.com/theme-instructions/foodland/' ), 'text' => __( 'Theme Instructions', 'foodland' ), ), 'support' => array( 'link' => esc_url( 'http://themepalace.com/forum/foodland/' ), 'text' => __( 'Support', 'foodland' ), ), ); foreach ( $important_links as $important_link) { echo '

' . esc_attr( $important_link['text'] ) .'

'; } } } // Custom control for dropdown category nova menu items class Foodland_Customize_Dropdown_Nova_Menu extends WP_Customize_Control { public $type = 'nova-menu'; public $name; public function render_content() { // get post array from nova_menu_post type $nova_menu_posts = get_posts( array( 'post_type' => 'nova_menu_item', 'numberposts' => -1 ) ); if( ! $nova_menu_posts ) return; $display = ''; printf( '', esc_html( $this->label ), $display ); } }