I use WordPress Static Front Page Process to assign the Front Page and assign the Posts Page. So I have 2 pages : "front" (front-page.php) and "blog" (home.php).
For the "blog" page, When I display
$post->ID after head init (outside the loop), I don't understand why WordPress send me back the last post ID created. It normally has to display the page ID?
I read the "Questions that may already have your answer" about this kind of case and the ability to use :
But why Wordpress works like this?
Is there a global var defined?
Is there something I'm missing in WordPress Template Hierarchy?
Thanks for your help