to create a custom post type with additionnal url field such as link to social network and an email field

Custom Post types allow to set custom fields (aka meta-data) capability. Just add 'custom-fields' capability to your arguments within the array. No need for the plugin just for adding a couple of fields.

'supports' => array( 'title', 'editor', 'custom-fields' )

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