Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add query filters to taxonomy templates (#2530)
* Add topic filter to learning pathway template * Add level filter to learning pathway template * Style the learning pathway header when loaded on level and topic tax pages * Extract learning pathway header into a block for reuse * Make Level filter a single select * Correct filter titles * Fix the header alignment config * Fix undefined var in taxonomy content pattern * Branch the level filter option creation at the template level This turns out to be simpler than trying to use conditionals like is_tax within a single get_level_options function * Enable clearing level selection using All option * Modify filter input injection to handle single select filters * Fix topic filtering on course and lesson archives * Remove count limit on level filter Even if there is only 1 level set, that can be used to filter vs all * Remove language filter from Learning Pathway header * Fix incorrect get_posts args * Make getting options by post type safe * Make see all links match level filter behaviour * Fix filter padding
- Loading branch information