I’ve created a looper that allows for filtering. The looper can be seen here. I’ve got 2 problems I’m trying to resolve:
- How do I display all posts to begin with? Right now this is my query string
post_type=programs&tax_query%5B0%5D%5Btaxonomy%5D={{dc:url:param key="taxonomy" fallback="program_grades"}}&tax_query%5B0%5D%5Bfield%5D=slug&tax_query%5B0%5D%5Bterms%5D={{dc:url:param key="program-terms" fallback="grades-9-12"}}
and its only pulling up Grades 9-12 posts. - When a user selects “All” from the “Filter by Grade” dropdown. It’s not displaying all posts. How do I get the filter button “All” to display all posts. Currently, the “All” filter is set to this url
?orderby=title&order=asc