Creating a Custom Post as a repository for theme constants

Post meta data are for posts only. You should not create a new post type to use custom options.

There is a dedicated Options API for that use case. Create an options page and let the user update the option there.

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