'ffffff', 'text' => '444444', 'link' => '3388cc', 'border' => '289acf', 'url' => 'cccccc', ); if ( ! function_exists( 'twenty_eight_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 twenty_eight_setup() { /** * Make theme available for translation * Translations can be filed in the /languages/ directory * If you're building a theme based on Twenty Eight, use a find and replace * to change 'twenty_eight' to the name of your theme in all the template files */ load_theme_textdomain( 'twenty_eight', get_template_directory() . '/languages' ); /** * Add default posts and comments RSS feed links to head */ add_theme_support( 'automatic-feed-links' ); /** * Setup the WordPress core custom background feature. */ add_theme_support( 'custom-background' ); /** * This theme uses wp_nav_menu() in one location. */ register_nav_menus( array( 'primary' => __( 'Primary Menu', 'twenty_eight' ), ) ); add_theme_support( 'print-style' ); } endif; // twenty_eight_setup add_action( 'after_setup_theme', 'twenty_eight_setup' ); /** * Register widgetized area and update sidebar with default widgets */ function twenty_eight_widgets_init() { register_sidebars( 2 ); } add_action( 'widgets_init', 'twenty_eight_widgets_init' ); function twenty_eight_body_class( $classes, $class ) { return $class; } add_filter( 'body_class', 'twenty_eight_body_class', 1, 2 ); function twenty_eight_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); ?>
  • id="comment-">
    ','',''); ?>
    comment_approved == '0') : ?>

    'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth']))); ?>
  • id="comment-"> on ','',''); ?> tag based on what is being viewed. * * @since Twenty Eight 0.1b */ function twenty_eight_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', 'twenty-eight' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'twenty_eight_wp_title', 10, 2 );