• Resolved eddypiv

    (@eddypiv)


    Hi, I have a custom post type with 2 taxonomies that I want to set the filter on.
    I have tried taxonomy=”announcementcategory,location” followed by announcementcategory=76, location=23, but I still see all posts for this cpt. Hence, this filter does not work.

    How to do this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Riddhi Shukla

    (@ridhimashukla)

    Hello,

    Thank you for reaching us…

    We are not providing these feature to support multiple taxonomies in the “taxonomy” parameter. You can use one taxonomy at a time. But if you are aware of development then you can achieve this using filters which we have given to each shortcode before the query execution.

    Please check and let me know if anything.

    Thank You!

    Thread Starter eddypiv

    (@eddypiv)

    What do you mean with “you can achieve this using filters which we have given to each shortcode before the query execution.”?

    Actually, I am concentrating now on only 1 taxonomy (announcement-category, I dropped the location for now.)
    But also with just 1 taxonomy I don’t get it to work: I get all posts for this cpt (all announcements).

    This is what I specified:
    [recent_post_slider post_type=”announcement” taxonomy=”announcement-category” announcement-category=”76″ design=”design-4″ autoplay_interval=”5000″ speed=”1000″ show_author=”false” show_read_more=”false” show_date=”false” arrows=”false” dots=”false” extra_class=”announcement”]

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Thanks for reaching here.

    Please pass the “category” parameter in your shortcode, not an “announcement-category”.

    Please try this shortcode.
    [recent_post_slider post_type="announcement" taxonomy="announcement-category" category=”76" design="design-4" autoplay_interval="5000" speed="1000" show_author="false" show_read_more="false" show_date="false" arrows="false" dots="false" extra_class="announcement"]

    Note:- Please do not copy and paste the shortcode parameter because if cause the quote(“). Please issue writes manually.

    Let me know if you have any query.

    Thanks,

    • This reply was modified 4 years, 5 months ago by Ketan Patel.
    Thread Starter eddypiv

    (@eddypiv)

    Hi, I though I tried that before without success, but apparently not.
    It’s working nicely now.
    Thanks a lot!

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Please share your rating and review if you like our plugin and support.

    Thanks,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to use multiple taxonomies?’ is closed to new replies.