Featured / header image for blog page

Hi!

When I try to add a featured image to my blog main page, it does to appear and it just turn on the Blog header. Is there a way to add the image? Now it looks so plain: https://secure.ainalaina.fi/anniwp/uutiset/

Hi there,

The blog page uses a different page template so whatever featured image you use on the page will not be displayed.

If you want to place a featured image to the blog page, please try adding this to the functions.php file of the child theme:

function add_featured_image() { ?>
  <img src="URL_OF_THE_IMAGE" alt="The Image Alternative Text" />
<?php }

add_action( 'x_after_site_begin', 'add_featured_image' );

Please replace URL_OF_THE_IMAGE with the image url.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.