About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Would this code work for any Genesis Theme or is it just the Education Theme ?
It should.
I’ve just tested it successfully in Genesis Sample child theme.
Hi Sridhar,
I’m using the Outreach Pro theme and am trying to display the sub-footer widgets on the home page only. Is there a way to do so using a snippet like your’s above?
Thanks!
insert
if ( !is_front_page() )
return;
example:
function outreach_sub_footer() {
if ( !is_front_page() )
return;
if ( is_active_sidebar( ‘sub-footer-left’ ) || is_active_sidebar( ‘sub-footer-right’ ) ) {
echo ”;
Thank you! Just used this on the Outreach Pro theme! Worked like a charm, just had to replace
remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
with
remove_action( 'genesis_before_footer', 'outreach_sub_footer', 5 );