'ffffff',
'text' => '4f402a',
'link' => '97c000',
'border' => '503f2b',
'url' => '346ba4',
);
add_theme_support( 'print-style' );
register_nav_menus( array(
'primary' => __( 'Primary Navigation' ),
) );
add_theme_support( 'automatic-feed-links' );
// Custom background
add_custom_background();
}
add_action( 'add_setup_theme', 'rounded_theme_setup' );
function rounded_body_classes( $classes ) {
// Remove body classes that conflict with legacy CSS
$classes = array_merge( array_diff( $classes, array( 'date' ) ) );
return $classes;
}
add_filter( 'body_class', 'rounded_body_classes' );
if ( function_exists('register_sidebar') ) {
$a = get_bloginfo('template_directory');
register_sidebar(array(
'before_widget' => '
',
'before_title' => '',
'after_title' => '
',
));
}
function widget_rounded_links() {
$a = get_bloginfo('template_directory');
?>
id="comment-">
tag based on what is being viewed.
*
* @since Rounded 1.0
*/
function rounded_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', 'rounded' ), max( $paged, $page ) );
return $title;
}
add_filter( 'wp_title', 'rounded_wp_title', 10, 2 );