'ffffff',
'text' => '000000',
'link' => 'E58712',
'border' => '9BBB38',
'url' => 'F0B56D'
);
$content_width = 480;
add_theme_support( 'print-style' );
function widget_almostspring_search() {
?>
'',
'after_title' => "
\n",
));
function almostspring_widgets_init() {
unregister_widget('WP_Widget_Search');
wp_register_sidebar_widget('search', __('Search'), 'widget_almostspring_search');
}
add_action('widgets_init', 'almostspring_widgets_init');
add_theme_support( 'automatic-feed-links' );
// Custom background
add_custom_background();
function almostspring_custom_background() {
if ( '' != get_background_color() && '' == get_background_image() ) { ?>
id="comment-">
comment_approved == '0') : ?>
'comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
tag based on what is being viewed.
*
* @since Almost Spring 1.0
*/
function almost_spring_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', 'almost-spring' ), max( $paged, $page ) );
return $title;
}
add_filter( 'wp_title', 'almost_spring_wp_title', 10, 2 );
/*
* Load Jetpack compatibility file.
*/
require( get_template_directory() . '/inc/jetpack.php' );