pagetitle

This commit is contained in:
Pavel Kuleshov 2020-03-07 16:56:25 +08:00
parent 7ed0a5ac61
commit ea9de3d4b1
2 changed files with 8 additions and 2 deletions

View File

@ -4,7 +4,13 @@
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<link rel="stylesheet" href="<?php echo get_stylesheet_uri() ?>" />
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.png" />
<title><?php bloginfo( 'name' ); ?></title>
<title>
<?php if(is_front_page() || is_home()){
echo get_bloginfo('name');
} else{
echo wp_title(''), " &raquo; ", get_bloginfo('name');
}?>
</title>
</head>
<body <?php body_class(); ?>>

View File

@ -1,6 +1,6 @@
/*
Theme Name: ZERRO
Version: 0.2
Version: 0.3
Description: Personal theme
Author: Pavel Kuleshov
Author URI: https://3err0.ru