Join the Webstudio community

Updated last week

CMS filters on the webstudio side

Hi everyone,

I have a question about how to filter if there is no possibility to request via GET filters.
I got the data, I have each post has a name for tag and its slug. How can I get through a CMS collection of posts slug whose equals a certain value.

With AI tried not worked, need help of a living person ))
1
O
B
D
9 comments
Have you searched our youtube channel for examples?
@Denis you can write condition in "show" prop of collection item.
Since show prop is server rendered you won't get problems with SEO.
on baserow yes and with it no problems. decided to darken zenblog and with him while there is. documentation does not contain information about filters, so looking for a solution)
from what I can see their api looks like this https://www.zenblog.com/docs/api/posts
It worked)
is quite easy to implement and does what you need. If it does not load the site then great.
Yes, I looked at the documentation. I went through it and plugged everything in. But there’s nothing about filters. I wrote to the developer just in case he didn’t have documentation.
Hey! I've updated the docs and added 2 query params to filter by tags and category

https://www.zenblog.com/docs/api/posts

Let me know if that solves the issue. Thanks for trying zenblog 🙂
Here's an example request:
Plain Text
https://zenblog.com/api/public/blogs/YOUR_BLOG_ID/posts?category=marketing&tags=tools,seo
Add a reply
Sign up and join the conversation on Discord