__('Primary Navigation', 'artist'), )); if (!function_exists('artist_comment')) : /* Template for comments and pingbacks. --- This was taken from the Twenty Ten theme. In the comments.php template this function is called and looped through for each comment. <-- (type widow) */ function artist_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case '' : ?>
  • id="li-comment-">
    says:', 'artist' ), sprintf( '%s', get_comment_author_link() ) ); ?>
    comment_approved == '0' ) : ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
  • ' . 'Continue reading →' . ''; } function artist_auto_excerpt_more( $more ) { return ' …' . artist_continue_reading_link(); } add_filter('excerpt_more', 'artist_auto_excerpt_more'); function artist_custom_excerpt_more( $output ) { if ( has_excerpt() && ! is_attachment() ) { $output .= artist_continue_reading_link(); } return $output; } add_filter('get_the_excerpt', 'artist_custom_excerpt_more'); // Register widgets function artist_widgets_init() { /* Main sidebar --- The crazy set below constructs this output:

    TITLE HERE

    CONTENT HERE
    */ register_sidebar(array( 'name' => 'Main Sidebar', 'id' => 'main-sidebar', 'description' => 'The main sidebar of the site.', 'before_widget' => '
    ', 'after_widget' => '
    ', 'before_title' => '

    ', 'after_title' => '

    ', )); } //Register sidebars by running artist_widgets_init() on the widgets_init hook. add_action('widgets_init', 'artist_widgets_init');