Get the Posts of a Specific Category

The following snippet will get the posts of a specific category. So if you wanted to have a page that just shows posts of a certain category this would do it .

In this example we are going to get posts from the category with an ID of “5” […]