-
Notifications
You must be signed in to change notification settings - Fork 327
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
output argument to add_field not working #1478
Comments
In network section the changed data is going to admin section correctly .
even response is but that is not changing the paragraph style . Does output still not works on typography ? As you mentioned this here. |
@PrafullaKumarSahu There are a couple of things I don't quite get. Why not simply use a typography control? Why do you use option-names like I can't test anything using the code you posted. Please post code that I can just copy-paste like this: Kirki::add_field( 'style_paragraph_font' => array(
'type' => 'select',
'label' => __( 'Font', 'textdomain' ),
'default' => 'Open Sans',
'priority' => 10,
'choices' => Kirki_Fonts::get_font_choices(),
'section' => 'my_section',
'output' => array(
array(
'element' => 'p',
'property' => 'font-family',
'units' => ' !important',
),
),
)); OR paste the whole implementation and not just a part of it that won't work without the rest of your code. |
Closing this as it's an implementation question that never received followup from the original poster. |
Issue description:
The auto output is not working . Can you give me some idea about it ? The default values are coming very correctly just the changed value are not coming .
Version used: 3.0.9
WordPress Version 4.8 and ACF pro 5.6
(Did you try using the develop branch from github? There's a chance your issue has already been adressed there)
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
The text was updated successfully, but these errors were encountered: