Require file in functions from theme directory using PHP

Use get_template_directory() instead , require doesn’t work with http://

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