This topic contains 4 replies, has 2 voices, and was last updated by  Anh Tran 1 year, 2 months ago.

  • Creator
    Topic
  • #9785
    Resolved
    dave@navarrojr.com
    Participant

    In the “Meta Box->Settings” for the entire metabox, please allow me to specify a custom Class and Custom ID. Right now the ID is derived from the Title.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #9799

    Anh Tran
    Keymaster

    Hi Dave,

    Currently the Meta Box doesn’t have custom CSS class and ID. Because the wrapper HTML is controlled by WordPress, the plugin can handle only the inner HTML. Can I ask what do you need it for?

    #9943

    dave@navarrojr.com
    Participant

    Targeting CSS to a specific metabox.

    #9982

    dave@navarrojr.com
    Participant

    When you “duplicate” a field that is inside of a group, the new field drops to the bottom of the fields editor and not the bottom inside the group. That makes editing large forms with lots of groups way more difficult than it should be.

    For the Date, DateTime and Time fields ACF lets me define both the display format and the save format. So I can display a date as “m/d/Y”, but store it as “Y-m-d” in the database. That would be nice here was well. And I can specify the format using the PHP date format instead of the JS format.

    Since you can specify DISABLED and READONLY in the code, it would be nice to have checkboxes in the builder. Also, one interesting thing in ACF is that if I set a Group to READONLY, all of the fields inside of the group are affected. I don’t have to specify them individually.

    #9988

    Anh Tran
    Keymaster

    Hi Dave,

    Thanks a lot for your suggestion. I really appreciate that. Let me put that in the dev plan 🙂

    FYI: You can save and display date in 2 different formats: https://docs.metabox.io/using-two-date-formats/

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.