'%2$s/images/headers/beautiful-model.jpg', 'random-default' => false, 'width' => 1175, 'height' => 400, 'flex-width' => true, 'flex-height' => true, 'default-text-color' => '230d5b', 'header-text' => true, 'uploads' => true, 'wp-head-callback' => 'stargazer_custom_header_wp_head' ) ); register_default_headers( array( 'beautiful-model' => array( 'url' => '%2$s/images/headers/beautiful-model.jpg', 'thumbnail_url' => '%2$s/images/headers/beautiful-model-thumb.jpg', // Translators: Header image description. 'description' => __( 'Beautiful Model', 'buntu' ), ), ) ); } add_action( 'after_setup_theme', 'buntu_custom_header' ); function buntu_background_color( $color ) { $color = '6b269d'; return $color; } add_filter( 'theme_mod_background_color', 'buntu_background_color' ); function buntu_register_menus() { register_nav_menu( 'primary', _x( 'Primary', 'nav menu location', 'buntu' ) ); register_nav_menu( 'secondary', _x( 'Secondary', 'nav menu location', 'buntu' ) ); register_nav_menu( 'footer', _x( 'Footer', 'nav menu location', 'buntu' ) ); register_nav_menu( 'social', _x( 'Social', 'nav menu location', 'buntu' ) ); } add_action( 'init', 'buntu_register_menus', 1 ); if ( ! function_exists( 'buntu_add_goto_top' ) ) : /** * Go to top. * * @since 1.0.0 */ function buntu_add_goto_top() { echo ''; } endif; add_action( 'wp_footer', 'buntu_add_goto_top' ); /** * Load widgets. */ require get_stylesheet_directory() . '/inc/widgets.php'; /** * Load Jetpack. */ require get_stylesheet_directory() . '/inc/jetpack.php';