| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
$output_settings = array( |
| 5 |
'type' => 'postbox', |
| 6 |
'label' => 'Output Settings', |
| 7 |
'options' => array( |
| 8 |
'style_resources_location' => array( |
| 9 |
'name' => 'style_resources_location', |
| 10 |
'label' => __( 'Styles location:', 'customify' ), |
| 11 |
'desc' => __( 'Here you can decide where to put your style output, in header or footer', 'customify' ), |
| 12 |
'default' => 'wp_footer', |
| 13 |
'type' => 'select', |
| 14 |
'options' => array( |
| 15 |
'wp_head' => __( "In header (just before the head tag)", 'customify' ), |
| 16 |
'wp_footer' => __( "Footer (just before the end of the body tag)", 'customify' ), |
| 17 |
), |
| 18 |
), |
| 19 |
// 'script_resources_location' => array( |
| 20 |
// 'name' => 'script_resources_location', |
| 21 |
// 'label' => __( 'Script location:', 'customify' ), |
| 22 |
// 'desc' => __( 'Here you can decide where to put your scripts output, in header or footer', 'customify' ), |
| 23 |
// 'default' => 'wp_footer', |
| 24 |
// 'type' => 'select', |
| 25 |
// 'options' => array( |
| 26 |
// 'wp_head' => __( 'In <head> (just before </head>', 'customify' ), |
| 27 |
// 'wp_footer' => __( 'Footer (just before </body>)', 'customify' ), |
| 28 |
// ) |
| 29 |
// ) |
| 30 |
) |
| 31 |
); # config |
| 32 |
|
| 33 |
return $output_settings; |