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
@CaSmWil definitely.
Jackson Harvell
@bicyclista
hi, I'm trying to add some custom meta data on a taxonomy term, I am already using CMB2 for some metaboxes on my site. i saw this note https://github.com/jtsternberg/Taxonomy_MetaData which says that CMB2 natively support for taxonomy meta data... i copied the code from the linked example-functions.php but I can't get it working... any tips or ideas? does this work for anyone? thanks for great tool BTW
Justin Sternberg
@jtsternberg
Are you using the trunk branch for CMB2?
Jackson Harvell
@bicyclista
@jtsternberg brilliant! thank you for the suggestion i was using the master branch, checked out trunk and my code started working right away. thanks again for the great project.
Justin Sternberg
@jtsternberg
Yah, I really need to push out a new release.
Bruno Sastre
@brsastre
Hello?
andrew-ok7
@andrew-ok7
Is it me you're looking for?
theidforgithub
@theidforgithub
Hello ~~ Could anyone help me to make taxonomy_select with placeholder???
USA(Grey)--Other Select (A.B.C ) Canada(Grey)--Other Select(A.B.C) Like this
Justin Sternberg
@jtsternberg
Sorry, that doesn't make any sense to me.
Niklas P
@niklasp
I am having a problem with cmb2 post_meta on the front page / posts page, has anyone experienced that yet?
everything is working fine on posts and pages but not on the post page and front page set under "Settings->Reading"
Justin Sternberg
@jtsternberg
No. :) If you're having issues, you'll need to post a full gist of the code you're using. Both to generate the fields, and how you're getting them back
Niklas P
@niklasp
solved
was a wordpress issue about get_post_meta
Jotyjjj
@Jotyjjj
I have a question about a New Custom Field I created for a Fieldset. I am unable to trash this New Custom Field. Will someone be able to tell me why. I clicked on the trash can and nothing happens.
I am using v2.1.0.41
Justin Sternberg
@jtsternberg
CMB2 has no concept of "trashing" and no v2.1.0.41 version. Are you sure you're in the right place?
wcsconcierge
@wcsconcierge
Good morning, I ran into a strange error. I have the BeTheme by Muffin installed on a current version of word press. I was prompted to install and activate CMB2 because it is now a required plugin, so I did. But when I did so, I could no longer edit anything in the Muffin Page Builder. I could create and delete page elements, but I could not edit existing page elements. So just as a test, I deactivated the CMB2 and the problem resolved. Has anyone ran into that situation?
Justin Sternberg
@jtsternberg
Sorry, never familiar with anything named muffin, or why that would happen.
Vitaly
@vitaly-safonov
Hi everyone, can you help me with one question
how i can get multicheckbox label value
Leon Francis Shelhamer
@twoelevenjay
@vitaly-safonov where are you trying to sccess that property from?
@jtsternberg do you have a special approach for writing up such an extensive change log entry with props like you did for 2.2?
Vitaly
@vitaly-safonov
@twoelevenjay I already solved this problem
Justin Sternberg
@jtsternberg
@twoelevenjay throughout development, I keep the changelog up-to-date. then before release, I'll view a visual diff from master to trunk and see what's changed and if I missed anything.
Also, I almost never merge a PR without finessing it to some degree after, and that's when I write down the props
Leon Francis Shelhamer
@twoelevenjay
@jtsternberg cool! Thanks for sharing that. I hope to need this info in the future :-)
As of right now I am only working with 1 master branch.
Justin Sternberg
@jtsternberg
For sure!
Dev_NIX
@devnix
Hi! I have a doubt
I'm currently displaying a select field with some options
I would like to hide some options conditionally of the values of other entry already in the database,
Is there a non crazy way to do this?
I've just discovered this library and I'm enjoying it as hell. I come from using a couple of times ACF+Pods because it's the way my company works, and this library gives me a lot of flexibility, plugin-free way of work, and awesome geekness :D
Leon Francis Shelhamer
@twoelevenjay
What is the data you want to base the condition on? Is it relavant to the mentioned select field?
@DevNIX ^^^
Dev_NIX
@devnix
@twoelevenjay I have a datepicker, and a select with then options "Morning" and "Evening"
I would like to check if there is another post with the same day, and check the select value
if it's stored "Evening", I should show block it and show only "Morning"
I'm guessing I will need ajax, check it and disable the option dinamically right?
Leon Francis Shelhamer
@twoelevenjay
I like to show / hide
with JS so AJAX would work for me.
Dev_NIX
@devnix
the thing now is to guess how to create the AJAX endpoint
Leon Francis Shelhamer
@twoelevenjay
I have an instance where I do this but for me it neede to show hide based on the cmb2-row div. so I added classes to this with the filter hook
Dev_NIX
@devnix
I have an idea of how to do it the Wordpress way, afaik there is not an CMB2 way
Leon Francis Shelhamer
@twoelevenjay
cmb2_row_classes
For mine the condition is based on a select field only, so I don't have to do an ajax call. But you can look at my code on how to add classes to the field rows and the... JS I used to show hide based on those rows.