Plugin Author
Unyson
(@unyson)
Hello,
Sorry I don’t understand how to test this.
Please give some concrete steps to reproduce this.
hmm,, how to get value form typography-v2 in theme option unyson?
Plugin Author
Unyson
(@unyson)
i’m try but stil did’t work, font did not change
Plugin Author
Unyson
(@unyson)
I can’t reproduce this
- I added in
theme/options/customizer.php
't-v1' => array('type' => 'typography'),
't-v2' => array('type' => 'typography-v2'),
- Added in
{theme}/header.php
<?php
fw_print(
fw_get_db_customizer_option('t-v1'),
fw_get_db_customizer_option('t-v2')
);
- And it works
You keep saying “it did not change” but you don’t give the steps to reproduce the problem
but it does not work for google fonts, I have tried it
Plugin Author
Unyson
(@unyson)
Everything works fine on my side. I can’t reproduce this. Create a screencast/video please.
Plugin Author
Unyson
(@unyson)
Everything looks fine. The font-family in code matches the select value.
If you mean that the font family style is not applied, have you included it in <head>?
P.S. Including <style> in page body is not good, better use this solution to include all styles in <head>