I am trying to: use Layouts (on certain pages) with parent layout containing header and footer.
I visited this URL:
I expected to see: Only the footer made in Layouts. I supposed the Toolset Genesis Integration plugin would disable the Genesis footer.
Instead, I got: There is still original Genesis footer widget area. So there are two footers on these pages.
Hi, I'm not quite clear what you're describing. Could you provide screenshots of the footer widget areas in your WP admin, the Layout containing the Header and Footer, and screenshots of the problem on your site front-end?
If you're talking about the footer widget areas as defined in Appearance > Widgets, Layouts with the Genesis integration plugin won't remove those automatically. I'm attaching screenshots here that show the footer areas with sample text. However, if these are showing twice, that would indicate a problem.
I see, thank you. Layouts does not automatically override or remove the Footer widgets applied in Appearance > Widgets, so if you include your footer widgets in both Layouts and Appearance > Widgets, you will experience duplication like you have seen. My best advice is to remove the widgets from one of these areas.
I prefer to use only Layouts.
If I remove Text from Footer widgets, there is empty space in the footer.
I also tried
remove_theme_support( 'genesis-footer-widgets' );
and
remove_action('genesis_footer', 'genesis_do_footer');
remove_action('genesis_footer', 'genesis_footer_markup_open', 5);
remove_action('genesis_footer', 'genesis_footer_markup_close', 15);
but nothing happened.
Would it be possible for me to make a clone of your site using the Duplicator plugin? This way I can investigate on my local environment and make changes without breaking your live site. If this is okay, please provide me with login credentials in the private reply fields here.
Hi, I removed the two widget cells from your Parent Layout, and replaced them with two Visual Editor cells. Then I applied the required classes to the new cells and row to replicate the design from your home page. I left the widgets in place in your Appearance > Widgets area, so the design of other pages retains the footer elements.
Do you think this will work for your needs? The main drawback I see is that the content must be managed in both places - meaning that a text update in Appearance > Widgets must also be performed in your Parent Layout.
Dear Christian, managing content in two places is not the right way, I think. I find better then to use only the native Genesis footer.
So the Genesis Integration plugin does not work well.
Thank you for your effort.
I see what you mean. I think that the Layouts integration is designed to work well when Layouts controls every page of the site, and you can use the same parent header and footer layout to control these elements across all pages.