Show custom post type inside a custom post type

This doesn’t solve your question to show a custom post type inside a custom post type, but why don’t you use an author template? You can set up users for your writers and select that user for each post. You can even use Advance Custom Fields to add custom fields to a users profile.

https://codex.wordpress.org/Author_Templates

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)