Gabriel Archangel - Neenah, WI

Posts aren't displaying on homepage

Assigned to
Kyle Sullivan, Web Development at Diocesan Kyle S.
Notes
Posts have future date
Posts have news and home news category
Posts still not displaying on homepage

Comments & Events

Kyle Sullivan, Web Development at Diocesan
The posts will pull in if they're set to a future date and in the home-news category. Should I consolidate this to just be news? Here's the relevant query.
$q = new WP_Query([
  'post_type'       => 'post',
  'category_name'   => 'home-news',
  'post_status'     => 'publish',
  'posts_per_page'  => '3',
  'meta_query'      => array([
	'key'     => 'the_date_end',
	'value'   => $today,
	'compare' => '>='
  ]),
  'meta_key'        => 'the_date_start',
  'orderby'         => 'meta_value',
  'order'           => 'ASC'
]);

Kyle Sullivan, Web Development at Diocesan
Kyle Sullivan completed this to-do.
Veronica Alvarado, Project Manager at Diocesan
Not sure for now. Let's see how it progresses.