'Facebook', 'colormag_social_twitter' => 'Twitter', 'colormag_social_googleplus' => 'Google-Plus', 'colormag_social_instagram' => 'Instagram', 'colormag_social_pinterest' => 'Pinterest', 'colormag_social_youtube' => 'YouTube', ); ?> '; if ( get_theme_mod( 'colormag_header_image_link', 0 ) == 1 ) { $output .= ''; } $output .= '' . esc_attr( get_bloginfo( 'name', 'display' ) ) . ''; if ( get_theme_mod( 'colormag_header_image_link', 0 ) == 1 ) { $output .= ''; } $output .= ''; } return $output; } function colormag_header_image_markup_filter() { add_filter( 'get_header_image_tag', 'colormag_header_image_markup', 10, 3 ); } add_action( 'colormag_header_image_markup_render', 'colormag_header_image_markup_filter' ); /* * ************************************************************************************* */ if ( ! function_exists( 'colormag_render_header_image' ) ) : /** * Shows the small info text on top header part */ function colormag_render_header_image() { if ( function_exists( 'the_custom_header_markup' ) ) { do_action( 'colormag_header_image_markup_render' ); the_custom_header_markup(); } else { $header_image = get_header_image(); if ( ! empty( $header_image ) ) { if ( get_theme_mod( 'colormag_header_image_link', 0 ) == 1 ) { ?>
<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>