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?
<?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 🙂
- The topic ‘[Plugin: OptionTree] Retrieving Typography Values’ is closed to new replies.