How to get post id of static front page?

Posted by Prem Tiwari | Updated on

WordPress has a few useful options. You can get the homepage ID by using the following:

or the blog ID by using:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers