'ffffff', 'text' => '000000', 'link' => 'ff3333', 'border' => '000000', 'url' => '394651', ); $content_width = 420; function benevolence_body_classes( $classes ) { // Remove body classes that conflict with legacy CSS $classes = array_merge( array_diff( $classes, array( 'page' ) ) ); return $classes; } add_filter( 'body_class', 'benevolence_body_classes' ); add_theme_support( 'automatic-feed-links' ); add_custom_background(); add_theme_support( 'print-style' ); load_theme_textdomain('benevolence'); /** * Enqueue scripts and styles */ function benevolence_scripts() { wp_enqueue_style( 'benevolence', get_stylesheet_uri() ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action( 'wp_enqueue_scripts', 'benevolence_scripts' ); function benevolence_widgets_init() { register_sidebars(1); unregister_widget('WP_Widget_Search'); wp_register_sidebar_widget('search', __('Search', 'benevolence'), 'benevolence_search'); } add_action('widgets_init', 'benevolence_widgets_init'); function benevolence_search() { ?>
  • array( 'url' => '%s/images/masthead.jpg', 'thumbnail_url' => '%s/images/masthead-thumbnail.jpg', /* translators: header image description */ 'description' => __( 'Grass', 'benevolence' ) ), 'ice' => array( 'url' => '%s/images/ice.jpg', 'thumbnail_url' => '%s/images/ice-thumbnail.jpg', /* translators: header image description */ 'description' => __( 'Ice', 'benevolence' ) ), 'red-soil' => array( 'url' => '%s/images/red-soil.jpg', 'thumbnail_url' => '%s/images/red-soil-thumbnail.jpg', /* translators: header image description */ 'description' => __( 'Red Soil', 'benevolence' ) ), 'water-and-rocks' => array( 'url' => '%s/images/water-and-rocks.jpg', 'thumbnail_url' => '%s/images/water-and-rocks-thumbnail.jpg', /* translators: header image description */ 'description' => __( 'Water and Rocks', 'benevolence' ) ) ) ); function header_style() { ?>
    id="comment-">
    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>

    tag based on what is being viewed. * * @since Benevolence 1.0 */ function benevolence_wp_title( $title, $sep ) { global $page, $paged; if ( is_feed() ) return $title; // Add the blog name $title .= get_bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) $title .= " $sep $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) $title .= " $sep " . sprintf( __( 'Page %s', 'benevolence' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'benevolence_wp_title', 10, 2 ); /* * Load Jetpack compatibility file. */ require( get_template_directory() . '/inc/jetpack.php' );