I’m trying to set which posts show up in the latest news section on the home page, and I want it to show only one category. I’ve been working with the home-latest.php, but I’m unsure on where/how to edit the code to get the results I want. Please help!
First find a slug of your category.
In this example we will use category with slug ‘culture’. So:
1. open home-latest.php
2. find this line:
$args['post_status'] = 'publish';
and below this line add this one:
$args['category_name'] = 'culture';
3. save
Note: just replace ‘culture’ with your desirable slug.