This question already has an answer here:
- Pagination not working with custom loop 3 answers
I made a separate page template (added sidebar), this page contains all the posts. Pagination works! But, if this page set as the home page, pagination is not working! Please help find solutions myself I can not ...
This my code This code of my custom posts page

query_posts. Very likely that's what breaks the pagination. UseWP_Query` instead. When should you use WP_Query vs query_posts() vs get_posts()?. – Max Yudin Feb 9 at 21:43