Appending an ACF custom field to the page title

If you need to append something to EVERY post_title you have, you should:

Make your loop with WP Query, check Codex

Then, use get_the_ID, to get the specific post ID, check Codex

Then, use the ID to get the ACF field from that specific post like get_field('name-of-the-field), check the documentation

Don’t forget to use wp_reset_query(), check the Codex

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