0
<?php
if (is_category())
echo single_cat_title();
?>
我可以顯示當前類別冠軍。
我怎樣才能插入標籤single_cat_title()到:
<?php
$recent = new WP_Query("cat=10&showposts=4"); while($recent->have_posts()) : $recent->the_post();
if (in_category(10) && in_category(**Insert Here**)) { ?>
我
試了一下if (in_category(10) && in_category('.single_cat_title.')) { ?>
但沒有機會... 謝謝!