4 回答

TA貢獻1757條經驗 獲得超8個贊
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <div class="mbx-dh"> <a href="<?php bloginfo(‘url’); ?>"><?php bloginfo(‘name’); ?></a> » <?php if( is_single() ){ $categorys = get_the_category(); $category = $categorys[0]; echo( get_category_parents($category->term_id,true,’ » ‘) ); the_title(); } elseif ( is_page() ){ the_title(); } elseif ( is_category() ){ single_cat_title(); } elseif ( is_tag() ){ single_tag_title(); } elseif ( is_day() ){ the_time(‘Y年Fj日’); } elseif ( is_month() ){ the_time(‘Y年F’); } elseif ( is_year() ){ the_time(‘Y年’); } elseif ( is_search() ){ echo $s.’ 的搜索結果’; } ?> </div> |
- 4 回答
- 0 關注
- 1756 瀏覽
添加回答
舉報