I’ve been using a similar function to that used by the Blix theme (BX_get_recent_posts) which lists the most recent posts in the blog. Problem is, like the Blix function it relies on the post id ‘p=1’ –passed by clicking on the post title when in Non-Permalinks mode– to hide the current active Post from the list.
Anyone know of a sure method for getting the current post id to a function in the sidebar?
Thanks in advance 🙂
- The topic ‘Getting current Post ID ? (out of The Loop)’ is closed to new replies.