Archived topic
Change Footer Menu H2 Headings
5 replies · Started by Arie on April 5, 2023
Hello... I am trying to find out how to change my footer menu headings from the current H2 tag to a <p> or <span> tag instead. Any ideas? Thanks.
Hi there,
can i see then site where you want to make this change? I can see how those are being added
Sure thing, added in 'private information' section.
Hi there,
Are you referring to the widget titles?
If so you would need to use these two filters:
https://docs.generatepress.com/article/generate_start_widget_title/
https://docs.generatepress.com/article/generate_end_widget_title/
Example: https://generatepress.com/forums/topic/how-to-implement-instead-of-for-footer-widgets/#post-1609211
Learn how to add PHP: https://docs.generatepress.com/article/adding-php/
It works, thanks!
No problem :)