Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.59 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.59 KB

Packagist GitHub license GitHub issues GitHub forks GitHub stars

Adds the ability to filter posts in an archive using GET params:

  • ?sleek_filter_tax_{taxonomy_name}[]={term_id}
    Show only posts belonging to {term_id} in {taxonomy_name}.
  • ?sleek_filter_meta_min_{meta_field_name}[]={value}
    Show only posts whose (numeric) {meta_field_name} is a minimum of {value}.
  • ?sleek_filter_meta_max_{meta_field_name}[]={value}
    Show only posts whose (numeric) {meta_field_name} is a maximum of {value}.
  • ?sleek_filter_meta_{meta_field_name}[]={value}
    Show only posts whose {meta_field_name} is exactly {value}.

Theme Support

sleek/archive_filter

Enable the above.

Hooks

N/A

Functions

N/A

Classes

N/A