Edit File by line
/home/barbar84/public_h.../wp-conte.../themes/twentytw.../template.../content
File: content.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template part for displaying posts
[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_Twenty_One
[7] Fix | Delete
* @since Twenty Twenty-One 1.0
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
?>
[11] Fix | Delete
[12] Fix | Delete
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
[13] Fix | Delete
<header class="entry-header">
[14] Fix | Delete
<?php if ( is_singular() ) : ?>
[15] Fix | Delete
<?php the_title( '<h1 class="entry-title default-max-width">', '</h1>' ); ?>
[16] Fix | Delete
<?php else : ?>
[17] Fix | Delete
<?php the_title( sprintf( '<h2 class="entry-title default-max-width"><a href="%s">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
[18] Fix | Delete
<?php endif; ?>
[19] Fix | Delete
[20] Fix | Delete
<?php twenty_twenty_one_post_thumbnail(); ?>
[21] Fix | Delete
</header><!-- .entry-header -->
[22] Fix | Delete
[23] Fix | Delete
<div class="entry-content">
[24] Fix | Delete
<?php
[25] Fix | Delete
the_content(
[26] Fix | Delete
twenty_twenty_one_continue_reading_text()
[27] Fix | Delete
);
[28] Fix | Delete
[29] Fix | Delete
wp_link_pages(
[30] Fix | Delete
array(
[31] Fix | Delete
'before' => '<nav class="page-links" aria-label="' . esc_attr__( 'Page', 'twentytwentyone' ) . '">',
[32] Fix | Delete
'after' => '</nav>',
[33] Fix | Delete
/* translators: %: page number. */
[34] Fix | Delete
'pagelink' => esc_html__( 'Page %', 'twentytwentyone' ),
[35] Fix | Delete
)
[36] Fix | Delete
);
[37] Fix | Delete
[38] Fix | Delete
?>
[39] Fix | Delete
</div><!-- .entry-content -->
[40] Fix | Delete
[41] Fix | Delete
<footer class="entry-footer default-max-width">
[42] Fix | Delete
<?php twenty_twenty_one_entry_meta_footer(); ?>
[43] Fix | Delete
</footer><!-- .entry-footer -->
[44] Fix | Delete
</article><!-- #post-<?php the_ID(); ?> -->
[45] Fix | Delete
[46] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function