Support » Fixing WordPress » Querying for multiple taxomies

  • I have a blog website that is setup so that the home page of my site has 4 main business unit categories (A,B,C,D) I created a custom taxonomy for this called ‘bu’. I also have a side bar that is present throughout the site it lists different topics (custom taxonomy) with terms(red,green,blue) and tags (orange, apple,lemon). Right now it will display all posts without any filtering which works fine. If I click on one of the bu’s it will take me to an archive page that filters for post of that taxonomy. If im on the home page and i click one of the topics, for instance “red” it will show me all posts that are of topic “red”. What i’m having trouble figuring out is a scenario where I click on the business unit “C” -> which would then take me to the archive page of C, how do i then only show topics and tags in the side bar that are of BU equal to C? and if I clicked on a topic or tag is would only show me posts in the C business unit?

    Home Page

    [ main content ] | [sidebar]
    [A] [B] [C] [D] |
    [post] [post] | topics (red, green, blue)
    [post] [post] | tags (orange, apple, lemon)
    [post] [post] |
    [post] [post] |
    [ /main content] | [/sidebar]

    Archive Page C

    [ main content ] | [sidebar]
    [post] [post] | topics (red, green, blue) -> only pertain to bu = C
    [post] [post] | tags (orange, apple, lemon) -> only pertain to bu = C
    [post] [post] |
    [post] [post] |
    [ /main content] | [/sidebar]`

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.