WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
Custom taxonomy and categories (1 post)

  1. psopacua
    Member
    Posted 5 months ago #

    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:
    faq

    Custom taxonomies of 'faq':
    faq-cat, faq-cat-portal, faq-cat-autotrader

    Taxonomy 'faq-cat' categories:
    Beleggen algemeen, Bescherming, Handelsplatform, Lynx Algemeen, Rekening administratie, Veel voorkomende vragen

    Taxonomy 'faq-cat-portal' categories:
    Beleggen algemeen, Bescherming, Handelsplatform, Lynx Algemeen, Rekening administratie, Veel voorkomende vragen

    taxonomy 'faq-cat-autotrader' categories:
    Beleggen algemeen, Bescherming, Handelsplatform, Lynx Algemeen, Rekening administratie, Veel voorkomende vragen

    If 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

    https://wordpress.org/plugins/wordpress-popular-posts/

Reply

You must log in to post.

About this Plugin

About this Topic