get_boundary_post Only works from a single page
|Reported by:||pathawks||Owned by:|
|Component:||Posts, Post Types||Keywords:||has-patch|
I was trying to use get_boundary_post in my theme to display a link to the first and last posts, but it does not work from the homepage. Unless called from a single post, get_boundary_post will return NULL.
I can't see any reason for this behavior, or any good way around it.