access to current data?
-
I recently installed wp and met a problem I can’t resolve. How can I access current post’s id from outside the loop, if this is a single post?
Also, is there a way to get current category’s id from outside the loop, if this is a category view?
Perhaps something to do with the page’s uri?
Please help!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘access to current data?’ is closed to new replies.