2015-02-06 66 views

回答

1

打开您的的header.php主题文件

地址:

<title><?php bloginfo('name'); ?> <?php if (is_single()) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title> 

header.php

可以删除&raquo;它看起来像:»(这是你高达)


下划线的主题是为了支持标题标签在WordPress版本4.1中引入和他们在functions.php中也提到使用add_theme_support()

/* 
    * Let WordPress manage the document title. 
    * By adding theme support, we declare that this theme does not use a 
    * hard-coded <title> tag in the document head, and expect WordPress to 
    * provide it for us. 
    */ 
    add_theme_support('title-tag');