We shall set up a fallback image for Pages that do not have featured images.
Let's define a custom size for the body background images.
Install and activate Code Snippets plugin.
Go to Snippets > Add New.
Title: Custom Image Sizes
add_image_size( 'body-background', 1680, 1050, true );
If your site's Pages already have featured images set, regenerate thumbnails.
Add another Code Snippet.
Title: Set featured image as body background
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($47/month or $499 one-time).
Already a member? Log in below or here.