Hi,
First I was wondering why default WP posts categories filtering does not work in CS Forms.
The setup was an Archive Layout for posts with a single Condition Set: “Blog is being viewed.” The default looper provider was utilized to display posts without using a Query Builder or Query String. CS Form was linked to the posts section via class. Custom post taxonomies filtering was working, search as well but default categories didn’t. The ‘Name’ field of the post category Checkbox List was set to ‘category’. Checkbox List Looper Provider “All Terms” -> “Categories”.
2026-06-21_20-30-01642×1002 18.8 KB
Then I decided to use Query Builder with this Custom JSON:
{
"cat" : {{ url.param({"key":"post-category"}) | json_encode }},
"post-year" : {{ url.param({"key":"post-year"}) | json_encode }},
"post-month" : {{ url.param({"key":"post-month"}) | json_encode }},
"s" : "{{ url.param({"key":"search"}) }}"
}
Тональность 0
Информативность 0
theme.co