Getting Started
Control Panel
Front End
Advanced
The like
filters allow you to query comments using an SQL-like pattern.
like
FilterThe like
filter allows you to query a comment property and compare it with an SQL-like pattern. The following example queries checks the comment's content against the %panel%
pattern to return all comments that contain the phrase panel
somewhere in their content:
1{{ meerkat:responses filter="like(content, %panel%)" }}2 3 {{ comments }}4 <!-- Render your comment thread here. -->5 {{ /comments }}6 7{{ /meerkat:responses }}
not:like
FilterThe not:like
filter is the logical opposite of the like
filter, and allows you to query a comment property and compare it with an SQL-like pattern. All comments that do not match the provided pattern will be returned. The following example queries checks the comment's content against the %panel%
pattern to return all comments that do not contain the phrase panel
somewhere in their content:
1{{ meerkat:responses filter="not:like(content, %panel%)" }}2 3 {{ comments }}4 <!-- Render your comment thread here. -->5 {{ /comments }}6 7{{ /meerkat:responses }}
The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.