-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot pass custom settings to custom control #1425
Comments
digging a bit more, it might be something related to these lines
(Kirki_field class, set_field, line 410)
as might be pure speculation though..I'm mainly a js dev.. I'm not that familiarized with PHP/WP I'll keep digging... Edit:
and it worked, so I think that's really the problem (the field I'm trying to add is named 'post_type') edit2: |
👍 Thanks! |
No problem :) |
Yep, I just merged it, thanks! 👍 It will be included in the next release later today. |
Issue description:
I'm creating a custom control that displays a dropdown of posts to be chosen just like this.
but trying to overwrite the
post_type
(or any other arg that I come up with), it simply doens't workVersion used:
(Did you try using the develop branch from github? There's a chance your issue has already been adressed there)
3.0.5
Using theme_mods or options?
theme_mods
Maybe I'm just missing something...
The text was updated successfully, but these errors were encountered: