I'm trying to create a paginated list with blog articles that are sorted by time of update.
Liquid error (sections/blog-template.liquid line 72): Array 'blog_posts_sorted' is not paginateable.
{% assign blog_posts_sorted = blog.articles | sort: "updated_at" %}
{%- paginate blog_posts_sorted | sort: "updated_at" by articles_per_page -%}
How do I paginate a sorted list of blog articles?
Thanks for post
can you please try this code
https://www.shopify.in/partners/blog/shopify-pagination
need also some custom code
Yes I understand and my question is, what kind of custom code should I be using because the docs don't provide any real information.
I appreciate you're trying to help but I hope you understand that "need some custom code" is not helpful. I already came to that conclusion and I tried custom code that didn't work but returned an error and now I'm trying to find out what the error means and how to solve it so I can have a sorted paginated list of blog posts.
Thanks
can you please show me error
User | Count |
---|---|
749 | |
142 | |
100 | |
64 | |
49 |