Timeline for Why does get_post_meta not work with the posts page?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 11, 2015 at 18:03 | comment | added | Pieter Goosen |
@Milo jip, I totally forgot about that in the hurry I was. In any case, the get_queried_object_id() will work then as you have rightly pointed out. ;-)
|
|
Nov 10, 2015 at 20:46 | comment | added | Milo | @PieterGoosen This does not cover the case where the blog page is a page selected under Settings > Reading, in which case it is a physical page and it is possible for it to have meta data. | |
Nov 10, 2015 at 20:14 | vote | accept | user9447 | ||
Nov 10, 2015 at 21:33 | |||||
Nov 10, 2015 at 19:46 | history | answered | Pieter Goosen | CC BY-SA 3.0 |