Archived topic
Can't change footer widget heading with new group widget block
3 replies · Started by Fabio on January 30, 2022
Hi all, i'm not sure if i'm doing something wrong or not.
i wanted to use generate_start_widget_title filter to change h2 to h4 widget title on footer.
but:
- if i use legacy widget and nav menu with a title, it works, but i want to create a block with an h4 title and then 3 rows with icon+text
- if i use the new "group of widget" i can set a title, then add any blocks i want, but even if i the filter set as usual i get "<h2 class="widget-title">prova</h2>"
now, the quick solution is to use a "group block" than add an Heading block for title, and then other Heading blocks for the rows i need
this said i would to know if it is possibile instead to usa the new "group of widget" and then all the Headings i need, because it uses less code and i think it can be quickier to use
i don't know if it's an error or worpdress block, or mine, or what else
in few words, is there any filter to change H2 to H4 for the widget-title of the new "group of widget" block?
thank you!
Hi there,
i believe thats a core issue - see here where a user raised the point that the HTML is not respecting the register_sidebar function which means it won't respect the filters that GP uses either:
Thank God we have you and Generate Blocks :-)
Glad we can be of help!