I’m looking for a way to switch out the “Recent articles” and “More articles” on the front page for categories based on categories. Is it as simple as switching out the “$args = array” line for a category ID line like the one above?
UPDATE:
It is.
This line in the “page-template-front.php” (copied to a child theme):
<?php $args = array( 'post__not_in' => get_option( 'sticky_posts' ), 'posts_per_page' => 3, 'meta_key' => '_oxygen_post_location', 'meta_value' => 'primary' ); ?>
is changed to this:
<?php $args = array( 'posts_per_page' => 6, 'cat' => 20 ); ?>
where “20” is the ID for my Film Reviews.
The same goes for the line for the “More articles” line
And this happens:
My site
…now I just need to find out how to make the images in the slider appear as they should…