changing genesis_before_while in new theme framework

After thinking through Tom Nowell’s advice it occurred to me I could create a custom hook and place it after if( have_posts(). This worked like a charm. Thanks again. https://developer.wordpress.org/plugins/hooks/custom-hooks/

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