Support » Plugin: Random Post Plugin - Redirect URL to Post » More than one custom taxonomy

  • Resolved mastanx

    (@mastanx)


    Dear ladies and gentlemen

    I want to show custom posts from two custom taxonomies. This is the URL I tried:

    http://www.website.com?redirect_to=random&post_type=custom-post
    &custom_taxonomy_slug=taxonomy1&custom_taxonomy_term=term1&custom_taxonomy_slug=taxomomy2&custom_taxonomy_term=term2

    This works, but shows only custom posts from custom taxonomy 1 OR taxonomy 2. But I want that it shows from both. Did I something wrong? Or is it impossible?

    Thank you very much for your help.

    With greetings 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chris

    (@camthor)

    Unfortunately these complicated queries are not possible. custom_taxonomy_term can contain a comma-separated list of multiple terms, but all must belong to the same taxonomy.

    Also, these URL parameters like custom_taxonomy_slug can only appear once each.

    Thread Starter mastanx

    (@mastanx)

    Alright, thank you very much for your answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘More than one custom taxonomy’ is closed to new replies.