Problems when searching from a different CPT
-
First off, this is a great plugin, really useful – thank you so much for developing it π
I’m working on a site, based off the Quark theme, and I’ve defined 2x CPT, each with their own custom hierarchical taxonomies
e.g.
PostType1 -> Taxonomy1
PostType2 -> Taxonomy2
-> Taxonomy3I’ve set up a filter to only apply to PostType2 and this works perfectly in most instances.
(The filter is a sidebar widget so is present on all pages/posts BTW)
However, if I try to search and I’m currently on a post belonging to PostType1 then it doesn’t work correctly;
– If I search for “all types” for both Taxonomy 2 & 3 then it shows me all posts belonging to CPT PostType1
– If I try to search by any of the sub criteria of Taxonomy 2 and/or Taxonomy 3 then I receive a 404 error.
It looks like if the search originates from a different CPT (i.e. PostType1) then it tries to search the taxonomies associated with that CPT
Any ideas what I’m doing wrong?
The topic ‘Problems when searching from a different CPT’ is closed to new replies.