How to create smaller version of site header similar to post thumbnails?

I can get address of medium sized feature image of post, like this:

the_post_thumbnail_url('medium');

How would I be able to recreate that for the site header, like this:

get_header_image('medium');

Read more here: How to create smaller version of site header similar to post thumbnails?

Leave a Reply

Your email address will not be published. Required fields are marked *