My custom header does not change the header image height and width

You have forgot to do “echo” the Height & Width in Image code. Your Header code should like below. <img src=”https://wordpress.stackexchange.com/questions/348195/<?php header_image(); ?>” height=”<?php echo get_custom_header()->height; ?>” width=”<?php echo get_custom_header()->width; ?>” alt=””> <?php wp_nav_menu( array(‘theme_location’ => ‘primary’) ); ?> check this reference https://codex.wordpress.org/Custom_Headers

Custom page html headings plugin?

You could use a simple custom field and have it displayed on the page template. Assuming you name the custom field “page-heading” this could help you: <?php query_posts(); ?> <?php if(get_post_meta($post->ID, ‘page-heading’, true)): ?> <?php echo get_post_meta($post->ID, ‘page-heading’, true); ?> <?php else : ?> Normal content <?php endif; ?> You should be easily able to … Read more

Add credit to get_custom_header in alt

Use this for the alt=”” attribute on the custom header <img> tag … alt=”<?php $attachment_id = get_custom_header()->attachment_id; $alt = get_post_meta( $attachment_id, ‘_wp_attachment_image_alt’, true ); if ( count( $alt ) ) echo $alt; ?>” /> … and then just edit the media attachment and add the alt text.

Include different scripts and styles for two separate custom headers?

Check whatever conditions you want to enqueue specific scripts on within your enqueue function. function wpd_enqueue_scripts() { if( is_user_logged_in() ){ wp_enqueue_script( ‘script-name’, get_template_directory_uri() . ‘/js/logged-in.js’, array(), ‘1.0.0’, true ); } else { wp_enqueue_script( ‘script-name’, get_template_directory_uri() . ‘/js/not-logged-in.js’, array(), ‘1.0.0’, true ); } } add_action( ‘wp_enqueue_scripts’, ‘wpd_enqueue_scripts’ );

Change position of header image with default 2019 theme

In the header file for the child theme there is a div with class of “site-branding-container” It contains an h1 element and a p element. Just ad an img element after the p element. i.e. <div class=”site-branding-container”> <div class=”site-branding”> <h1 class=”site-title”><a href=”https://wp-themes.com/” rel=”home”>Theme Preview</a></h1> <p class=”site-description”>Previewing Another WordPress Blog</p> <img src=”https://cnet3.cbsistatic.com/img/Yt768C55hXNi2eGSB9qOv-e7SQg=/2011/03/16/c7675aa8-fdba-11e2-8c7c-d4ae52e62bcc/Chrome-logo-2011-03-16.jpg”> </div><!– .site-branding –> </div> … Read more