live-composer-page-builder icon indicating copy to clipboard operation
live-composer-page-builder copied to clipboard

"Blog" & "Posts" modules cant fetch all posts when used on archive template

Open abhi-deshpande opened this issue 3 years ago • 2 comments

I created a custom template and changed its type to posts (archive). When either "Blog" or "Posts" modules are used on it show the posts from that category/tag, it shows up to four posts correctly, but after that, no further posts are loaded. If "load more" or "numbered" options are used, they simply fail with a 404 error. Disabling Live Composer and activating a default theme shows all posts correctly. I am using LC Blank Theme.

abhi-deshpande avatar Feb 16 '22 12:02 abhi-deshpande

I found the solution to this issue..! After a lot of searching and experimenting with settings, it was found that posts_per_page setting must have same value in the blog/post module of live composer as well as wordpress reading setting.

By default, in wordpress settings > reading, posts per page are set to 10. That settings has a description - "Blog pages show at most " X posts.

I changed that value to match with my settings in the blog/post module and the issue solved..!

abhi-deshpande avatar Feb 17 '22 05:02 abhi-deshpande

Great news, @abhidesh128 - thanks for letting us know! Cheers and best.

livecomposer avatar Feb 17 '22 14:02 livecomposer