Set up a Child/Parent relationship with a Custom Post Type

When you create your custom post type, add 'hierarchical' => true to your post types options. That will make it behave like standard pages and let you use a parent/child, one -> many hierarchy.

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