BradK
posted this
15 August 2020
Hi Olivia,
After much experimentation, I realized you can either edit the header/footer in the theme or in the plugin. If you modify the header/footer in the plugin, the changes apply to ALL pages in which the page template is set to "Nicepage Header and Footer". Thus, it's not possible to modify the header on a single page, because that will affect ALL pages using the plugin's template.
This implementation is poorly thought out and completely impractical. If you want to have consistent headers/footers across your entire site, your ONLY option is to use the theme template for all pages. Instead, it should work like this:
When creating a new page, it should always START with the layout from the theme template.
You should be able to override the theme header/footer on any page, but the changes would only affect THAT page, not all pages using the "Nicepage Header and Footer" template. This would allow you to override headers and footers on specific pages, to create landing pages, create a transparent header over a hero image on the home page, etc...
There should be a reset button to replace the custom header or footer on a page with the layout from the theme template. Thus if you make some changes to the header/footer and totally mess up the design, you could revert it to the theme template with a single click. This is different from simply changing the page template to the theme layout. The reset button would COPY the settings from the the theme template to the plugin template, allowing you to start with the theme template and then apply customizations to it. Again, any customizations made to a page's header or footer should only apply to THAT page, not every page that uses the "Nicepage Header and Footer" template.
Hi Olivia,
After much experimentation, I realized you can either edit the header/footer in the theme or in the plugin. If you modify the header/footer in the plugin, the changes apply to ALL pages in which the page template is set to "Nicepage Header and Footer". Thus, it's not possible to modify the header on a single page, because that will affect ALL pages using the plugin's template.
This implementation is poorly thought out and completely impractical. If you want to have consistent headers/footers across your entire site, your ONLY option is to use the theme template for all pages. Instead, it should work like this:
1. When creating a new page, it should always START with the layout from the theme template.
2. You should be able to override the theme header/footer on any page, but the changes would only affect THAT page, not all pages using the "Nicepage Header and Footer" template. This would allow you to override headers and footers on specific pages, to create landing pages, create a transparent header over a hero image on the home page, etc...
3. There should be a reset button to replace the custom header or footer on a page with the layout from the theme template. Thus if you make some changes to the header/footer and totally mess up the design, you could revert it to the theme template with a single click. This is different from simply changing the page template to the theme layout. The reset button would COPY the settings from the the theme template to the plugin template, allowing you to start with the theme template and then apply customizations to it. Again, any customizations made to a page's header or footer should only apply to THAT page, not every page that uses the "Nicepage Header and Footer" template.
Last edited 15 August 2020 by BradK