'ffffff',
'text' => '3f3f3f',
'link' => '7da721',
'border' => 'fcfef4',
'url' => 'ace149',
);
$content_width = 475;
add_theme_support( 'print-style' );
register_sidebar( array(
'name' => __('Sidebar'),
'id' => 'sidebar',
'before_widget' => '',
'after_widget' => '
',
'before_title' => '',
'after_title' => '
' )
);
add_theme_support( 'automatic-feed-links' );
add_custom_background();
/**
* Enqueue scripts and styles
*/
function greenmarinee_scripts() {
wp_enqueue_style( 'greenmarinee', get_stylesheet_uri() );
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );
}
add_action( 'wp_enqueue_scripts', 'greenmarinee_scripts' );
function greenmarinee_custom_background() {
if ( '' != get_background_color() || '' != get_background_image() ) { ?>
id="comment-">
tag based on what is being viewed.
*
* @since Green Marinee 1.0
*/
function green_marinee_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', 'greenmarinee' ), max( $paged, $page ) );
return $title;
}
add_filter( 'wp_title', 'green_marinee_wp_title', 10, 2 );