关键词:
<?php /* If this is a category archive */ if (is_category()) ?>
<h1><?php single_cat_title(); ?></h1>
<?php /* If this is a tag archive */ elseif( is_tag() ) ?>
<h1><?php single_tag_title(); ?></h1>
<?php /* If this is a daily archive */ elseif (is_day()) ?>
<h1> <?php the_time('F jS, Y'); ?></h1>
<?php /* If this is a monthly archive */ elseif (is_month()) ?>
<h1> <?php the_time('F, Y'); ?></h1>
<?php /* If this is a yearly archive */ elseif (is_year()) ?>
<h1> <?php the_time('Y'); ?></h1>
<?php /* If this is a post type archive */ elseif (is_post_type_archive()) ?>
<h1> <?php post_type_archive_title(); ?></h1>
<?php /* If this is a post type archive */ elseif (is_tax()) ?>
<?php
if ( is_taxonomy_assigned_to_post_type( 'music' ) ) ?>
<h1><?php single_term_title(); ?></h1>
<?php ?>
<?php /* If this is an author archive */ elseif (is_author()) ?>
<h1>Author</h1>
<?php /* If this is a paged archive */ elseif (isset($_GET['paged']) && !empty($_GET['paged'])) ?>
<h1>Archives</h1>
<?php ?>
php清洁档案标题(代码片段)
查看详情
php回声档案标题(代码片段)
查看详情
php删除档案标题(代码片段)
查看详情
php修改档案标题(代码片段)
查看详情
php在产品档案和搜索结果中的项目标题下添加sku(代码片段)
查看详情
php档案模板(代码片段)
查看详情
php网格档案页面(代码片段)
查看详情
php用户档案编辑(代码片段)
查看详情
php小部件存档档案(代码片段)
查看详情
php档案-开放和阅读(代码片段)
查看详情
php我的wordpress档案页面(代码片段)
查看详情
php档案按类别列出职位(代码片段)
查看详情
php更改帖子类型档案slug(代码片段)
查看详情
php防止用户枚举和作者档案(代码片段)
查看详情
php[woocommercebrands]改变品牌档案的永久链接(代码片段)
查看详情
php创世纪档案描述oembedshortcode支持(代码片段)
查看详情
phpwp-档案标题(代码片段)
查看详情
phpwordpress档案标题(代码片段)
查看详情