id="comment-">
'161410',
'text' => '999999',
'link' => 'd8d7d3',
'border' => '35302A',
'url' => 'BD934F',
);
$content_width = 497;
add_theme_support( 'print-style' );
/**
* Enqueue scripts and styles
*/
function chaoticsoul_scripts() {
wp_enqueue_style( 'chaoticsoul', get_stylesheet_uri() );
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );
}
add_action( 'wp_enqueue_scripts', 'chaoticsoul_scripts' );
// Widgets FTW!
function widget_chaoticsoul_links() {
wp_list_bookmarks(array(
'title_before' => '',
'title_after' => '
',
'category_before' => '',
));
}
function widget_chaoticsoul_search() {
?>
'',
'after_widget' => '
',
'before_title' => '',
'after_title' => '
',
));
wp_register_sidebar_widget('links', __('Links', 'widgets'), 'widget_chaoticsoul_links');
wp_register_sidebar_widget('search', __('Search', 'widgets'), 'widget_chaoticsoul_search');
}
add_action('widgets_init', 'chaoticsoul_widget_init');
// Custom Header FTW!
define('HEADER_TEXTCOLOR', '');
define('HEADER_IMAGE', '%s/images/chaostheory.jpg'); // %s is theme dir uri
define('HEADER_IMAGE_WIDTH', 760);
define('HEADER_IMAGE_HEIGHT', 151);
define('NO_HEADER_TEXT', true );
function chaoticsoul_admin_header_style() {
?>
tag based on what is being viewed.
*
* @since Chaotic Soul 1.2
*/
function chaoticsoul_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', 'chaoticsoul' ), max( $paged, $page ) );
return $title;
}
add_filter( 'wp_title', 'chaoticsoul_wp_title', 10, 2 );