Ready to get started?Download WordPress


Post Types Order
[resolved] Woocommerce related products conflict (4 posts)

  1. roymich
    Posted 1 year ago #

    Hi, I'm using the latest version of "Post Types Order".
    The sorting works great, but it also sorts the "related products" of a single product showing, instead of showing random(?) changing products it shows the same products each time, for all the products... (the first 4th I ordered using "Post Types Order".

    When I disable the plugin the related function works as it should be...

    Thank you.


  2. nsp-code
    Plugin Author

    Posted 1 year ago #

    You should turn off the autosort plugin option and change the queries to include 'orderby' => 'menu_order' where the sort need to apply.

  3. roymich
    Posted 1 year ago #

    What do you mean by turning autosort plugin option off? I mean, the Woocommerce autosort? how do you turn it off. How do I change the queries?
    Can you please help me with clear steps?

    Thank you for the support

    Is there an option (or code) which let's you filter posts ordering by category? (means you could change the order of specific category posts... now everything is mixed up by post type)

  4. nsp-code
    Plugin Author

    Posted 1 year ago #

    I mean this is a plugin option, go to setting plugin area and chagge the autosort to OFF. Then update query to include 'orderby' => 'menu_order' . I can't say where to change as it depend on your theme code.
    Currently only the Advanced Post Types Order plugin allow to create sort for specific category (taxonomy).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic