Isn’t the way posts are displayed very unefficient?

you could move the loop content into its own file and share that between the different template files using get_template_part()

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