Site logo

Archived topic

Need to put around widgets as well as site info

7 replies · Started by Alicia on November 23, 2020

Viewing posts 1–8 of 8

Is there a filter to move change the HTML wrappers?

Hi there,

which wrappers do you want to add or change ?

I need to wrap the widgets as well as the site info in <footer></footer>, removing it from what is currently called the <footer>. Is that possible?

Do you have any ideas on how I could do that, or maybe it's a bit too complicated?

The <footer> element is backed into the theme. Not easy to change that.
Andy particular reason you need to do this ?

Yes, I'm participating in an Accessibility Internet Rally and we're turning in the site today. The way the widgets an the footer look on the site, they represent a <footer> and it would be best to close the whole thing in the footer tag for screen readers.

I'm also having a strange issue with the title has disappeared on the Custom Post Type Archive:

Hi there,

The footer element is hard-coded into the theme, as David said.

However, have you considered building a custom footer from scratch using GenerateBlocks and Block Elements?

This way you would have full control over the wrapper tag name, and more control over the inner contents of the footer.

This archived topic is closed to new replies.