By changing the loop to use $wp_query instead of $query it worked. My challenge for another day is to delve into the differences between $wp_query and $query!
By changing the loop to use $wp_query instead of $query it worked. My challenge for another day is to delve into the differences between $wp_query and $query!