__('Primary Navigation | middle bar in header', 'edublue'), 'secondary' => __('Secondary Top Navigation | above header', 'edublue'), 'tertiary' => __('Secondary Smaller Navigation | below primary', 'edublue') )); //customer header image banner support add_theme_support( 'custom-header' ); $defaults = array( 'default-image' => get_template_directory_uri() . '/images/default-header.png', 'random-default' => false, 'width' => 310, 'height' => 90, 'flex-height' => false, 'flex-width' => false, 'repeat' => 'no-repeat', 'header-text' => false, 'uploads' => true, 'wp-head-callback' => '', 'admin-head-callback' => '', 'admin-preview-callback' => '' ); add_theme_support( 'custom-header', $defaults ); // Add theme support for Custom Background add_theme_support( 'custom-background', array( 'default-image' => get_stylesheet_directory_uri() . '/images/background.png', 'default-color' => '1722a0', )); } add_action('after_setup_theme', 'edublue_setup'); function edublue_add_theme_scripts() { // Loads default main stylesheet. wp_enqueue_style( 'style', get_stylesheet_uri() ); /* * Adds JavaScript to pages with the comment form to support * sites with threaded comments (when in use). */ if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action( 'wp_enqueue_scripts', 'edublue_add_theme_scripts' ); // add ie conditional html5 shim to header function edublue_add_ie_html5_shim () { echo ''; } add_action('wp_head', 'edublue_add_ie_html5_shim'); // font imported as external uri add_action( 'edublu_meta', 'wpb_add_google_fonts', 5); function edublu_add_google_fonts() { echo ""; } function edublue_widgets_init() { register_sidebar(array( 'name' => __('Primary Right Side', 'edublue'), 'id' => 'sidebar-1', 'description' => __('The right-side widget area', 'edublue'), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); register_sidebar(array( 'name' => __('First Footer Widget Area', 'edublue'), 'id' => 'first-footer-widget-area', 'description' => __('The first footer widget area', 'tswclear'), 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', )); register_sidebar(array( 'name' => __('Second Footer Widget Area', 'edublue'), 'id' => 'second-footer-widget-area', 'description' => __('The second footer widget area', 'tswclear'), 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', )); register_sidebar(array( 'name' => __('Third Footer Widget Area', 'edublue'), 'id' => 'third-footer-widget-area', 'description' => __('The third footer widget area', 'tswclear'), 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', )); register_sidebar(array( 'name' => __('Fourth Footer Widget Area', 'edublue'), 'id' => 'fourth-footer-widget-area', 'description' => __('The fourth footer widget area', 'tswclear'), 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', )); } // custom footer feature to replace credits add_action( 'widgets_init', 'edublue_widgets_init' ); function edublue_footer_credits() { $author_url = "http://tradesouthwest.com/"; echo '

    Theme EduBlue by Tradesouthwest

    '; } add_action( 'edublue_footer_credits', 'edublue_footer_credits' ); ?>