Timeline for Pulling current post/page data into header.php
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 24, 2014 at 17:54 | vote | accept | Josh Mountain | ||
Feb 24, 2014 at 17:30 | comment | added | Rarst |
@JoshMountain get_the_date() is one of those which (inconsistently) doesn't work for given ID, but you should get the idea how to, looking at its short source
|
|
Feb 24, 2014 at 17:27 | comment | added | Josh Mountain | Ah good to know! I think I can get author name and some other info this way, but I can't find a template tag that shows publish date based on ID - is this possible? | |
Feb 24, 2014 at 17:25 | history | answered | Rarst | CC BY-SA 3.0 |