Giter Site home page Giter Site logo

Comments (4)

razvanaldea89 avatar razvanaldea89 commented on June 24, 2024

Works good on my side. Do you have any other plugins installed that controls the order ?

from simple-custom-post-order.

mplusb avatar mplusb commented on June 24, 2024

from his feedback, there were no other plugins installed: https://wordpress.org/support/topic/often-doesnt-change-order-values/

from simple-custom-post-order.

razvanaldea89 avatar razvanaldea89 commented on June 24, 2024

Well, the user says that no other plugins were installed, but from the video at least one plugin is installed : Jetpack

from simple-custom-post-order.

DrGrimshaw avatar DrGrimshaw commented on June 24, 2024

Hi all,

I have done some debugging as I'm experiencing the same issue as @mplusb

As you will see from the HTML markup below that 14655 comes before 14659:
issue-1

But when querying the database I get the opposite:
issue-2

I believe the plugin to be working correctly as I have debugged at every stage of the reordering process and found no issues. I have also checked the plugin is resetting the orderby to menu_order and to order to ASC (which it does). That said it still doesn't explain why it is happening, I am running on Wordpress 5.0.2 and using WooCommerce for my products post type.

I have however worked something out which definitely solves my issue in the meantime. Forcing the state by clicking on the sort tab as seen here below:
workaround-1

I get the correct order for my products and stays corrected when I refresh. If you cannot see this tab then you can try the following URL:
edit.php?post_type=[CUSTOM POST TYPE HERE]&orderby=menu_order&order=ASC

If this becomes an issue on more sites then may require further investigation.

from simple-custom-post-order.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.