Home › Forums › Support › How to change the default H2 tag widget to H3 tags This topic has 3 replies, 2 voices, and was last updated 2 years, 12 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts February 1, 2020 at 11:31 pm #1151822 phan cong tai How to change the default H2 tag widget to H3 tags? February 2, 2020 at 3:22 am #1151920 DavidStaff Customer Support Hi there, add this PHP snippet: add_filter( 'generate_start_widget_title', 'tu_adjust_widget_title' ); function tu_adjust_widget_title() { return '<h3 class="widget-title">'; } add_filter( 'generate_end_widget_title', 'tu_adjust_widget_title_end' ); function tu_adjust_widget_title_end() { return '</h3>'; } https://docs.generatepress.com/article/adding-php/ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ February 2, 2020 at 4:04 am #1151956 phan cong tai good. thank David so much! February 2, 2020 at 4:24 am #1151963 DavidStaff Customer Support You’re welcome Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In