WordPress Get Current Page Id and Post Id

WordPress Get Current Page Id and Post Id

WordPress get current page id is a common question asked by a WordPress developer especially if you’re trying to exclude certain pages by Page ID. While you are developing WordPress…