Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Justin Sternberg
@jtsternberg
Thank you @Gaffen. Repeatable groups need some overhauling in the next few releases. Right now, they work ok for simpler fields, but the complex fields will need their own JS for when they are in a repeat group. Unfortunately haven't gotten to that point
Matthew Gaffen
@Gaffen
No worries, I don't have a lot of free time but I'll read the contribution guidelines and see if I can't give it a shot myself :)
Justin Sternberg
@jtsternberg
That sounds great, thanks!
cggit
@cggit
hi i am wondering if CMB2 is recommended for production use yet?
Justin Sternberg
@jtsternberg
Certainly. It's used in production on some very high profiles sites already.
cggit
@cggit
cool, i am currently using CMB1 is there any special upgrade path?
Justin Sternberg
@jtsternberg
Well, quite a lot has changed. The fields should work the same, but the way to register fields has changed. You'll want to look through the example-functions.php file: https://github.com/WebDevStudios/CMB2/blob/master/example-functions.php
cggit
@cggit
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.
José Carlos Chávez
@jcchavezs
Can you guys have a look at https://github.com/jcchavezs/cmb2-taxonomy and tell me your mind?
Justin Sternberg
@jtsternberg
@jcchavezs I have a lib to provide that functionality: https://github.com/jtsternberg/Taxonomy_MetaData
I haven't looked at yours, but I'll try to get around to it
José Carlos Chávez
@jcchavezs
I know that! By the way my approach creates a new table for managing all the metadata :).
Justin Sternberg
@jtsternberg
Re: custom tables, this is a good discussion of the topic. jtsternberg/Taxonomy_MetaData#23
José Carlos Chávez
@jcchavezs
Thank you. I will check that.
José Carlos Chávez
@jcchavezs
@jtsternberg I just added a comment on that discussion.
Justin Sternberg
@jtsternberg
@jcchavezs added CMB2 Taxonomy to the recommended list: WebDevStudios/CMB2@09d6c56
Still haven't gotten around to testing it, but definitely intend to.
José Carlos Chávez
@jcchavezs
Great. I will add my plugin to wordpress.org soon (I still checking how). I will keep all of you posted :).
Justin Sternberg
@jtsternberg
@jcchavezs Well @blobaugh has the perfect post for you: http://webdevstudios.com/2015/04/06/how-to-submit-a-plugin-to-the-wordpress-repository/
Adnan Shawkat
@ashawkat
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
José Carlos Chávez
@jcchavezs
Hi @all. I just added my plugin to Wordpress Plugin Registry: https://wordpress.org/plugins/cmb2-taxonomy/. CC @jtsternberg
Justin Sternberg
@jtsternberg
@jcchavezs nice! congrats :)
@ashawkat cmb2 taxonomy fields are meant to replace WP built-in taxonomy metaboxes. If you're looking for different functionality, you'll have to build it. I suggest you look here: https://github.com/WebDevStudios/CMB2/wiki/Tips-&-Tricks#a-dropdown-for-taxonomy-terms-which-does-not-set-the-term-on-the-post
Scott Kingsley Clark
@sc0ttkclark
do people normally hang here and talk dev?
Justin Sternberg
@jtsternberg
@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. :)