How can I include ALL post types in the_post_navigation() links, not just current post type?
By default the the_post_navigation() uses the current post type, whatever it may be. Luckily, that function eventually calls get_adjacent_post() which has a few hooks we can use. The below uses get_{$adjacent}_post_where where $adjacent is either “previous” or “next”: /** * Modify the posts navigation WHERE clause * to include our acceptable post types * * … Read more