Some widgets I want to code for new theme should be aware of post they are on.
I can't find any way to access post id that isn't marked as inside Loop only.
$id, $wp_query->$post, the_ID(), get_the_ID() are all supposed to work inside Loop only.
In practice $id will have leftover value and these do work outside of Loop... But I feel like this is going against documentation.
Any function or something I am missing?


LinkBack URL
About LinkBacks
Reply With Quote
