What I need is altering default Wordpress posts-pooling mechanism so I can get posts from other tables in database, not just default wp_posts and wp_postmeta.
How is that possible?
I'm ready to proudly die dealing with consequences of altering Wordpress core.