Okay
  Public Ticket #2996843
Blog Page Element List Order Issue
Closed

Comments

  •  23
    higginko started the conversation

    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.

  •  279
    Noah replied

    Hello,

    Try using this plugin and check: https://wordpress.org/plugins/intuitive-custom-post-order/ .

    Thanks


  •  23
    higginko replied

    Thank you for the info. Will try the plugin.

    I tried other similar plugins but need to manually organize the portfolio list.

  •  279
    Noah replied

    Hello,

    Let me how it goes.

    Cheers!

  •   higginko replied privately
  •  279
    Noah replied

    Hello,

    Thanks for keeping in touch with us.

    Please share the admin credentials as I escalate the ticket to our developer for assistance.

    Thanks.

  •  23
    higginko replied

    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.

  •  1,070
    ThemeNectar replied

    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,

  •  23
    higginko replied

    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.