get latest post id
-
Hi,
For a widget i’m trying to find out how i can get the ID tag of the most newest post.
Now it’s like this: get_post($post->ID);
But i selects all the posts and i just want to have the newest post.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘get latest post id’ is closed to new replies.