Purchased Theme to Custom Made Theme? [closed]

Move the custom post types to a plugin. They should never be part of a theme for exactly the reason you asked here. 🙂

In your theme add just the needed template files, but not the code for post type registration.

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