Site logo

Archived topic

Footer not footer in HTML

4 replies · Started by Kees on October 6, 2022

Viewing posts 1–5 of 5

Hi,

I have a question. Why is the default footer not a <footer>?
Only the copyright bar is a footer. Is that for a reason?

Hi there,

the Footer Bar has always been the footer in GP and i believe it was the case before the footer widgets existed. So its a legacy thing.

Do you need to change that ? As there are ways including building your own Element Type: Footer in the Block Element.

Hi,

We think it is better in the future that the widgets are also are in the <footer>. Ofcourse we could build an element. But that is extra work.

Is this something that could change in a future new version?

Unfortunately its not something we can easily change due to backwards compatibility.
There are quite a few classes related to the footer and widget area structure, and changing that HTML could have adverse affects for a lot of sites out there.

Personally i would recommend using a Block Element to build out the Footer with GenerateBlocks, once you have the structure you need you can export that Block element for other sites.

Hi,

I understand. No problem!

This archived topic is closed to new replies.