Skip to content
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

Adding Multiple Variants Using Typography Field . #1946

Open
medabkari opened this issue Jul 12, 2018 · 0 comments
Open

Adding Multiple Variants Using Typography Field . #1946

medabkari opened this issue Jul 12, 2018 · 0 comments

Comments

@medabkari
Copy link

Issue description:

Hi There @aristath , I'm quietly familiar with your great plugin which is kirki indeed, i tried to simplify things and let the user to add multiple variants to specific font, i searched a lot about how to do it, but unfortunately i couldn't do it , i even did the @rahulnever2far suggestion as a feature accepted from you, but it didn't work , So i'm here today requesting your help to me, about how to do it, because as everyone know, the most themes works with 2 fonts and 4 variants, so please tell me if there's ant way to do it the proper way .

Actually i tought About an Idea how to do it .

  • As i Said Above , There Was a great idea from @rahulnever2far , it's great it if works , the first goes to css , the others goes to font loader, But my idea says why don't you just let the user write the variant he want , i mean in place of variant select field, remplace it with a textfield which the user will write the wanted variants , or just a drop-down way, but as i heard from you, the kirki uses selectize and you wait till wordpress implement select2 , so my idea is just let the user choose which variants he wants and the first goes to css output and the others should be gone to the font Loader .
    about the default variant the author just write eg. 'regular' or 'bold' and then in the textfield this value should be written in it .

Version used:

3.0 Version .

Using theme_mods or options?

theme_mods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants