get current post id?
-
I have a single post on my homepage ( https://www.roobottom.com ) and below this I have a custom script that get 5 of the most recent posts.
I need to know how to get the id of the post on the homepage so I can pass it to the recent post script so it’ll miss out that post from the top of the list and get the next five.
I know I could get this from the URL $p parameter, but i’m using permalinks.
any help would be great! Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘get current post id?’ is closed to new replies.