Next/Previous Links sort by Menu order

How can I set the next/previous links to sort by menu order in content-single-product.php?

$post_prev = get_adjacent_post( false, '', true );
$post_next = get_adjacent_post( false, '', false );

I know there is a filter that can be added but not sure how to implement.
Thank you for any help!

Comments

  • Hi,

    What you ask for, requires files customization what in reference to Item Support Policy is not allowed. So if you want to modify files and don't know how, you should contact your web developer. Item Policy says:
    Item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customisation services or checking out the great service providers on Envato Studio

    thanks
Sign In or Register to comment.