Home › Forums › Support › Replace H2 Widget Title This topic has 7 replies, 4 voices, and was last updated 4 years, 3 months ago by David. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts October 8, 2019 at 12:29 pm #1029631 Ariel Hi there, i want to replace Widget Titles from H2 to H3, H4 or nothing. Could you help me? Regards. October 8, 2019 at 12:32 pm #1029636 LeoStaff Customer Support Hi there, This should help: https://generatepress.com/forums/topic/footer-widget-heading-h2/#post-474609 Let me know π October 9, 2019 at 6:49 am #1030189 Ariel Thanks! I have fixed! October 9, 2019 at 9:55 am #1030486 LeoStaff Customer Support No problem π January 22, 2020 at 10:46 pm #1140979 Praveen Hey i added this code snippet – but the widgets are still h2 – add_filter( 'filter_name', 'generate_start_widget_title' ); function generate_start_widget_title() { return '<h4 class="widget-title">'; } add_filter( 'filter_name', 'generate_end_widget_title' ); function generate_end_widget_title() { return '</h4>'; } https://welderpick.com/6013-vs-7018-welding-electrodes-compared/ Can you please help! January 22, 2020 at 10:53 pm #1140982 Praveen I have also tried this one –> did not work either. add_filter( 'generate_start_widget_title', 'db_start_widget_title' ); function db_start_widget_title() { return '<p class="widget-title">'; } add_filter( 'generate_end_widget_title', 'db_end_widget_title' ); function db_end_widget_title() { return '</p>'; } January 22, 2020 at 10:58 pm #1140986 Praveen This one worked – thank you! add_filter( 'generate_start_widget_title', 'tu_adjust_widget_title' ); function tu_adjust_widget_title() { return '<h4 class="widget-title">'; } add_filter( 'generate_end_widget_title', 'tu_adjust_widget_title_end' ); function tu_adjust_widget_title_end() { return '</h4>'; } January 23, 2020 at 3:44 am #1141209 DavidStaff Customer Support Glad you found the solution π Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In