wordpress想要调用某个分类ID的名称、链接和摘要,通过以下方式就可以实现
<?php
echo get_cat_name( 666 ); // Obtain classification name based on ID
echo get_category_link( 666 ); // Obtain links based on classification ID
echo category_description( 666 ); // Obtain summary based on classification ID
?>
说明:666为分类目录的ID