> For the complete documentation index, see [llms.txt](https://documentation.ajaxsearchpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.ajaxsearchpro.com/advanced-options/excluding-and-including-results.md).

# Excluding & Including results

The plugin allows both excluding and including results based on criteria. These rules apply to any **post type, attachment and comment type** results.

*Term, user and buddypress type results exclusion rules might be different, and it is located on the corresponding* `General Options` *panel.*

* [Exclude or Include results by date](/advanced-options/excluding-and-including-results/exclude-or-include-by-date.md)
* [Exclude or Include  results by users](/advanced-options/excluding-and-including-results/exclude-or-include-by-users.md)
* [Exclude results by category or terms](/advanced-options/excluding-and-including-results/exclude-by-category-or-terms.md)
* [Exclude results by item or ID](/advanced-options/excluding-and-including-results/exclude-by-item-or-id.md)
* [Include results by ID](/advanced-options/excluding-and-including-results/include-by-id.md)
* [Exclude or Include by custom field values (post meta)](/advanced-options/excluding-and-including-results/exclude-or-include-by-custom-field-values.md)
* [Include results only from certain categories (or terms)](/advanced-options/excluding-and-including-results/include-by-categories-or-terms.md)
