__( 'Theme Options', 'amy' ), 'description' => __( 'Panel description.', 'amy' ), 'id' => 'amy_theme_options', 'priority' => 28, 'theme_supports' => '', 'type' => 'panel' ); // Front Page $options[] = array( 'title' => __( 'Front Page', 'amy' ), 'description' => __( 'Panel description.', 'amy' ), 'id' => 'amy_front_page', 'priority' => 29, 'theme_supports' => '', 'type' => 'panel' ); /* --------------------------------------------------------------------------------------------------- Site Layout --------------------------------------------------------------------------------------------------- */ // Site Layout - Section $options[] = array( 'title' => __( 'Site Layout', 'amy' ), 'description' => '', 'panel' => 'amy_theme_options', 'id' => 'amy_site_layout', 'priority' => 10, 'theme_supports' => '', 'type' => 'section' ); // Site Layout $options[] = array( 'title' => __( 'Site Layout', 'amy' ), 'description' => __( 'This can be set per post or page as well.', 'amy' ), 'section' => 'amy_site_layout', 'id' => 'amy_site_layout', 'default' => 'content-sidebar', 'option' => 'select', 'sanitize_callback' => '', 'choices' => array( 'content-sidebar' => __( 'Content - Sidebar', 'amy' ), 'sidebar-content' => __( 'Sidebar - Content', 'amy' ), 'full-width' => __( 'No Sidebar', 'amy' ), ), 'type' => 'control' ); // Archive Display $options[] = array( 'title' => __( 'Archive Display', 'amy' ), 'description' => __( 'Select how to display the archive content.', 'amy' ), 'section' => 'amy_site_layout', 'id' => 'amy_archives_display', 'default' => 'excerpt', 'option' => 'select', 'sanitize_callback' => '', 'choices' => array( 'excerpt' => __( 'Entry Excerprts', 'amy' ), 'content' => __( 'Entry Content', 'amy' ), ), 'type' => 'control' ); /* --------------------------------------------------------------------------------------------------- Site Footer --------------------------------------------------------------------------------------------------- */ // Site Footer - Section $options[] = array( 'title' => __( 'Site Footer', 'amy' ), 'description' => '', 'panel' => 'amy_theme_options', 'id' => 'amy_footer_options', 'priority' => 10, 'theme_supports' => '', 'type' => 'section' ); // Footer Widgets $options[] = array( 'title' => __( 'Footer Widgets', 'amy' ), 'description' => __( 'The number of widgets in the footer.', 'amy' ), 'section' => 'amy_footer_options', 'id' => 'amy_footer_widgets', 'default' => '3', 'option' => 'select', 'sanitize_callback' => '', 'choices' => array( '0' => __( 'No footer widgets', 'amy' ), '1' => __( '1 Footer Widget', 'amy' ), '2' => __( '2 Footer Widgets', 'amy' ), '3' => __( '3 Footer Widgets', 'amy' ), '4' => __( '4 Footer Widgets', 'amy' ), ), 'type' => 'control' ); // Footer Credits $options[] = array( 'title' => __( 'Footer Credits', 'amy' ), 'description' => __( 'This will replace the default footer credits', 'amy' ), 'section' => 'amy_footer_options', 'id' => 'amy_footer_credits', 'default' => '', 'option' => 'textarea', 'sanitize_callback' => 'esc_textarea', 'type' => 'control' ); /* --------------------------------------------------------------------------------------------------- Portfolio --------------------------------------------------------------------------------------------------- */ // Site Footer - Section $options[] = array( 'title' => __( 'Portfolio', 'amy' ), 'description' => '', 'panel' => 'amy_theme_options', 'id' => 'amy_portfolio_options', 'priority' => 10, 'theme_supports' => '', 'type' => 'section' ); // Portfolio Page Title $options[] = array( 'title' => __( 'Portfolio Page Title', 'amy' ), 'description' => '', 'section' => 'amy_portfolio_options', 'id' => 'amy_portfolio_title', 'default' => '', 'option' => 'text', 'sanitize_callback' => 'sanitize_text_field', 'type' => 'control' ); // Portfolio Page Description $options[] = array( 'title' => __( 'Portfolio Page Description', 'amy' ), 'description' => '', 'section' => 'amy_portfolio_options', 'id' => 'amy_portfolio_text', 'default' => '', 'option' => 'textarea', 'sanitize_callback' => '', 'type' => 'control' ); // Portfolio Post Columns $options[] = array( 'title' => __( 'Portfolio Post Columns', 'amy' ), 'description' => '', 'section' => 'amy_portfolio_options', 'id' => 'amy_portfolio_cols', 'default' => 4, 'option' => 'select', 'sanitize_callback' => '', 'choices' => array( '1' => __( '1 Column', 'amy' ), '2' => __( '2 Columns', 'amy' ), '3' => __( '3 Columns', 'amy' ), '4' => __( '4 Columns', 'amy' ), ), 'type' => 'control' ); // Portfolio Posts / Page $options[] = array( 'title' => __( 'Portfolio Posts / Page', 'amy' ), 'description' => '', 'section' => 'amy_portfolio_options', 'id' => 'amy_portfolio_posts', 'default' => 12, 'option' => 'number', 'sanitize_callback' => '', 'input_attrs' => array( 'min' => 0, 'max' => 100, 'step' => 1, ), 'type' => 'control' ); // Display title on Portfolio archive page. $options[] = array( 'title' => __( 'Display title on Portfolio archive page.', 'amy' ), 'description' => '', 'section' => 'amy_portfolio_options', 'id' => 'amy_portfolio_show_title', 'default' => '1', 'option' => 'checkbox', 'sanitize_callback' => '', 'type' => 'control' ); // Display excerpt on Portfolio archive page. $options[] = array( 'title' => __( 'Display excerpt on Portfolio archive page.', 'amy' ), 'description' => '', 'section' => 'amy_portfolio_options', 'id' => 'amy_portfolio_excerpt', 'default' => '1', 'option' => 'checkbox', 'sanitize_callback' => '', 'type' => 'control' ); /* --------------------------------------------------------------------------------------------------- Custom Scripts --------------------------------------------------------------------------------------------------- */ // Custom Scripts - Section $options[] = array( 'title' => __( 'Custom Scripts', 'amy' ), 'description' => '', 'panel' => 'amy_theme_options', 'id' => 'amy_scripts_options', 'priority' => 10, 'theme_supports' => '', 'type' => 'section' ); // Header Scripts $options[] = array( 'title' => __( 'Header Scripts', 'amy' ), 'description' => __( 'This code will output immediately before the closing tag in the document source.', 'amy' ), 'section' => 'amy_scripts_options', 'id' => 'amy_header_scripts', 'default' => '', 'option' => 'textarea', 'sanitize_callback' => '', 'type' => 'control' ); // Footer Scripts $options[] = array( 'title' => __( 'Footer Scripts', 'amy' ), 'description' => __( 'This code will output immediately before the closing tag in the document source.', 'amy' ), 'section' => 'amy_scripts_options', 'id' => 'amy_footer_scripts', 'default' => '', 'option' => 'textarea', 'sanitize_callback' => '', 'type' => 'control' ); /* --------------------------------------------------------------------------------------------------- Colors --------------------------------------------------------------------------------------------------- */ // Text Color $options[] = array( 'title' => __( 'Text Color', 'amy' ), 'description' => '', 'section' => 'colors', 'id' => 'amy_text_color', 'default' => '#5b616b', 'option' => 'color', 'sanitize_callback' => '', 'type' => 'control' ); // Headings Color $options[] = array( 'title' => __( 'Headings Color', 'amy' ), 'description' => '', 'section' => 'colors', 'id' => 'amy_headings_color', 'default' => '#2c3e50', 'option' => 'color', 'sanitize_callback' => '', 'type' => 'control' ); // Site Title Color $options[] = array( 'title' => __( 'Site Title Color', 'amy' ), 'description' => '', 'section' => 'colors', 'id' => 'amy_site_title_color', 'default' => '#2c3e50', 'option' => 'color', 'sanitize_callback' => '', 'type' => 'control' ); // Link Color $options[] = array( 'title' => __( 'Link Color', 'amy' ), 'description' => '', 'section' => 'colors', 'id' => 'amy_link_color', 'default' => '#1e73be', 'option' => 'color', 'sanitize_callback' => '', 'type' => 'control' ); // Link Color Hover $options[] = array( 'title' => __( 'Link Color Hover', 'amy' ), 'description' => '', 'section' => 'colors', 'id' => 'amy_link_hover_color', 'default' => '#2c3e50', 'option' => 'color', 'sanitize_callback' => '', 'type' => 'control' ); // Menu Link Color $options[] = array( 'title' => __( 'Menu Link Color', 'amy' ), 'description' => '', 'section' => 'colors', 'id' => 'amy_menu_color', 'default' => '#999999', 'option' => 'color', 'sanitize_callback' => '', 'type' => 'control' ); // Menu Link Color $options[] = array( 'title' => __( 'Menu Link Color Hover', 'amy' ), 'description' => '', 'section' => 'colors', 'id' => 'amy_menu_color_hover', 'default' => '#1e73be', 'option' => 'color', 'sanitize_callback' => '', 'type' => 'control' ); /* --------------------------------------------------------------------------------------------------- Site Logo --------------------------------------------------------------------------------------------------- */ // Site Logo $options[] = array( 'title' => __( 'Site Logo', 'amy' ), 'description' => __( 'The Site Title and Tagline will be replaced by the uploaded image. Image height should be 60 px.', 'amy' ), 'section' => 'title_tagline', 'id' => 'amy_site_logo', 'default' => '', 'option' => 'image', 'sanitize_callback' => 'esc_url', 'type' => 'control' );