==> Whereas ‘playground’ is your custom post type slug, that you need to replace in the above code.
2. Then, add this shortcode in your Content Template to display Previous and Next post links:
[prev_post] | [next_post]
This support ticket is created hace 6 años, 6 meses. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
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.