Next / Previous Post Link PHP Error
-
I’m trying to get the next_post_link to work with a custom post type single.php page.
My code is:
<?php next_post_link('%link'); ?> <?php previous_post_link('%link'); ?>
For some reason, I keep getting this error message along with my links (which, strangely enough, do link properly).
Warning: call_user_func_array(): First argument is expected to be a valid callback, ‘get_custom_adjacent_post_join’ was given in /wp-includes/plugin.php on line 173
This is different from the next_posts_link (posts with an “s”). Any thoughts?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Next / Previous Post Link PHP Error’ is closed to new replies.