Can somebody advise me on how I could register a new widget area but ONLY on pages I've set to be full-width.
I'm basically looking to add a new widget area in that space, after my content.
I already have an 'after content' widget on EVERY page. I'd like this widget SOLELY for full width pages. Is this something that can be done easily? I just cannot think how I'd target those full width pages only...
Here's one way of doing this in Genesis:
- Register a custom 'After Entry Full' widget area.
- Display it after the Post for only those Posts that use Full Width layout.
- Turn on the visibility of after-entry widget area for all Posts (this is built-in Genesis).
- Set after-entry widget area to NOT appear for Posts that use Full Width layout.
A standard Post using the default layout (having a right sidebar):
A Post in which Full Width layout has been applied:
Add this 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.