Hi @lolka111333
1. For this you need to create child theme.Reference Here forChild theme
2. Now go to main theme’s folder -> template-parts -> content.php file copy and paste that file in child theme’s folder.
3. Now you need to edit that particular file in child theme’s folder.
4. In that file copy and paste below code:
<?php
/**
* Template part for displaying posts.
*
* @link https://codex.www.ads-software.com/Template_Hierarchy
*
* @package BlogSixteen
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php if ( 'post' === get_post_type() ) : ?>
<div class="entry-meta">
<?php blogsixteen_posted_on(); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
<div id="featured-image">
<?php if ( has_post_thumbnail() ) {
the_post_thumbnail('medium');
} ?>
</div>
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php
the_excerpt( sprintf(
/* translators: %s: Name of current post. */
wp_kses( __( 'Continue reading %s <span class="meta-nav">→</span>', 'blogsixteen' ), array( 'span' => array( 'class' => array() ) ) ),
the_title( '<span class="screen-reader-text">"', '"</span>', false )
) );
?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'blogsixteen' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
</article><!-- #post-## -->
5.Now activate child theme.
Note: Please customize files of child theme, so your changes will not overwrite on theme update.
Thank You!!