my start page in WP shows the latest posts.
I added some meta fields to the start page in the WP backend which I want to access before the list of recent posts starts. I try to access the meta values via "get_the_ID
", but this function always returns the ID of the first post, even when I use the hook before the loop.
How can I retrieve the ID of the page which is set up as start page?
Your latest posts
?