I have a custom post type with meta box. The output is paginated, so that my custom page will output one post at the time which works just fine.
What I need is to be able to create a menu link on the front-end so a user can select from any of the custom post type posts. I was using next and previous links like this:
<?php previous_posts_link('« Newer') ?> <?php next_posts_link('Older »') ?>
The problem with this approach is the user only sees links to the next and previous posts, not all of the custom post type posts. However, this system does use correct links NOT "?cpt=value"
If I use a plugin to automatically generate a menu for the custom post type it uses "?cpt=value" links. I can't use a plugin since I am using a custom page template to output info, so if I use it it gives me wrong links. (http://wordpress.org/plugins/custom-post-type-auto-menu/)
I could not find anything that would help me to figure the way to output correct link.
How do I output correct link for all post types in that category?
This is actual link to custom page with cpt(links I need):
But if I generate automatic link it will give me:
UPDATE: I learned that I can use paginate_links function to get all cpt pages, but it displays numbers of pages not post titles, and I can't find any info if this supports titles..
Any help is much appreciated!