array( 'link' => esc_url('https://www.designlabthemes.com/artpop-pro-wordpress-theme/?utm_source=customizer_link&utm_medium=wordpress_dashboard&utm_campaign=artpop_upsell'), 'text' => __('Try Artpop Pro', 'artpop'), ), 'theme' => array( 'link' => esc_url('https://www.designlabthemes.com/artpop-wordpress-theme/'), 'text' => __('Theme Homepage', 'artpop'), ), 'documentation' => array( 'link' => esc_url('https://www.designlabthemes.com/artpop-documentation/'), 'text' => __('Theme Documentation', 'artpop'), ), 'rating' => array( 'link' => esc_url('https://wordpress.org/support/theme/artpop/reviews/#new-post'), 'text' => __('Rate This Theme', 'artpop'), ), 'instagram' => array( 'link' => esc_url('https://www.instagram.com/designlabthemes/'), 'text' => __('Follow Us on Instagram', 'artpop'), ), 'twitter' => array( 'link' => esc_url('https://twitter.com/designlabthemes'), 'text' => __('Follow Us on Twitter', 'artpop'), ) ); foreach ($important_links as $important_link) { echo '

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

'; } } } // Radio Image Control class Artpop_Customize_Radio_Image extends WP_Customize_Control { public $type = 'artpop-radio-image'; function render_content() { if ( empty( $this->choices ) ) return; $name = '_customize-radio-' . $this->id; if ( ! empty( $this->label ) ) : ?> label ); ?> description ) ) : ?> description ); ?>
choices as $value => $item ) { $label = isset( $item['label'] ) ? $item['label'] : ''; ?>
label ) ) { echo '' . esc_html( $this->label ) . ''; } if ( ! empty( $this->description ) ) { echo '
' . esc_html( $this->description ) . '
'; } } } // Separator Control class Artpop_Customize_Separator extends WP_Customize_Control { public function render_content() { echo '
'; } } // Multiple Checkbox Control // Based on a solution by Justin Tadlock: http://justintadlock.com/archives/2015/05/26/multiple-checkbox-customizer-control class Artpop_Customize_Checkbox_Multiple extends WP_Customize_Control { public $type = 'artpop-multiple-checkbox'; public function render_content() { if ( empty( $this->choices ) ) : return; endif; if ( ! empty( $this->label ) ) : ?> label ); ?> description ) ) : ?> description ); ?> value() ) ? explode( ',', $this->value() ) : $this->value(); ?> link(); ?> value="" /> label ) ) { echo '
'; echo '' . esc_html( $this->label ) . ' '; echo '' . esc_html( $pro_version_text ) . ''; echo '
'; } } }