Example #1
0
        ?>
 - <?php 
        bloginfo('name');
        $paged = get_query_var('paged');
        if ($paged > 1) {
            printf(__(' - 第 %s 页 ', 'tinection'), $paged);
        }
        ?>
</title><?php 
    }
}
if (is_author()) {
    ?>
<title><?php 
    wp_title('');
    echo tin_author_page_title();
    ?>
 - <?php 
    bloginfo('name');
    ?>
</title><?php 
}
if (is_404()) {
    ?>
<title><?php 
    wp_title('');
    ?>
 - <?php 
    bloginfo('name');
    ?>
</title><?php 
	<div class="breadcrumbs-text"><?php 
    _e('糟糕,页面未找到', 'tinection');
    ?>
</div>	
<?php 
} elseif (is_author()) {
    ?>
	<?php 
    $author = get_userdata(get_query_var('author'));
    ?>
	<div id="breadcrumbs"><h1><i class="fa fa-user"></i><?php 
    _e(' 用户中心', 'tinection');
    ?>
</h1>
	<div class="breadcrumbs-text"><?php 
    echo $author->display_name . ' ' . tin_author_page_title();
    ?>
</div>
<?php 
} elseif (is_category()) {
    ?>
	<div id="breadcrumbs"><h1><i class="fa fa-folder-open"></i><?php 
    _e(' 分类文章', 'tinection');
    ?>
</h1>
	<div class="breadcrumbs-text"><a href="<?php 
    bloginfo('url');
    ?>
" title="<?php 
    bloginfo('description');
    ?>