So ändern Sie das Logo h1-Tag in Porto WordPress.
Um das Porto- zu ändern, führen Sie Standard-HTML-Tag des Logos h1 die folgenden Schritte aus:

1- Gehen Sie zu Aussehen >> Themen und aktivieren Sie das Porto Child Theme, wie im Screenshot unten gezeigt:

2- Now Go to Appearance >> Theme Editor and select the Child Theme functions.php file from the right panel as shown in the screenshot given below:

3- Now copy and paste the below-given code at the very bottom of Child Theme functions.php as shown in the screenshot given below:
add_filter( 'porto_logo', 'porto_child_logo' );
function porto_child_logo( $logo_html )
{
return str_replace( array( '<h1 class="logo">', '</h1>' ), array( '<h2 class="logo">', '</h2>' ), $logo_html );
}

After saving the functions.php file refresh the website and you can see the HTML tag for the logo has been changed as per code.

Bitte schauen Sie sich das komplette Video an: Klicken Sie hier für das Video 🙂
Ich hoffe, das hilft…