Skip to content

powerbuoy/sleek-archive-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages