Custom taxonomy and categories
-
Hi WP Developers,
First off all this is the one of the best popular posts widgets plugins i have seen.
At the moment i have the following setup:
Custom post type:
faqCustom taxonomies of ‘faq’:
faq-cat, faq-cat-portal, faq-cat-autotraderTaxonomy ‘faq-cat’ categories:
Beleggen algemeen, Bescherming, Handelsplatform, Lynx Algemeen, Rekening administratie, Veel voorkomende vragenTaxonomy ‘faq-cat-portal’ categories:
Beleggen algemeen, Bescherming, Handelsplatform, Lynx Algemeen, Rekening administratie, Veel voorkomende vragentaxonomy ‘faq-cat-autotrader’ categories:
Beleggen algemeen, Bescherming, Handelsplatform, Lynx Algemeen, Rekening administratie, Veel voorkomende vragenIf i am going to the taxonomy page ‘Beleggen algemeen’ of the ‘faq-cat’ category and i have the following code in the template:
<?php wpp_get_mostpopular(‘post_type=faq&cat=”‘.get_queried_object()->term_id.'”‘); ?>it says “Sorry. No data so far.”.
How can i make it possible it only get the posts with post_type ‘faq’ and it is connected to the category ‘Beleggen algemeen’ through the taxonomy template?
I hope i was clear enough, else please ask me what you dont understand.
Kindly regards,
Pascal Sopacua
- The topic ‘Custom taxonomy and categories’ is closed to new replies.