'F1F6F9', 'text' => '333333', 'link' => 'EE6633', 'border' => '296684', 'url' => '4499BB', ); /** * This theme uses wp_nav_menu() in one location. */ register_nav_menus( array( 'primary' => __( 'Primary Menu', 'beach' ), 'secondary' => __( 'Secondary Menu', 'beach' ), ) ); /** * Add default posts and comments RSS feed links to head */ add_theme_support( 'automatic-feed-links' ); /** * Add Post Format support */ add_theme_support( 'post-formats', array( 'aside', 'gallery', 'quote', 'status' ) ); add_theme_support( 'print-style' ); /** * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. */ function beach_page_menu_args($args) { $args['show_home'] = true; return $args; } add_filter( 'wp_page_menu_args', 'beach_page_menu_args' ); /** * Register widgetized area and update sidebar with default widgets */ function beach_widgets_init() { register_sidebar( array ( 'name' => __( 'Sidebar', 'beach' ), 'id' => 'sidebar-1', 'before_widget' => '", 'before_title' => '

', 'after_title' => '

', ) ); } add_action( 'init', 'beach_widgets_init' ); /** * Display navigation to next/previous pages when applicable */ function beach_content_nav($nav_id) { global $wp_query; if ( $wp_query->max_num_pages > 1 ) : ?> ' . __( 'Continue reading ', 'beach' ) . ''; } /** * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and beach_continue_reading_link(). */ function beach_auto_excerpt_more( $more ) { return ' …' . beach_continue_reading_link(); } add_filter( 'excerpt_more', 'beach_auto_excerpt_more' ); /** * Adds a pretty "Continue Reading" link to custom post excerpts. */ function beach_custom_excerpt_more( $output ) { if ( has_excerpt() && ! is_attachment() ) { $output .= beach_continue_reading_link(); } return $output; } add_filter( 'get_the_excerpt', 'beach_custom_excerpt_more' ); function beach_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case '' : ?>
  • id="li-comment-">
    says:', 'beach' ), sprintf( '%s', get_comment_author_link() ) ); ?>
    comment_approved == '0' ) : ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>