Custom Post Type Listing Error
-
Hello. I cant get custom post type listing of new taxonomy. E.g. I have custom post type “voo_item”. After that iam adding taxonomy:
register_taxonomy(“voo_cat”,
array(“voo_item”),
array(
‘hierarchical’ => false,
‘labels’ => $labels,
‘show_ui’ => true,
)
);Then on frontend iam adding new taxonomy listing:
<?php wp_list_categories(“depth=1&title_li=&taxonomy=voo_cat” ); ?>
And getting nex type of links on front page
http://site.com/?voo_cat=ic1 (ic1 – slug of category)
But after clicking – i have no results. $query_string is empty. How can i solve or trace error ?Tnx
The topic ‘Custom Post Type Listing Error’ is closed to new replies.