'fcfaf4',
'text' => '77756b',
'link' => '9e9e9e',
'border' => 'c0bba5',
'url' => 'aabb99',
);
$content_width = 420;
if ( function_exists('register_sidebars') )
register_sidebars(1);
add_theme_support( 'automatic-feed-links' );
// Custom background
add_custom_background();
add_theme_support( 'print-style' );
function treba_custom_background() {
if ( '' != get_background_color() && '' == get_background_image() ) { ?>
id="comment-">
tag based on what is being viewed.
*
* @since Treba 1.0
*/
function treba_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', 'treba' ), max( $paged, $page ) );
return $title;
}
add_filter( 'wp_title', 'treba_wp_title', 10, 2 );