Local Shortcode Using WordPress Custom Fields

There is a plugin called Just Variables – which is doing just that https://wordpress.org/plugins/just-wp-variables/ – you can have a look at its code and it will provide you with the best explanation on how to do that. (or you can alternatively just use the plugin.)

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