• Resolved kromstudio

    (@kromstudio)


    Hi Everyone.

    We love the plug-in. There is only one minor issue occurring. When we add a new custom post, the order is not being updated automatically and the new post will be displayed as the second post.

    Only after we make a change in the order it get’s updated or if we go to the reorder page of that custom post type and hit update.

    Is there a way to automatically update the right order after hitting the publish button of a new post. Maybe with a hook in the functions.php?

    Thanks!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kromstudio

    (@kromstudio)

    Could it have something to do with another user having the back-end open?

    Thread Starter kromstudio

    (@kromstudio)

    I checked the database. The new post gets 0 in menu_order but the other posts don’t get updated with new values. So you got two posts now that have the value 0 in menu_order

    • This reply was modified 4 years, 8 months ago by kromstudio.
    Plugin Author Maya

    (@tdgu)

    Hi,
    Actually, the order ( menu_order ) is being updated once you customize the order through the re-orde list or default interface. So after create a post, ensure you update the sort list too.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Order not updating after publishing’ is closed to new replies.