'eeeeee', 'text' => '000000', 'link' => 'cc0000', 'border' => '000000', 'url' => '5e0000', ); /** * Set the content width based on the theme's design and stylesheet. */ $content_width = 460; if ( ! function_exists( 'neo_sapien_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which runs * before the init hook. The init hook is too late for some features, such as indicating * support post thumbnails. */ function neo_sapien_setup() { /** * Make theme available for translation * Translations can be filed in the /languages/ directory * If you're building a theme based on superhero, use a find and replace * to change 'superhero' to the name of your theme in all the template files */ load_theme_textdomain( 'neosapien', get_template_directory() . '/languages' ); /** * Add default posts and comments RSS feed links to head */ add_theme_support( 'automatic-feed-links' ); /** * This theme uses wp_nav_menu() in one location. */ register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'neosapien' ), ) ); /** * Enable support for Print Styles */ add_theme_support( 'print-style' ); /** * This theme supports custom background color and image, and here * we also set up the default background color. */ add_theme_support( 'custom-background' ); } endif; // superhero_setup add_action( 'after_setup_theme', 'neo_sapien_setup' ); /** * Fallback for primary navigation */ function neo_sapien_page_menu() { ?> '%s/images/main.jpg', 'header-text' => false, 'width' => 480, 'height' => 250, 'admin-head-callback' => 'neo_sapien_admin_header_style', ) ) ); } add_action( 'after_setup_theme', 'neo_sapien_custom_header_setup' ); /** * Styles the header image displayed on the Appearance > Header admin panel. */ function neo_sapien_admin_header_style() { ?>
  • id="comment-">
    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    tag based on what is being viewed. * * @since Neo Sapien 05 0.5 */ function neo_sapien_05_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', 'neo-sapien-05' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'neo_sapien_05_wp_title', 10, 2 );