• Hi all!
    I has Custom Post Type(CPT) “Car”. And I would like create navigation on single page of this CPT, etc, single-car.php :
    “Previous CPT” and “Next CPT”.
    Standard methods (previous_posts_link and next_posts_link) doesn’t work…

    Any ideas?
    Thanks.

Viewing 1 replies (of 1 total)
  • I think the functions that you want are ‘previous_post_link()’ and ‘next_post_link()’, not ‘previous_posts_link()’, etc.

    Notice no ‘s’ after ‘post’. ‘post_link()’ instead of ‘posts_link()’.

Viewing 1 replies (of 1 total)
  • The topic ‘Single Custom Post Type navigation’ is closed to new replies.