Howto get the post ID displayed
-
Hi,
I’m working on a sidebar widget and I need to get the page/post id of the page I calculate.
I can’t une the_ID because the sidebar is outside The Loop.
I’ve read something like rewind_post() and I’ve to test it.
Does somebody have another way to retreive this ID ?
Thanks,
Laurent
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Howto get the post ID displayed’ is closed to new replies.