array( 'link' => esc_url( 'https://catchthemes.com/corporacy-pro/#theme-instructions' ), 'text' => esc_html__( 'Theme Instructions', 'corporacy' ), ), 'support' => array( 'link' => esc_url( 'https://catchthemes.com/support/' ), 'text' => esc_html__( 'Support', 'corporacy' ), ), 'changelog' => array( 'link' => esc_url( 'https://catchthemes.com/changelogs/corporacy-theme/' ), 'text' => esc_html__( 'Changelog', 'corporacy' ), ), 'facebook' => array( 'link' => esc_url( 'https://www.facebook.com/catchthemes/' ), 'text' => esc_html__( 'Facebook', 'corporacy' ), ), 'twitter' => array( 'link' => esc_url( 'https://twitter.com/catchthemes/' ), 'text' => esc_html__( 'Twitter', 'corporacy' ), ), 'pinterest' => array( 'link' => esc_url( 'http://www.pinterest.com/catchthemes/' ), 'text' => esc_html__( 'Pinterest', 'corporacy' ), ), ); foreach ( $important_links as $important_link ) { echo '

' . $important_link['text'] . '

'; } } } // Custom control for dropdown category multiple select. class Corporacy_Multi_Cat extends WP_Customize_Control { public $type = 'corporacy-dropdown-categories'; public function render_content() { $dropdown = wp_dropdown_categories( array( 'name' => $this->id, 'echo' => 0, 'hide_empty' => false, 'show_option_none' => false, 'hide_if_empty' => false, 'show_option_all' => esc_html__( 'All Categories', 'corporacy' ), ) ); $dropdown = str_replace( 'get_link(), $dropdown ); printf( '', $this->label, $dropdown ); echo '

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

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

' . $this->label . '

'; } } class Corporacy_Toggle_Control extends WP_Customize_Control { public $type = 'corporacy-light'; /** * Render the control's content. */ public function render_content() { ?>