Closed matyushen closed 11 years ago
@matyushen You have that exactly correct. What exactly are you asking for?
I'm asking how to apply that options, in SMOF you can do it like this:
<?php global $name; $name = get_option(OPTIONS); ?>
Font-family: <?php echo $name['unique_id']['face']?>
Font-size: <?php echo $name['unique_id']['size']?>
Color: <?php echo $name['unique_id']['color']?>
Font-weight: <?php echo $name['unique_id']['style']?>
Like so:
<?php
global $Simple_Options;
$options = $Simple_Options->options;
print_r($options);
Thanks, @dovy. Is there any way to adopt your awesome typography options for SMOF? Your framework looks great, but I almost finished my theme's options with SMOF, and I need this feature there so bad..
@matyushen To be honest, going back to SMOF is going to take more work than just converting...
I'll be providing documentation on what you need to do to migrate from SMOF. It's actually quite simple. A few type renames, and creating of a bigger array. That's it.
Can somebody please explain how should I call typography options?
Thanks!