I am doing one template where the homepage may not display a particular category (for example let us say cat id 3) and in a particular page (called with page template blog.php) i want to display posts only from cat id 3.
I could manage to do the things right. And it works too, But I want to get guidance whether I am doing right on the page template.
Here I am attaching the code, please tell me if this is the right way of doing it.
You can see the line number 36 to 43, the additional code i have added to display posts.
Thank you so much for the reply,