In the comments section of How to add a full width responsive image below header in Parallax Pro a user asked:
You may already have a tutorial for this but I was wondering if we could have a unique full width banner (below header) per page or post using the Featured Image and setting a default if there is no featured image. Could you point me in the right direction for this.
This tutorial has the steps for automatically displaying featured image for Posts and Pages below the header edge to edge. If featured image is not present, a default hard-coded placeholder image will be pulled from images directory and shown.
A static Page having featured image:
A static Page without a featured image:
A singular Post page having featured image:
Add the following in child theme's functions.php:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.