Просмотр новости

Найдите то, что Вас интересует

Question about filtering default post categories with CS Forms

Дата публикации: 22-06-2026 08:42:47

Thanks @ruenel,
I withdrawn the post as it seemed that I had found the solution myself but later it turned out that it was not complete. The default category filtering was functioning properly. However, it works with one term at a time. If I selected a few terms from the default post category list they were not combined in the looper output. I looked at your guides on query strings and checked the WordPress docs. I found out that I need to change category_name to cat in JSON as I adjusted here above for those who might look for the same solution.
One question though which differs from my initial topic. Is there a way to make month and year filters with an option to combine them together just by using post.publish_date? For example we make TWIG templates which convert it into the month and year of the post. Then the question is how to compare them with the Checkbox List Options we add for the filter to work. Is that possible without custom coding?
The reason for asking is to simplify site editors workflow. In my current solution, they need to add custom taxonomies for the post year and post month. These should also match the post’s publish date. For them, it would be easier not to set additional custom taxonomies and don’t think about it at all.

Классификация: Общество

Схожие новости

#Наименование новостиТональностьИнформативностьдата
1Question about filtering default post categories with CS Forms0021-06-2026
2Question about filtering default post categories with CS Forms0022-06-2026
3Question about filtering default post categories with CS Forms0022-06-2026
4Question about filtering default post categories with CS Forms0021-06-2026
5Taxonomy Term redirect to filterable Post Type Archive0022-06-2026
6Taxonomy Term redirect to filterable Post Type Archive0022-06-2026
7Taxonomy Term redirect to filterable Post Type Archive0022-06-2026
8CS Forms & Off Canvas0022-06-2026
9Assigning a category with CS Forms0020-06-2026
10Need help setting up a looper of products that have an ACF Post Object selected0022-06-2026

Классификация: Общество. Схожих патентов 0. Схожих новостей 10. Тональность: 0. Информативность: 0. Источник: theme.co