Forum
Default Blog list limit set to 10???
We want to list blog posts by section. This is working, however it seems to truncate the list to 10? I checked it's not any date or JS filtering by testing with out these.
However, when we manually add in a count higher than 10, more show up as they should. Is there some setting for initial load limit of blog posts?
This shows 10 blog posts in projects:
<?php
perch_blog_custom(array(
'template' => 'blog/post_in_list.html',
'section' => 'projects',
));
?>
This shows 14 blog posts in projects - which is the correct amount...
<?php
perch_blog_custom(array(
'template' => 'blog/post_in_list.html',
'section' => 'projects',
'count' => 50,
));
?>
In this site, we did update the CMS twice - so not sure if this has affected something. Current running the latest CMS and Blog App.
Thanks for any help.
Yes, it defaults to 10. It has to default to something, right?
OK cool, but is this written somewhere? Would have saved some head scratching... I read examples using count=10 in recent blog posts or custom arrays, but it never says 10 is default if nothing is set. https://docs.grabaperch.com/addons/blog/page-functions/perch-blog-recent-posts/ Perhaps add this.