array(
'value' => 'content-sidebar',
'label' => __( 'Right Sidebar' ),
),
'sidebar-content' => array(
'value' => 'sidebar-content',
'label' => __( 'Left Sidebar' )
),
'content-sidebar-sidebar' => array(
'value' => 'content-sidebar-sidebar',
'label' => __( 'Two Right Sidebars' )
),
'no-sidebar' => array(
'value' => 'no-sidebar',
'label' => __( 'No Sidebar
Use footer widget area' )
),
);
return $theme_layouts;
}
/**
* Return array for post length
*/
function fusion_post_length() {
$post_length = array(
'full-post' => array(
'value' => 'full-post',
'label' => __( 'Full Post' )
),
'excerpt' => array(
'value' => 'excerpt',
'label' => __( 'Excerpt' )
),
);
return $post_length;
}
/**
* Return array for flexible or fixed layout
*/
function fusion_flexible_layout() {
$flexible_layout = array(
'fixed' => array(
'value' => 'fixed',
'label' => __( 'Fixed' )
),
'flexible' => array(
'value' => 'flexible',
'label' => __( 'Flexible' )
),
);
return $flexible_layout;
}
/**
* Create the options page
*/
function fusion_theme_options_do_page() {
if ( ! isset( $_REQUEST['settings-updated'] ) )
$_REQUEST['settings-updated'] = false;
?>