Since you did not point out the problem page url and view URLs, so I have to create pages and views, and setup a demo in your website:
1) parent taxonomy view:
hidden link
in view's loop, display below child post view
2) Child post view:
hidden link
a) in section "Query Filter", Filter by:
Select posts with taxonomy:
Company Categories slug in one of those set by the URL parameter wpv-company-category
eg. hidden link
AND
Cohorts set by the parent Taxonomy View
b) in section "Custom Search Settings", display below two taxonomy filter shortcodes + submit button:
<div class="form-group">
<label for="wpv-company-category"></label>
[wpv-control-post-taxonomy taxonomy="company-category" type="select" default_label="All" url_param="wpv-company-category"]
</div>
<div class="form-group">
<label for="wpv-cohort"></label>
[wpv-control taxonomy="cohort" type="select" default_label="All" url_param="wpv-cohort"]
</div>
[wpv-filter-submit output="bootstrap" class="btn-secondary"]
c) In view's loop display post information
3) In Toolset custom codes snippet, add an item, with below codes:
hidden link
with below codes
4) Create a new page, display search form of child post view + parent taxonomy view:
hidden link
Test it in front-end:
hidden link
It works fine, and it is only a demo for your reference, you will need to customize it to what you want.
Hello. I cannot browse to page 2 of this tickef. Can you pls email me?
Hello. I am able to view the page from laptop - but it doesn't work on mobile view. Just FYI. I am going through this now.
Luo, thank you so much for sharing this. Could you please let me know where can I find the documentation that shows all the parameters that we can include with shortcodes? Also where can I find documentation on the custom code? Looking at the code, it seems like we had to add the filter because from view we could only use the taxonomy filter.
In the past, I know I have seen documentation on all parameters being passed to shortcodes like wpv-view (url-param, etc.) However I can no longer find it. I can only see some documentation for the shortcodes themselves but not the parameters that they take.
Hi Luo. I went through the documentation... but I could not figure out why the code is NOT working after we changed the type to checkboxes instead of select.
The child layout is NOT showing up. Can you please help?
One more question we had was that with thissolution, the reset button does not work, so I guess we might have to create a custom button that clears all the filters. Is that correct?
Is there a way to include a checkbox for ALL as an option just like we use ALL for select?
Thanks for the details, I am checking it in your website, will update here if find anything.
Your website is abnormal, it can not output the child post view at all, please check the PHP debug logs in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
Since you did not provide the FTP access, I can not do more debug in your website, if you need more assistance for it, please provide the FTP access, you can also provide a full copy of your website,
https://toolset.com/faq/provide-supporters-copy-site/
private message box enabled again.
Thanks. We decided to NOT group by Cohorts due to the multiple issues faced with the layouts. Thanks for going above and beyond in trying to provide us a solution.