I currently have a custom post type named "blog". On registration, every user gets automatically a post "blog" linked with their user ID.
This custom post type queries another post type named "articles". Those articles are written by the user and then showed in their "blog" custom post type.
Now, I would like to show a list of X most recent "blog" custom post type but only if they have at least one "article" in it but I can not find any way to do it...
Thank you in advance for your help and have a good day.