$str ) { if ( strstr( $str, ">$current_cat<" ) ) { unset($cats[$i]); break; } } if ( empty($cats) ) return false; return trim(join( $glue, $cats )); } function tag_ur_it($glue) { $current_tag = single_tag_title( '', '', false ); $separator = "\n"; $tags = explode( $separator, get_the_tag_list( "", "$separator", "" ) ); foreach ( $tags as $i => $str ) { if ( strstr( $str, ">$current_tag<" ) ) { unset($tags[$i]); break; } } if ( empty($tags) ) return false; return trim(join( $glue, $tags )); } if ( ! isset( $content_width ) ) $content_width = 640; function register_my_menus() { register_nav_menus( array( 'main-menu' => __( 'Main Menu' )) ); } add_action( 'init', 'register_my_menus' ); function theme_widgets_init() { register_sidebar( array ( 'name' => 'Primary Widget Area', 'id' => 'primary-widget-area', 'before_widget' => '
  • ', 'after_widget' => "
  • ", 'before_title' => '

    ', 'after_title' => '

    ', ) ); } add_action( 'init', 'theme_widgets_init' ); $preset_widgets = array ( 'primary-aside' => array( 'search', 'pages', 'categories', 'archives' ), ); if ( isset( $_GET['activated'] ) ) { update_option( 'sidebars_widgets', $preset_widgets ); } function commenter_link() { $commenter = get_comment_author_link(); if ( ereg( ']* class=[^>]+>', $commenter ) ) { $commenter = preg_replace( '/(]* class=[\'"]?)/', '\\1url ' , $commenter ); } else { $commenter = preg_replace( '/(' . $commenter . ''; } function custom_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; $GLOBALS['comment_depth'] = $depth; ?>
  • | Permalink', 'blankslate'), get_comment_date(), get_comment_time(), '#comment-' . get_comment_ID() ); edit_comment_link(__('Edit', 'blankslate'), ' | ', ''); ?>
    comment_approved == '0') _e("\t\t\t\t\tYour comment is awaiting moderation.\n", 'blankslate') ?>
    __('Reply','blankslate'), 'login_text' => __('Log in to reply.','blankslate'), 'depth' => $depth, 'before' => '' ))); endif; ?>
  • | ', ''); ?>
    comment_approved == '0') _e('\t\t\t\t\tYour trackback is awaiting moderation.\n', 'blankslate') ?>