I am trying to:
I want to show previous and next post in a content template for custom post type: 'playground' which are to be based on 'Menu Order' and not date.
Thanks for sharing the code. However, it does work as expected. As written in my post query above, I actually wanted pagination to honour 'menu order'.
I am on page: Urban Flower Kandivali West - 50
50 being menu order hidden link
I expect:
the previous link to show: Urban Flowers Ghatkopar East - 40 and
the next link to show: Urban Flower Opportunity School Chennai - 60
or vice a versa. Currently the pagination works on date chronological, which is the default behaviour.
Let me know if I have been able to clarify. Many thanks for looking into this. Look forward to hearing from you.
To debug this issue, I will need to take a look at your setup. So I need to request temporary access (WP-Admin and FTP Login info) to your staging site
Your next answer will be private which means only you and I have access to it.
=== Please backup your database and website ===
✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.
✙ Please add the Links to the [View] Edit Screen and [Content Template] Edit Screen where you have added this view.
Thanks for this great piece of code. Works like a charm. I would like to extend it as follows.
I have a hierarchical CTP that has parent and child posts. Instead of a «next» link on the last of the child posts of a specific parent page I'd like to display text, eg. «end of chapter». How could I achieve this.
Thanks,
Marcel
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.