我已经创建了这个分类法"builder_name"
我用的是wp estate theme
我的url是mydomain.com/builder_name/natasha-developers/,它给出了未找到的页面。
// add custom taxonomy
register_taxonomy('builder_name', 'estate_property', array(
'labels' => array(
'name' => __( 'Builder Name','wpestate'),
'add_new_item' => __( 'Add New Builder Name','wpestate'),
'new_item_name' => __( 'New Builder Name','wpestate')
),
'hierarchical' => true,
'query_var' => true,
'rewrite' => true,
)
);
更新管理面板中的永久链接设置参考链接:http://wordpress.org/support/topic/custom-taxonomy-template-not-showing