wordpress-zerro/header.php

17 lines
521 B
PHP
Raw Normal View History

2020-03-07 15:49:14 +08:00
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<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" />
2020-03-07 16:56:25 +08:00
<title>
<?php if(is_front_page() || is_home()){
echo get_bloginfo('name');
} else{
echo wp_title(''), " &raquo; ", get_bloginfo('name');
}?>
</title>
2020-03-07 15:49:14 +08:00
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>