//Breadcrumb Nova::add_field('supernova', array('section' => 'posts_and_pages_section', 'settings' => 'sup_breadcrumb', 'label' => esc_attr__('Breadcrumb', 'supernova'), 'type' => 'switch', 'default' => true)); //Font Resizer Nova::add_field('supernova', array('section' => 'posts_and_pages_section', 'settings' => 'sup_font_resizer', 'label' => esc_attr__('Font Resizer', 'supernova'), 'type' => 'switch', 'default' => true)); //Back To Top Nova::add_field('supernova', array('section' => 'posts_and_pages_section', 'settings' => 'sup_back_to_top', 'label' => esc_attr__('Back To Top', 'supernova'), 'type' => 'switch', 'default' => true)); //Featured Image on Posts Nova::add_field('supernova', array('section' => 'posts_and_pages_section', 'settings' => 'sup_featured_image_on_posts', 'label' => esc_attr__('Featured image on posts', 'supernova'), 'type' => 'switch', 'default' => true)); //Post Navigation below posts Nova::add_field('supernova', array('section' => 'posts_and_pages_section', 'settings' => 'sup_post_nav_below_posts', 'label' => esc_attr__('Post Navigation Below Posts', 'supernova'), 'type' => 'switch', 'default' => true)); /* |-------------------------------------------------------------------------- | Content |-------------------------------------------------------------------------- */ Nova::add_panel('sup_content_panel', array('title' => __('Content', 'supernova'), 'priority' => 39, 'capability' => 'edit_theme_options')); /*============================== Copyright Text ===============================*/ Nova::add_section('copyright_text_section', array('title' => esc_attr__('Copyright Text', 'supernova'), 'capability' => 'edit_theme_options', 'panel' => 'sup_content_panel')); //Copyright Text Nova::add_field('supernova', array('section' => 'copyright_text_section', 'settings' => 'sup_copyright_text', 'label' => esc_attr__('Copyright Text', 'supernova'), 'default' => '© 2015 Supernova Themes', 'type' => 'text')); /*============================== Header Script ===============================*/ Nova::add_section('header_script_section', array('title' => esc_attr__('Header Script', 'supernova'), 'capability' => 'edit_theme_options', 'panel' => 'sup_content_panel')); Nova::add_field('supernova', array('section' => 'header_script_section', 'settings' => 'sup_header_script', 'label' => esc_attr__('Header Script', 'supernova'), 'type' => 'code', 'choices' => array('language' => 'javascript', 'theme' => 'none', 'height' => 250))); /*============================== Post Settings ===============================*/ Nova::add_section('post_settings_section', array('title' => esc_attr__('Post Settings', 'supernova'), 'capability' => 'edit_theme_options', 'panel' => 'sup_content_panel'));