Edit File by line
/home/barbar84/www/wp-inclu.../theme-co...
File: header.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* @package WordPress
[2] Fix | Delete
* @subpackage Theme_Compat
[3] Fix | Delete
* @deprecated 3.0.0
[4] Fix | Delete
*
[5] Fix | Delete
* This file is here for backward compatibility with old themes and will be removed in a future version.
[6] Fix | Delete
*/
[7] Fix | Delete
_deprecated_file(
[8] Fix | Delete
/* translators: %s: Template name. */
[9] Fix | Delete
sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
[10] Fix | Delete
'3.0.0',
[11] Fix | Delete
null,
[12] Fix | Delete
/* translators: %s: Template name. */
[13] Fix | Delete
sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
[14] Fix | Delete
);
[15] Fix | Delete
?>
[16] Fix | Delete
<!DOCTYPE html>
[17] Fix | Delete
<html <?php language_attributes(); ?>>
[18] Fix | Delete
<head>
[19] Fix | Delete
<link rel="profile" href="https://gmpg.org/xfn/11" />
[20] Fix | Delete
<meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
[21] Fix | Delete
[22] Fix | Delete
<title><?php echo wp_get_document_title(); ?></title>
[23] Fix | Delete
[24] Fix | Delete
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" media="screen" />
[25] Fix | Delete
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
[26] Fix | Delete
[27] Fix | Delete
<?php if ( file_exists( get_stylesheet_directory() . '/images/kubrickbgwide.jpg' ) ) { ?>
[28] Fix | Delete
<style type="text/css" media="screen">
[29] Fix | Delete
[30] Fix | Delete
<?php
[31] Fix | Delete
// Checks to see whether it needs a sidebar.
[32] Fix | Delete
if ( empty( $withcomments ) && ! is_single() ) {
[33] Fix | Delete
?>
[34] Fix | Delete
#page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbg-<?php bloginfo( 'text_direction' ); ?>.jpg") repeat-y top; border: none; }
[35] Fix | Delete
<?php } else { // No sidebar. ?>
[36] Fix | Delete
#page { background: url("<?php bloginfo( 'stylesheet_directory' ); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
[37] Fix | Delete
<?php } ?>
[38] Fix | Delete
[39] Fix | Delete
</style>
[40] Fix | Delete
<?php } ?>
[41] Fix | Delete
[42] Fix | Delete
<?php
[43] Fix | Delete
if ( is_singular() ) {
[44] Fix | Delete
wp_enqueue_script( 'comment-reply' );}
[45] Fix | Delete
?>
[46] Fix | Delete
[47] Fix | Delete
<?php wp_head(); ?>
[48] Fix | Delete
</head>
[49] Fix | Delete
<body <?php body_class(); ?>>
[50] Fix | Delete
<div id="page">
[51] Fix | Delete
[52] Fix | Delete
<div id="header" role="banner">
[53] Fix | Delete
<div id="headerimg">
[54] Fix | Delete
<h1><a href="<?php echo home_url(); ?>/"><?php bloginfo( 'name' ); ?></a></h1>
[55] Fix | Delete
<div class="description"><?php bloginfo( 'description' ); ?></div>
[56] Fix | Delete
</div>
[57] Fix | Delete
</div>
[58] Fix | Delete
<hr />
[59] Fix | Delete
[60] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function