Home › Forums › Support › widget title + span This topic has 1 reply, 2 voices, and was last updated 4 years, 7 months ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts August 6, 2019 at 2:50 am #976843 Capital Link I would like to add <span> after the <h2 class=”widget-title”> How can I do this? I use child theme. August 6, 2019 at 3:55 am #976895 DavidStaff Customer Support Hi there, you can try adding this PHP snippet: add_filter( 'generate_start_widget_title', function() { return '<h2 class="widget-title"><span>'; }); add_filter( 'generate_end_widget_title', function() { return '</span></h2>'; }); https://docs.generatepress.com/article/adding-php/ Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In