'ffffff', 'text' => '414141', 'link' => '6C8C37', 'border' => 'EDE8E2', 'url' => '009193', ); $content_width = 455; add_theme_support( 'automatic-feed-links' ); add_custom_background(); add_theme_support( 'print-style' ); // Make theme available for translation // Translations can be filed in the /languages/ directory load_theme_textdomain( 'blix', get_template_directory() . '/languages' ); /** * Enqueue scripts and styles */ function blix_scripts() { wp_enqueue_style( 'blix', get_stylesheet_uri() ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action( 'wp_enqueue_scripts', 'blix_scripts' ); function widget_blix_categories() { ?>

0 && $opt_number <= 15 ) { $number = $opt_number; } else if ( $opt_number > 15 ) { $number = 15; } } ?>

'
', 'after_widget' => "
", 'before_title' => '

', 'after_title' => '

', )); wp_register_sidebar_widget('categories', __( 'Categories', 'blix' ), 'widget_blix_categories'); unregister_widget_control('categories'); wp_register_sidebar_widget('feeds', __( 'Feeds', 'blix' ), 'widget_blix_feeds'); wp_register_sidebar_widget('recent-posts', __( 'Recent Posts', 'blix' ), 'widget_blix_recent_posts'); unregister_widget_control('recent-posts'); define('HEADER_TEXTCOLOR', '009193'); define('HEADER_IMAGE', '%s/images/spring_flavour/header_bg.jpg'); // %s is theme dir uri define('HEADER_IMAGE_WIDTH', 690); define('HEADER_IMAGE_HEIGHT', 115); function header_style() { ?> __( 'Primary Navigation', 'connections' ), ) ); function blix_page_menu() { // fallback for primary navigation ?>
  • >

    . comment_type == "comment") comment_author_link(); else { strlen($comment->comment_author) > 25 ? $author = substr($comment->comment_author,0,25) . "&hellip" : $author=substr($comment->comment_author,0,25); echo get_comment_author_link(); } ?>  | 

    comment_approved == '0') : ?>

    ', '' ); ?> 'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))); ?>
    %1$s', 'blix' ), sprintf( '%3$s at %2$s', esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_html( get_the_date() ) ) ); } function blix_posted_by() { if ( is_multi_author() && ! is_author() ) { printf( __( '', 'blix' ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'blix' ), get_the_author_meta( 'display_name' ) ) ), esc_attr( get_the_author_meta( 'display_name' ) ) ); } } /** * Filters wp_title to print a neat tag based on what is being viewed. * * @since Blix 0.9.1 */ function blix_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', 'blix' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'blix_wp_title', 10, 2 );