Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi,
I was facing the same issue when working with the custom logo. Currently there's no options for it yet. I will create a new field type
single_imagefor this purpose. Please wait.Anh Tran
KeymasterHi,
Unfortunately, it's not supported at the moment. The Frontend submission works with post submission only.
Anh Tran
KeymasterHi,
Currently, Meta Box AIO is going after the latest releases a little bit. I've just updated it today, so you will receive all the updates immediately.
Regarding the sidebar field, it is added to the free version of Meta Box. You just need to update it from wordpress.org and be able to use it. The Builder extension will be updated later as well.
Anh Tran
KeymasterThanks a lot for your bug. I will check and fix it asap.
Anh Tran
KeymasterHi,
Please correct me if I'm wrong. I understand that you want to use Meta Box like a shortcode generator, so when users click on a "trigger button", it shows a form to enter those info for a button. Then clicking on "Insert" button will inserts a shortcode to the post content?
If that's correct, then I'm afraid to say it's not supported at the moment. The purpose of the shortcode is presenting the data, while the purpose of Meta Box is saving the data. Although they might share the same form, but the goals are different.
Anh Tran
KeymasterHi Thomas,
I replied you on Github. To edit existing meta boxes, please just follow this instruction.
Anh Tran
KeymasterAh, as I explained in the previous reply, the new cloned group will inherit the current state of the last clone. So if the last one is collapsed, users will get a new collapsed one.
Anh Tran
KeymasterHi Thomas,
The code generated by the Online Generator or following our documentation doesn't violate the theme review guidelines. It's safe to be used in the themes.
Anh
Anh Tran
KeymasterHi,
I tried your code and it works to me. Probably we're misunderstanding each other.
The
'default_state' => 'collapsed'makes sure when you create a new post, the group will be collapsed.When you open a group to enter data, its state will be reserved (with
'save_state' => true). When you clone a group, the previous is remained (so if the last clone is expanded, then the new clone is expanded and vice versa).Hope that makes sense.
Best regards,
AnhAnh Tran
KeymasterHi David,
The long term for MB Frontend Submission is making it works with any kind of object and any kind of data storage. Your proposal is a nice trick. I will try to implement it and see how it works ๐
Anh Tran
KeymasterI partly understand :).
The logic behind saving state for collapsible groups is quite simple that you can do similarly. Just add a hidden field to the group and use the CSS class to access to that field to set/change value. Because it's an actual field, the value will be saved when the group is saved.
Hope that helps!
Anh Tran
KeymasterHi,
Yes, it's possible.
The collapsible groups have collapsed / expanded state. You can set the default state via
'default_state' => 'collapsed'and make the group saves its state with'save_sate' => true.Anh Tran
KeymasterHi,
Please just add a setting
'clone_default' => trueto fields if you want them to have 'std' value when cloning. If you clone a group and want to keep 'std' value for sub fields, please add that setting to all sub field.Anh Tran
KeymasterHi,
No problem. We're working on this.
Anh Tran
KeymasterHi David,
Thanks a lot for your reply. I've looked at the database structure of Posts2Posts and it's quite similar to your 2nd table structure. I will try to implement this feature as soon as I can.
Thanks,
Anh -
AuthorPosts