Should you directly edit Template Parts and Templates from themes?

Must be create a child theme otherwise when you update theme then all modification file will be remove.

Here is the best tutorial for how to make a WordPress child theme https://www.elegantthemes.com/blog/resources/wordpress-child-theme-tutorial

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