Converting HTML to WordPress theme: integrating pages function and using its text editor, conditional enqueuing

For editing content, I used the plugin Advanced Custom Fields.

As for the conditionals, I just added if (is_page_template('template_name.php') before each wp_enqueue_script.

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