Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #8640
      manutiedra
      Participant

      Hi,

      I’ve been trying to put my metaboxes before the submitdiv one but I was not able to do it. After a quick check to the source code, It seems that submitdiv is set with context ‘side’ and priority ‘high’ but I was not able to place my metaboxes on top of it.

      I’m asking this because if I edit a post in a mobile phone or with any device with small window size, the submitdiv meta box gets placed after the title (and between the other metaboxes), so it is not user friendly.

      Is there any way to change that behaviour with Piklist?

      Thank you

    • #8641
      Steve
      Keymaster

      @manutiedra– User the order parameter:

      Order: 5
      Order: -1

      • #8647
        manutiedra
        Participant

        Thank you Steve. I got it working.

        The problem also was that I had moved the box manually and then the configuration options were not applied until I deleted the related entries from the usermeta table.

        Maybe it would be useful to add an option to clear the metabox order in WordPress Helpers.

      • #8648
        Steve
        Keymaster

        You can use the lock parameter to stop the meta-box from being dragged.

    • #8649
      Steve
      Keymaster

      Closing this ticket since you got it to work

Viewing 2 reply threads
  • The topic ‘change submitdiv metabox position’ is closed to new replies.