How to use a custom post type as child of a particular post of another CPT?

How to use a custom post type as child of a particular post of another CPT?

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