I thought I could adapt this solution, but I couldn't because in my case it's a relationship between two custom posts. It is not the current author, but the artist (custom post) who has several books. hidden link
How to adapt it to this relationship
Thank you
guyk
I would like to know first where exactly you want to display prev/next link, on single post page of post type books? If yes, how we can know that what books belongs to what parent?
Ok - its big hard to filter the prev/next link on single post of the book.
What if we create a page and on that page we will add a view that should display the related posts and you should configure that view to display your single book post information - will that help?
And on single book post, lets say you clicked on 3rd related book post and redirect to single book post, how we can know what will be the 1st and 2nd post. Its bit difficult thing. That is why I shared the idea to create a page and to that page we should add a view that should display 1 book post at a time and we will add pagination prev/next.
Can you please share admin access details so I can setup a demo for you.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Just to confirm with you again that - I will add a page, to this newly created page I'll add a view that will display 1 result per page at a time and it will only display the related posts (books) belongs to the current parent post.
For instance, on this page: hidden link
When you click on any of the related post, it will redirect to new page called "show-related-posts" and on that page I will add a view that shows related posts belongs to "nelly-avila" - 1 post at a time.
It does indeed sound like a good idea.
With navigation arrows for books by the same artist?
And maybe
With a switch to the next or previous artist when one's books are finished?
I've created the follow view: hidden link
- Where I've added only post link for now within the "Loop Editor" section, you can adjust the output as required by you and set this view to display only 1 result per page.
Then, I've created the following page and added the above view to this page:
- hidden link
And then, I've modified your following view that is added to your parent post page:
- hidden link
I've added the "Fields and Text" block and constructed the title with link as given under:
Excuse me minesh but I use the help of ggogle translation ...
But it's dabns this page that I want the pagination and navigation between the books of the same artist. hidden link...