In GenesisWP Slack group, a user wanted to know how to display only the first two Footer widget areas on Pages that have a specific Page template applied with the rest of the pages showing the default number of footer widgets as defined in the child theme.
genesis_footer_widget_areas filter hook can be used for this purpose.
Pages with the custom page template applied:
All other pages:
Adding the following in child theme's functions.php will show 2 footer widget areas on any Page with a "Services" Page Template (template-services.php) applied and 3 footer widget areas on all other pages:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.