You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not quite sure what you're asking here. You want your metabox configuration to show up for 3 different post types? You can pass an array for the object_types parameter and specify multiple things.
Firstly, thank you for your reply. I'm trying to edit a publication, but it's really troubled. There are sample codes in the cmb2 library, but I don't understand how to integrate it into my theme.
Activity
tw2113 commentedon Jun 1, 2020
Not quite sure what you're asking here. You want your metabox configuration to show up for 3 different post types? You can pass an array for the
object_typesparameter and specify multiple things.Otherwise, I'd need more information to help you.
mehmetsarr commentedon Jun 2, 2020
tw2113 commentedon Jun 2, 2020
If I'm not mistaken, that output is using https://www.dropzonejs.com/ or at least something really really similar.
That said, I'm not aware of any CMB2 extension that builds off of Dropzone.js so I guess I'm not quite sure how CMB2 plays a part in this.
mehmetsarr commentedon Jun 5, 2020
@tw2113
Firstly, thank you for your reply. I'm trying to edit a publication, but it's really troubled. There are sample codes in the cmb2 library, but I don't understand how to integrate it into my theme.
tw2113 commentedon Jun 5, 2020
If you can point out which ones you're referring to, I could probably help provide some guidance on how to get them loaded.
mehmetsarr commentedon Jun 5, 2020
the code below is working on my frontend profile page edit code.
`< ?php
error_reporting(0);
if ( is_user_logged_in() ) : {
}
? >`
sample usage is as follows.
I created a custom file meta box for the user.
I just couldn't add the user picture.
tw2113 commentedon Jun 5, 2020
I am not seeing anything related to CMB2 here.
mehmetsarr commentedon Jun 20, 2020
Backend meta boxes were made with cmb2.