I am facing a problem with the loop inside the page template. Here is the code.
If I set this page as a blog page in settings then no problem happens. But when I create a custom loop for this template it doesn’t work. It shows nothing just header and footer.