[Plugin: OptionTree] Retrieving Typography Values
-
Hey guys, with the Typograph option I can retrieve the values using
$type = get_option_tree( 'type' );
But how do I get the values specifically?
So if I want to add the font family to my CSS what do I use to get it?
I tried
<?php echo $type['font-family']; ?>
But that doesn’t work, it just outputs a comma for some reason, any ideas what I’m doing wrong. I’m a newbie to this so it would of been cool for examples on how to use them all but I guess I’ll have to learn ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: OptionTree] Retrieving Typography Values’ is closed to new replies.