Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHey guys,
Thanks a lot for your feedback. I see the bug and am working on a fix.
Anh Tran
KeymasterHi SWS,
I think it's faster to let me help you directly. Can you send me a temporary admin account to fix that?
June 24, 2019 at 11:22 AM in reply to: ✅Gutenberg Sidebar Media Upload Clash with image_advanced #15063Anh Tran
KeymasterI'm reviewing a fix on Github that you can try for now:
https://github.com/wpmetabox/meta-box/pull/1316
In my test, it seems to work well.
June 24, 2019 at 11:21 AM in reply to: ✅How do draft, publish, and private publish work with MB Builder? #15062Anh Tran
KeymasterHi Chris,
The status of field groups created by MB Builder works like this:
- If the field group is published, it will show when you editing posts
- If it's a draft, then it won't show
So, a draft field group is like something you're working on and not ready for users to enter data to.
It doesn't matter if your posts are published, draft or private. In other words, the post status doesn't play any role in the field group settings.
My question then seems to come down to which field types can actually be output to the page.
All field types that have value will display on pages. Fields that don't have value like custom HTML, you should output it yourself.
A quick note for custom HTML field, it accepts a
callbackfunction that you can use to output the content in both back end and front end.Anh Tran
KeymasterHi Chris,
Sorry for the lack of documentation. I'll keep adding them.
Regarding the CSS class, please add the class as in this screenshot:
https://imgur.elightup.com/G8yUX18.png
And you'll see this class here:
Anh Tran
KeymasterHi,
Yes, that's possible. Please add a new parameter
'add_new' => trueto thetaxonomyortaxonomy_advancedfield and then users will have an extra input box to enter a new term.June 22, 2019 at 11:53 AM in reply to: ✅Cloning a Metabox Group item results in 'property content is undefined' #15050Anh Tran
KeymasterYour code has some specific PHP functions, especially for the group title which relates to the bug. Can you flatten out it to simple PHP string / array to see if the bug still occur?
By the way, version 1.3.0 of the MB Group extension adds some flexibility for the group title, please see here for details.
Anh Tran
KeymasterAfter checking the code, I found that the fix actually works. Can you please try again?
June 21, 2019 at 3:42 PM in reply to: ✅Cloning a Metabox Group item results in 'property content is undefined' #15038Anh Tran
KeymasterCan you send me the code of the meta box?
Anh Tran
KeymasterGlad that it works now. Let me know if you find anything!
Anh Tran
KeymasterHi,
I've just tried it with MB User Meta and it works fine. However, I think the fix above doesn't work well for updating users. I'll probably need to find a better fix.
June 20, 2019 at 3:35 PM in reply to: ✅Set post title automatic by value of dropdown list of selections of posts #15017Anh Tran
KeymasterI'm afraid the value stored for the
postfield is always post ID. I suppose you're trying to set title with a custom code. I'd suggest you add a little code to retrieve the post title from the post ID and then use that title later in your code. -
AuthorPosts