Change the template of my Blog entries

For most WordPress based sides, you can look at the classes on the body tag to find out what kind of content is being shown, a single post, a post archive, the front page etc. In your case, it’s post-template-default single single-post postid-2897 single-format-standard wpb-js-composer js-comp-ver-5.0.1 vc_responsive, so this is a single post that is … Read more

How to overlay a webcomic plugin on top of a header image?

Is the “Slick Material Design Beautiful..” content in a wsywig editor somewhere? the plugin doesn’t come with any shortcodes though you could create one for: <?php do_action(‘comic-area’); ?> And use it in the editor where the default content is? You can create shortcodes from actions though you will need to output buffer it, example: Using … Read more

Replace header with large image on home page only, using Genesis child theme

Well I got it working with a different approach but a good answer that provides insight why the approach in my question didn’t work will be accepted as the answer. I put this in functions.php for the child theme: add_action( ‘genesis_before_header’, ‘bob_gray_image’, 10 ); function bob_gray_image() { if ( is_front_page() ) { echo(‘<div class=”bobgrayimage”><img src=”https://wordpress.stackexchange.com/images/robert-c-gray-banner-maskbob-sharpen.jpg”></div>’); … Read more

How to set a header image?

get_header_image() uses get_theme_mod() to get the saved header image, so I would assume the following example should be used to update the saved value. And set_header_image does the same thing at the end of it, after all the different checks. set_theme_mod( ‘header_image’ , ‘your-image-url-here’ );