How to get posts by a certain author in inner loop using outer loop variable or post title WordPress

Mapping the page to a WordPress user is the best approach. An ACF User field to select the user would give you the author ID, which can then be used easily in a WP_Query instance.

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