Edit File by line
/home/barbar84/public_h.../wp-conte.../themes/twentyni...
File: index.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* The main template file
[2] Fix | Delete
*
[3] Fix | Delete
* This is the most generic template file in a WordPress theme
[4] Fix | Delete
* and one of the two required files for a theme (the other being style.css).
[5] Fix | Delete
* It is used to display a page when nothing more specific matches a query.
[6] Fix | Delete
* E.g., it puts together the home page when no home.php file exists.
[7] Fix | Delete
*
[8] Fix | Delete
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
[9] Fix | Delete
*
[10] Fix | Delete
* @package WordPress
[11] Fix | Delete
* @subpackage Twenty_Nineteen
[12] Fix | Delete
* @since Twenty Nineteen 1.0
[13] Fix | Delete
*/
[14] Fix | Delete
[15] Fix | Delete
get_header();
[16] Fix | Delete
?>
[17] Fix | Delete
[18] Fix | Delete
<div id="primary" class="content-area">
[19] Fix | Delete
<main id="main" class="site-main">
[20] Fix | Delete
[21] Fix | Delete
<?php
[22] Fix | Delete
if ( have_posts() ) {
[23] Fix | Delete
[24] Fix | Delete
// Load posts loop.
[25] Fix | Delete
while ( have_posts() ) {
[26] Fix | Delete
the_post();
[27] Fix | Delete
get_template_part( 'template-parts/content/content' );
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
// Previous/next page navigation.
[31] Fix | Delete
twentynineteen_the_posts_navigation();
[32] Fix | Delete
[33] Fix | Delete
} else {
[34] Fix | Delete
[35] Fix | Delete
// If no content, include the "No posts found" template.
[36] Fix | Delete
get_template_part( 'template-parts/content/content', 'none' );
[37] Fix | Delete
[38] Fix | Delete
}
[39] Fix | Delete
?>
[40] Fix | Delete
[41] Fix | Delete
</main><!-- .site-main -->
[42] Fix | Delete
</div><!-- .content-area -->
[43] Fix | Delete
[44] Fix | Delete
<?php
[45] Fix | Delete
get_footer();
[46] Fix | Delete
[47] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function