You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi .
Im created a page with " category.htm" name in cms pages to display categories and list of posts there .
and add url = "/category/:slug?/:page?" to the head of this page .
After that i add related components to this page like " categories and show posts " .
I 've been showing all the things I wanted right now. But the problem is that I want to click on every category, just show me the posts inside that category. But now all posts are represented in one place .
In fact :slug? nothing plays a role in filtering the news for that.
The text was updated successfully, but these errors were encountered:
Hi again .
After all my efforts, I finally found my answer. i forgot to choose category filter in component options .
we must write this : :slug in categoryFilter field . In other words , in code view it will like this : categoryFilter = "{{ :slug }}"
It will filter post by slugs in category page .
Hi .
Im created a page with " category.htm" name in cms pages to display categories and list of posts there .
and add
url = "/category/:slug?/:page?"
to the head of this page .After that i add related components to this page like " categories and show posts " .
I 've been showing all the things I wanted right now. But the problem is that I want to click on every category, just show me the posts inside that category. But now all posts are represented in one place .
In fact
:slug?
nothing plays a role in filtering the news for that.The text was updated successfully, but these errors were encountered: