I have a single post on my homepage ( http://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
- The topic ‘get current post id?’ is closed to new replies.