Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to call catrgory wise list page #38

Closed
virani06 opened this issue Oct 16, 2016 · 1 comment
Closed

how to call catrgory wise list page #38

virani06 opened this issue Oct 16, 2016 · 1 comment

Comments

@virani06
Copy link

virani06 commented Oct 16, 2016

i want to call all blog category wise in stand alone page i tried with below code.

{{block type="Magefan\Blog\Block\Post\PostList" category_id="1" template="Magefan_Blog::post/list.phtml"}}

got the eroor.

@magefan
Copy link
Owner

magefan commented Nov 30, 2016

You cannot use Magefan\Blog\Block\Post\PostList in CMS content. It required some child blocks like blog.posts.list.item

Please check this: https://github.com/magefan/module-blog/blob/master/view/frontend/layout/blog_post_list.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants