'e7e7e7', 'default-image' => get_template_directory_uri() . '/images/bg.png', 'wp-head-callback' => '_custom_background_cb', 'admin-head-callback' => '', 'admin-preview-callback' => '' ); add_theme_support( 'custom-background', $defaults ); // Add custom header add_theme_support( 'custom-header' ); $defaultheader = array( 'default-image' => '', 'random-default' => false, 'width' => 980, // Maximum header image width 'height' => 300, // Maximum header image height 'flex-height' => true, 'flex-width' => true, 'default-text-color' => '', 'header-text' => false, 'uploads' => true, 'wp-head-callback' => '', 'admin-head-callback' => '', 'admin-preview-callback' => '', ); add_theme_support( 'custom-header', $defaultheader ); // Add custom menu add_theme_support( 'menus' ); // Register Widget register_sidebar(array( 'name' => 'Widget', 'description' => 'Your widgets go here', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ) ); // Add editor style add_editor_style( 'styles/editor-style.css' ); } // after_setup_theme // IE style function rundown_ie_style(){ ?>
'; return $form; } add_filter( 'get_search_form', 'rundown_search_form' ); // Display post format icon in single.php function rundown_post_format_label() { if ( has_post_format( 'video' )) { echo 'video'; } if ( has_post_format('audio')) { echo 'audio'; } if ( has_post_format('status')) { echo 'status'; } if ( has_post_format('quote')) { echo 'quote'; } if ( has_post_format('link')) { echo '">link'; } if ( has_post_format('gallery')) { echo 'gallery'; } if ( has_post_format('chat')) { echo 'chat'; } if ( has_post_format('image')) { echo 'image'; } if ( has_post_format('aside')) { echo 'aside'; } else{ echo ''; } } // Build comment list function rundown_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?>
  • id="li-comment-">
    comment_approved == '0') : ?>