did you try a solution like this Include custom post type in “all posts” – Custom Post Types must be included in the main_query first – to be available in the loop output.
did you try a solution like this Include custom post type in “all posts” – Custom Post Types must be included in the main_query first – to be available in the loop output.