'b1e11c', ) ); if ( function_exists('register_sidebars') ) register_sidebars(1); add_theme_support( 'automatic-feed-links' ); define('HEADER_TEXTCOLOR', '80904F'); define('HEADER_IMAGE', '%s/images/header.jpg'); // %s is theme dir uri define('HEADER_IMAGE_WIDTH', 740); define('HEADER_IMAGE_HEIGHT', 171); /** * Enqueue scripts and styles */ function greenery_10_scripts() { wp_enqueue_style( 'greenery-10', get_stylesheet_uri() ); wp_enqueue_script( 'greenery-add-event', get_template_directory_uri() . '/js/addEvent.js', array(), false, true ); wp_enqueue_script( 'greenery-sweet-titles', get_template_directory_uri() . '/js/sweetTitles.js', array( 'greenery-add-event' ), false, true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action( 'wp_enqueue_scripts', 'greenery_10_scripts' ); function header_style() { ?> __( 'Primary Navigation', 'greenery' ) ) ); // Fallback for primary navigation function greenery_page_menu() { ?>
  • id="comment-" >

    ,

    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    tag based on what is being viewed. * * @since Greenery 1.05 */ function greenery_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', 'greenery' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'greenery_wp_title', 10, 2 ); /** * Load Jetpack compatibility file. */ if ( file_exists( get_template_directory() . '/inc/jetpack.php' ) ) require get_template_directory() . '/inc/jetpack.php';