Show posts only from certain category
If you want to display posts only from certain category in Front Page template, there is a filter called hopeareunus_front_page_post_arguments
. Here is an example if you want to display only post from news category.
Put this in child theme functions.php
inside setup function.
`
/* Show only downloads from ‘news’ category. */
add_filter( ‘hopeareunus_front_page_post_arguments’, ‘hopeareunus_child_front_page_arguments’ );
`
Add this after setup function.
`
function hopeareunus_child_front_page_arguments( $hopeareunus_posts_args ) {
$hopeareunus_posts_args[‘category_name’] = ‘news’;
return $hopeareunus_posts_args;
}
`
Remember to change news
to something else if needed.
Other option is to copy template file `page-templates/front-page.php` to your child theme `page-templates` and modify `$hopeareunus_posts_args` as needed. You can find more help in WP Query Codex page.