Hello.
add_filter(‘astra_advanced_footer_widget_1_args’ , ‘change_footer_title’);
function change_footer_title(){
$widget_array = array(
‘name’ => esc_html__( ‘Footer Widget Area 1 customized’, ‘astra’ ),
‘id’ => ‘advanced-footer-widget-1’,
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h4 class=”widget-title”>’,
‘after_title’ => ‘</h4>’,
);
return $widget_array;
}
The specified code really changes the widget “h” title in the footer. But only the first area. Attempts to adapt this code to change the second and third areas led to the collapse of the site. If it’s not difficult, write the modified code for the widget title of the second and third footer areas. Plus, the problem of the widget “h” title in the sidebar of the site remains unresolved.
Regards,
Alex.