I have a custom post type sites registered via register_post_type and my front page displays my latest posts. Including posts from sites.
Is there any way I can set it up so that posts from sites (custom post type) that have no post body (no content) will NOT be displayed?
The body of the custom post type is not important, the title is. I introduced custom fields for my custom post type. I make a list from custom posts and majority of them do not have any body. So I do not want to display them. It will only make the web harder to read. I want to display only custom posts that have body.
I have not modify the loop.
How can I modify the loop (introduce custom query) as a part of plugin?