array(
'link' => esc_url( 'https://catchthemes.com/themes/audioman/#theme-instructions/' ),
'text' => esc_html__( 'Theme Instructions', 'audioman' ),
),
'support' => array(
'link' => esc_url( 'https://catchthemes.com/support/' ),
'text' => esc_html__( 'Support', 'audioman' ),
),
'changelog' => array(
'link' => esc_url( 'https://catchthemes.com/themes/audioman/#changelog' ),
'text' => esc_html__( 'Changelog', 'audioman' ),
),
'facebook' => array(
'link' => esc_url( 'https://www.facebook.com/catchthemes/' ),
'text' => esc_html__( 'Facebook', 'audioman' ),
),
'twitter' => array(
'link' => esc_url( 'https://twitter.com/catchthemes/' ),
'text' => esc_html__( 'Twitter', 'audioman' ),
),
'gplus' => array(
'link' => esc_url( 'https://plus.google.com/+Catchthemes/' ),
'text' => esc_html__( 'Google+', 'audioman' ),
),
'pinterest' => array(
'link' => esc_url( 'http://www.pinterest.com/catchthemes/' ),
'text' => esc_html__( 'Pinterest', 'audioman' ),
),
);
foreach ( $important_links as $important_link ) {
echo '
' . $important_link['text'] . '
';
}
}
}
// Custom control for dropdown category multiple select.
class Audioman_Multi_Categories_Control extends WP_Customize_Control {
public $type = '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', 'audioman' ),
)
);
$dropdown = str_replace( '