live-composer / live-composer-page-builder

Free page builder plugin for WordPress https://livecomposerplugin.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

abhi-deshpande opened this issue · 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.

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..!

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