Sync with current wp version

This commit is contained in:
jaywood
2014-07-09 20:49:03 -04:00
parent 82db411b4f
commit 6a0888a46f
9 changed files with 227 additions and 138 deletions

View File

@ -1,5 +1,4 @@
<?
// Get categories
$cat_list = get_categories();
$final_cat_list = array();
@ -133,9 +132,10 @@ $cwv3_op_data = array(
),
'bg_opacity' => array(
'name' => 'Background Opacity',
'desc' => 'Input a number from 0-100, the latter being completely opaque.',
'type' => 'text',
'def' => 75
'desc' => 'Input a float value from 0-1, the latter being completely opaque.',
'type' => 'number',
'def' => 0.85,
'step' => 0.01
),
'bg_color' => array(
'name' => 'Background Color',
@ -143,6 +143,12 @@ $cwv3_op_data = array(
'type' => 'color',
'fields' => array('color'=>'#000000')
),
'css' => array(
'name' => 'Custom CSS',
'desc' => 'For a completely custom look, just drop your css here.',
'type' => 'textbox',
'def' => ''
),
'cat_list' => array(
'name' => 'Category restrictions',
'desc' => 'Select categories that you would like to restrict with the dialog.',