'f8f8f8', 'default-image' => get_template_directory_uri() . '/images/bg01.png', ) ) ); register_nav_menu( 'primary-menu', __( 'Primary Menu', 'delicacy' ) ); add_theme_support( 'featured-content', array( 'featured_content_filter' => 'delicacy_get_featured_posts', 'description' => __( 'The featured content section displays on the front page above the first post in the content area.', 'delicacy' ), 'post_types' => array( 'post', 'page' ), 'max_posts' => 20, ) ); } add_action( 'after_setup_theme', 'delicacy_theme_setup' ); // JavaScript & CSS function delicacy_styles() { wp_enqueue_style( 'style', get_stylesheet_uri() ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); if ( is_front_page() && ! is_paged() && delicacy_has_featured_posts() ) { wp_enqueue_script( 'delicacy-featured', get_template_directory_uri() . '/js/featured.js', array( 'jquery' ), '20120617' ); } } add_action( 'wp_enqueue_scripts', 'delicacy_styles' ); // Comments function delicacy_comments( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; ?>