Exclude events from 'news-list' class

by greenesttoast   Last Updated August 13, 2019 19:08 PM

Forgive the basic question, this is right at the limit of my (low) knowledge and any help is appreciated:

<section class="news-list">
                    <?php while ( $news_query->have_posts() ) : ?>
                        <?php $news_query->the_post(); ?>
                        <?php get_template_part( 'template-parts/content', gix_get_post_type() ); ?>
                    <?php endwhile; ?>
                    <?php wp_reset_postdata(); ?>
                </section>

All I'm trying to do is exclude my Events from the list that this is pulling from displaying. Display works perfectly, but it's pulling in Events as well as the News content types. The events have their own page and don't need to be displayed in this section.

Appreciate the direction.



Related Questions


Updated January 03, 2018 21:08 PM

Updated August 13, 2016 08:03 AM

Updated April 13, 2017 17:08 PM

Updated September 28, 2017 20:08 PM

Updated September 06, 2017 18:08 PM