Hi
Im trying to add some Fontawesome icons after my logo with a code snippet:
add_filter( ‘generate_logo_output’, ‘tu_logo_class’, 10, 3 );
function tu_logo_class( $output, $logo_url, $html_attr ) {
printf(
‘
‘,
esc_url( apply_filters( ‘generate_logo_href’ , home_url( ‘/’ ) ) ),
esc_attr( apply_filters( ‘generate_logo_title’, get_bloginfo( ‘name’, ‘display’ ) ) ),
$html_attr
);
}
But is not working, only works if my Page is made with elementor and the icons is activated from Elementor, how i can solve it?