Make get_adjacent_post work with custom post_types
|Reported by:||prettyboymp||Owned by:|
get_adjacent_post forcefully puts post_type = 'post' within the query. This function would be reusable with custom post types if it would filter based off of the global $post's post_type.
Change History (4)
Note: See TracTickets for help on using tickets.