Retrieving Posts from a Particular Category

Many people have asked me how to show posts on their homepage only from a particular category or categories. So here is a simple and quick solution for doing this.
Getting Posts from a Single Category
Go and open your index.php file from your theme folder. Now search for this string :-
< ?php if (have_posts()) : ?>
Now just below this line, add the following piece of code:-
< ?php
if ... Continue Reading