diff --git a/inc/class-nds-wp-events.php b/inc/class-nds-wp-events.php index 528a508..0a79588 100644 --- a/inc/class-nds-wp-events.php +++ b/inc/class-nds-wp-events.php @@ -482,8 +482,8 @@ public function frontend_listing_query( $query ) // Non-Admin Listing if ( $wp_the_query === $query && !is_admin() && ( is_post_type_archive( $this->plugin_post_type ) - || is_tax( $this->plugin_post_type . '_tag' - || is_tax( $this->plugin_post_type . '_category' )) ) ) + || is_tax( $this->plugin_post_type . '_tag' ) + || is_tax( $this->plugin_post_type . '_category' ) ) ) { $meta_query = array( array(