当我注册分类法时,我有一个我认为可能会隐藏它的东西:
\'show_tagcloud\' => false
默认类别页面不显示标记云,那么为什么我的自定义分类页面,如何禁用它?
register_taxonomy(\'gmc_region\', \'recipe\',
array(
\'labels\' => array(
\'name\' => _x( \'Regions\', \'taxonomy general name\' ),
\'singular_name\' => _x( \'Region\', \'taxonomy singular name\' ),
\'popular_items\' => __( \'Popular Regions\' ),
\'search_items\' => __( \'Search Regions\' ),
\'all_items\' => __( \'All Regions\' ),
\'parent_item\' => __( \'Parent Region\' ),
\'parent_item_colon\' => __( \'Parent Region:\' ),
\'edit_item\' => __( \'Edit Region\' ),
\'update_item\' => __( \'Update Region\' ),
\'add_new_item\' => __( \'Add New Region\' ),
\'new_item_name\' => __( \'New Region Name\' ),
\'menu_name\' => __( \'Regions\' ),
),
\'rewrite\' => array(
\'slug\' => \'regions\',
\'with_front\' => false
),
\'show_in_nav_menus\' => false,
\'show_ui\' => false,
\'show_tagcloud\' => false
)
);
谢谢Kevin