WordPress Light/Dark Theme best practices? Is there a way that really works?

You can try fragment caching (https://www.justinsilver.com/technology/wordpress/w3-total-cache-fragment-caching-wordpress/)

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