get_boundary_post Only works from a single page
|Reported by:||pathawks||Owned by:|
|Component:||Posts, Post Types||Keywords:||has-patch needs-testing|
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.
Change History (9)
- Component changed from Template to Posts, Post Types
- Focuses template added