Edit File by line
/home/barbar84/www/wp-conte.../themes/twentyni...
File: archive.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* The template for displaying archive pages
[2] Fix | Delete
*
[3] Fix | Delete
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
[4] Fix | Delete
*
[5] Fix | Delete
* @package WordPress
[6] Fix | Delete
* @subpackage Twenty_Nineteen
[7] Fix | Delete
* @since Twenty Nineteen 1.0
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
get_header();
[11] Fix | Delete
?>
[12] Fix | Delete
[13] Fix | Delete
<div id="primary" class="content-area">
[14] Fix | Delete
<main id="main" class="site-main">
[15] Fix | Delete
[16] Fix | Delete
<?php if ( have_posts() ) : ?>
[17] Fix | Delete
[18] Fix | Delete
<header class="page-header">
[19] Fix | Delete
<?php
[20] Fix | Delete
the_archive_title( '<h1 class="page-title">', '</h1>' );
[21] Fix | Delete
?>
[22] Fix | Delete
</header><!-- .page-header -->
[23] Fix | Delete
[24] Fix | Delete
<?php
[25] Fix | Delete
// Start the Loop.
[26] Fix | Delete
while ( have_posts() ) :
[27] Fix | Delete
the_post();
[28] Fix | Delete
[29] Fix | Delete
/*
[30] Fix | Delete
* Include the Post-Format-specific template for the content.
[31] Fix | Delete
* If you want to override this in a child theme, then include a file
[32] Fix | Delete
* called content-___.php (where ___ is the Post Format name) and that
[33] Fix | Delete
* will be used instead.
[34] Fix | Delete
*/
[35] Fix | Delete
get_template_part( 'template-parts/content/content', 'excerpt' );
[36] Fix | Delete
[37] Fix | Delete
// End the loop.
[38] Fix | Delete
endwhile;
[39] Fix | Delete
[40] Fix | Delete
// Previous/next page navigation.
[41] Fix | Delete
twentynineteen_the_posts_navigation();
[42] Fix | Delete
[43] Fix | Delete
// If no content, include the "No posts found" template.
[44] Fix | Delete
else :
[45] Fix | Delete
get_template_part( 'template-parts/content/content', 'none' );
[46] Fix | Delete
[47] Fix | Delete
endif;
[48] Fix | Delete
?>
[49] Fix | Delete
</main><!-- #main -->
[50] Fix | Delete
</div><!-- #primary -->
[51] Fix | Delete
[52] Fix | Delete
<?php
[53] Fix | Delete
get_footer();
[54] Fix | Delete
[55] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function