Edit File by line
/home/barbar84/public_h.../wp-conte.../themes/twentyni...
File: header.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* The header for our theme
[2] Fix | Delete
*
[3] Fix | Delete
* This is the template that displays all of the <head> section and everything up until <div id="content">
[4] Fix | Delete
*
[5] Fix | Delete
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
[6] Fix | Delete
*
[7] Fix | Delete
* @package WordPress
[8] Fix | Delete
* @subpackage Twenty_Nineteen
[9] Fix | Delete
* @since Twenty Nineteen 1.0
[10] Fix | Delete
*/
[11] Fix | Delete
?><!doctype html>
[12] Fix | Delete
<html <?php language_attributes(); ?>>
[13] Fix | Delete
<head>
[14] Fix | Delete
<meta charset="<?php bloginfo( 'charset' ); ?>" />
[15] Fix | Delete
<meta name="viewport" content="width=device-width, initial-scale=1" />
[16] Fix | Delete
<link rel="profile" href="https://gmpg.org/xfn/11" />
[17] Fix | Delete
<?php wp_head(); ?>
[18] Fix | Delete
</head>
[19] Fix | Delete
[20] Fix | Delete
<body <?php body_class(); ?>>
[21] Fix | Delete
<?php wp_body_open(); ?>
[22] Fix | Delete
<div id="page" class="site">
[23] Fix | Delete
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentynineteen' ); ?></a>
[24] Fix | Delete
[25] Fix | Delete
<header id="masthead" class="<?php echo is_singular() && twentynineteen_can_show_post_thumbnail() ? 'site-header featured-image' : 'site-header'; ?>">
[26] Fix | Delete
[27] Fix | Delete
<div class="site-branding-container">
[28] Fix | Delete
<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
[29] Fix | Delete
</div><!-- .site-branding-container -->
[30] Fix | Delete
[31] Fix | Delete
<?php if ( is_singular() && twentynineteen_can_show_post_thumbnail() ) : ?>
[32] Fix | Delete
<div class="site-featured-image">
[33] Fix | Delete
<?php
[34] Fix | Delete
twentynineteen_post_thumbnail();
[35] Fix | Delete
the_post();
[36] Fix | Delete
$discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null;
[37] Fix | Delete
[38] Fix | Delete
$classes = 'entry-header';
[39] Fix | Delete
if ( ! empty( $discussion ) && absint( $discussion->responses ) > 0 ) {
[40] Fix | Delete
$classes = 'entry-header has-discussion';
[41] Fix | Delete
}
[42] Fix | Delete
?>
[43] Fix | Delete
<div class="<?php echo $classes; ?>">
[44] Fix | Delete
<?php get_template_part( 'template-parts/header/entry', 'header' ); ?>
[45] Fix | Delete
</div><!-- .entry-header -->
[46] Fix | Delete
<?php rewind_posts(); ?>
[47] Fix | Delete
</div>
[48] Fix | Delete
<?php endif; ?>
[49] Fix | Delete
</header><!-- #masthead -->
[50] Fix | Delete
[51] Fix | Delete
<div id="content" class="site-content">
[52] Fix | Delete
[53] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function