global variables in templates

Define it in functions.php, which is loaded on every request.

However, there are far better options than a global variable:

  • a function
  • a template part if it’s a template you’re defining
  • filters

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