Really like the Salient theme but found an issue that want to share.
Set the Order by Title in Blog Settings but the previous and next post links at the bottom of page are still ordered by date. Those links should be ordered by title as well.
The settings in your post grid instance will not effect the ordering of the single post template previous/next buttons, as they are two unrelated queries on different pages.
WordPress does not offer a built-in method to achieving a custom ordering on the next/previous post functions, however it could be achieved through a custom SQL queries passed through a filter to the functions. Here's a snippet you can paste into your child theme functions.php file: https://pastebin.com/HFuSbX0y
Really like the Salient theme but found an issue that want to share.
Set the Order by Title in Blog Settings but the previous and next post links at the bottom of page are still ordered by date. Those links should be ordered by title as well.
How to fix this issue?
Thanks.
Hello,
Try using this plugin and check: https://wordpress.org/plugins/intuitive-custom-post-order/ .
Thanks
Thank you for the info. Will try the plugin.
I tried other similar plugins but need to manually organize the portfolio list.
Hello,
Let me how it goes.
Cheers!
Hello,
Thanks for keeping in touch with us.
Please share the admin credentials as I escalate the ticket to our developer for assistance.
Thanks.
Here's the admin login info.
user: support
pass: Nectar#2022
Here's the link of the post grid page, Post Grid Test, http://host2053.temp.domains/~parents2/theestatescr/news-2/
Thanks.
Hey higginko,
The settings in your post grid instance will not effect the ordering of the single post template previous/next buttons, as they are two unrelated queries on different pages.
WordPress does not offer a built-in method to achieving a custom ordering on the next/previous post functions, however it could be achieved through a custom SQL queries passed through a filter to the functions. Here's a snippet you can paste into your child theme functions.php file: https://pastebin.com/HFuSbX0y
It's based off of the method covered in this stackexchange thread.
Kind regards,
You guys are awesome.
It works with my custom post type by slight mod of the code.
Learned a lot by reading the threaded articles.
Thank you so much.