Tell us what you are trying to do?
I need previous and next links on single pages to follow the menu order instead of the post date(The archive is sorted by menu order, i need the previous next links on the single-pages to follow this same order)
Is there any documentation that you are following?
I could not find anything on this topic.
Is there a similar example that we can see?
What is the link to your site?
Dear Glenn,
I assume we are talking about the Views shortcode [wpv-post-previous-link] and [wpv-post-next-link], see our document:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-previous-link
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-next-link
There isn't such a option to achieve what you want:
previous and next links on single pages to follow the menu order
And I checked the source code of Views plugin, the shortcode [wpv-post-previous-link] is using wordpress function previous_post_link() to get the previous post link:
https://codex.wordpress.org/Function_Reference/previous_post_link
According to above document:
Used on single post permalink pages, this template tag displays a link to the previous post which exists in chronological order from the current post.
There isn't the feature "follow the menu order" too, so in your case it needs custom code, you can contact our "Toolset Contractors" for it:
https://toolset.com/contractors/
And if you agree, we can take it as a feature request, our developers will evaluate it.
Hi Luo,
thank you for your awnser. I will see of if i can make a hook. I do think it would be good to make this a feature in an upcoming release, since you want the previous/next links to follow the order of the archive page.
KInd regards,
Glenn
As your request, I forward it to Beda, he manages the feature request of Views plugin, our developers will evaluate it