Minecraft-Modern-Theme/header.php aktualisiert
This commit is contained in:
@@ -12,14 +12,12 @@
|
|||||||
<div class="header-main">
|
<div class="header-main">
|
||||||
<div class="site-branding">
|
<div class="site-branding">
|
||||||
<?php
|
<?php
|
||||||
// Zeigt das Logo an, wenn eines vorhanden ist.
|
|
||||||
if ( function_exists( 'the_custom_logo' ) && has_custom_logo() ) {
|
if ( function_exists( 'the_custom_logo' ) && has_custom_logo() ) {
|
||||||
the_custom_logo();
|
the_custom_logo();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
// Zeigt den Titel der Website IMMER an.
|
|
||||||
// Verwendet <h1> auf der Startseite, sonst <p> für bessere SEO.
|
|
||||||
if ( is_front_page() && is_home() ) :
|
if ( is_front_page() && is_home() ) :
|
||||||
?>
|
?>
|
||||||
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user