Skip to content

Instantly share code, notes, and snippets.

@dovy
Last active December 22, 2015 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dovy/6540735 to your computer and use it in GitHub Desktop.
Save dovy/6540735 to your computer and use it in GitHub Desktop.
<?
// YOUR OLD VERSION
array(
'id'=>'typography',
'type' => 'typography',
'title' => __('Typography', 'redux-framework'),
'subtitle'=> __('Typography option with each property can be called individually.', 'redux-framework'),
'default'=> array(
'color'=>"#333",
'style'=>'700',
'family'=>'Courier, monospace',
'size'=>33,
'height'=>'40'),
),
// MY NEW VERSION
array(
'id'=>'body-font',
'type' => 'typography',
'title' => __('Body Font', 'redux-framework'),
'subtitle' => __('Specify the body font properties.', 'redux-framework'),
'default' => array(
'color'=>'#dd9933',
'font-size'=>30,
'font-family'=>'Arial, Helvetica, sans-serif',
'font-weight'=>'Normal',
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment