I'm trying to filter a view by taxonomy, with "Value set by the current page".
Both page and type have a taxonomy, which works fine as long both have a value assigned.
For example, I use the taxonomy with value "homepage" on the homepage and also in the record I want to show > only the items with "homepage" are shown, not items with different taxonomy values.
But apparently, having an empty taxonomy on the page leads to all items being shown there… which was certainly not the idea behind the filter.
I'd like to do the following:
> add a custom taxonomy to the pages of the site
> add a custom taxonomy to my custom post type "quotes"
Show only the quotes…
… that have a non-empty custom taxonomy
… that have a custom taxonomy value = custom taxonomy on the page with the embedded view
… only on pages with a non-empty custom taxonomy.
Currently it works correctly as long as the page has a taxonomy value set. If not, ALL quotes are being shown. Which is not what I intended…
Thank you! I get the point of the filtering behavior and it did the trick. As I'm using the shortcodes via do_shortcode in the sidebar, I ran into some troubles with the quotes/double quote but simply replaced the [wpv-if] with some php.