Custom Metaboxes and Fields (CMB) will create metaboxes and forms with custom fields that will blow your mind. This is version 2.0 and has been completely rewritten.
thanks for taking the time. I will review and give it a go.
Justin Sternberg
@jtsternberg
sure, good luck
cggit
@cggit
would you recommend against running cmb1 along side cmb2?
Justin Sternberg
@jtsternberg
It can work, but generally, I'd avoid it if possible.
cggit
@cggit
does this chat have a specific use or can people ask whatever cmb2 questions they have?
Justin Sternberg
@jtsternberg
It's pretty open
cggit
@cggit
great resource then. Is the future of CMB2 solid in your opinion? My constant fear in the plugin space is relying on a plugin and having the support and/or development stop.
and this type of plugin is easy to start using everywhere
is there any pro like support options?
Justin Sternberg
@jtsternberg
Well, we use it at WebDevStudios for nearly every project. It's future is pretty solid, for sure. Also, if you're familiar with Pods, it plans on using CMB2 as its backbone as well.
Support is community based and happens on the wordpress.org support forums
cggit
@cggit
i like how this plugin stores data and uses WP functions vs how ACF seems to do its own thing which is very risky as its only supported by a lonely developer in Australia
Justin Sternberg
@jtsternberg
Agreed on all points. ;)
cggit
@cggit
do you know of any gotchas or tips to keep in mind when using CMB2 in a multisite?
Justin Sternberg
@jtsternberg
No, shouldn't matter.
cggit
@cggit
good stuff, well im gonna get to work have a great day thx again
austinjreilly
@austinjreilly
I have a pretty straightforward question. Across the documentation, I've seen custom fields being added as an array and using the add_field method. Is one way preferred over the other?
_
Justin Sternberg
@jtsternberg
@austinjreilly I tried to update all the docs over the weekend. Do you still see examples using the old method? And yes, add_field is recommended.
I know the snippets library needs to be updated as well.
austinjreilly
@austinjreilly
@jtsternberg I've been using this code for a few weeks now, and like I said, I would just see it done different ways in different places in the documentation. I'll standardize and see if that fixes my issue (#257) that you've just addressed there as well.
I've added multiple taxonomy checkbox in one of my custom post type. Now while I try to update the checkboxes the hierarchical taxonomy at the right side also get updated. That's the one thing that should not be done. Please check the screenshot to understand what I'm trying to say. http://nimb.ws/8FuZvm
@sc0ttkclark well, I don't think normally is the right word. :)
Scott Kingsley Clark
@sc0ttkclark
i may just hit you up in slack LOL
don't need to chat now, was just curious
catch you later
Justin Sternberg
@jtsternberg
@sc0ttkclark, ok, you know where to find me. :)
Juan Rangel
@JuanRangel
Hey @jtsternberg, is it currently possible to change the order of the way the repeating fields are added? Instead of the latest entry added to the bottom, have it add to the top?
Justin Sternberg
@jtsternberg
@JuanRangel hmmm no, not really without hacking things. I guess you could overload the cmb.addAjaxRow method if you are JS savvy