Query Multiple Taxonomies
[resolved] Showing Particular Taxonomies for Particular Pages? (4 posts)

  1. sanoke
    Posted 6 years ago #


    First, thank you for creating such an incredibly useful plugin! I am hoping to make a donation later this week. :)

    Second, I had a question about the possibility of being able to show a particular "copy" of the widget, depending on the page that I am on. For example, I have a series of posts about life in New York. Some are about Food (types of food, prices, locations) and some are about Accommodations (types of places, prices, locations). I want to show the various food taxonomies (Food by Type, Food by Price, Food by Neighborhood) on the Food page and the accommodation taxonomies (Accommodations by Type, Accommodations by Price, etc) on the Accommodations oage. Is this something that can be easily done, maybe using the page_ID somehow?

    Thank you so much for your time!

  2. scribu
    Plugin Author

    Posted 6 years ago #

    You can use the Widget Logic plugin for that.

  3. sanoke
    Posted 6 years ago #

    Hello again!

    Thank you so much for such a prompt reply! My only issue with the Widget Logic plug in is that it modifies what pages the widget appears on, but not the contents of the widget that appear on those pages. So, for example, I can specify the widget to appear on certain pages, but I cannot make the content of that widget conditional on what page it is on. I would only like to show certain taxonomies on certain pages.

  4. scribu
    Plugin Author

    Posted 6 years ago #

    So create a widget instance for each page.

    Alternatively, you can use the_widget() template tag.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Query Multiple Taxonomies
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic