Shortcode Display From WordPress Dashboard Page Without Using post_id

You can use get_the_ID(); function in place of $post_id= ‘your post id’ so that you don’t have to place the post id manually every time. The Function automatically gets the id of the post/page

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