Help with hatom errors in Google Search console

Hello, I’ve problem with posts hatom errors, I’ve fix this in pages but in posts I don’t know how.
My site is: www.transformatory-kazex.eu
and my single.php file looks that:

<?php
/**
 * The template for displaying all single posts.
 *
 * @package Sydney
 */

get_header(); ?>

	<?php if (get_theme_mod('fullwidth_single')) { //Check if the post needs to be full width
		$fullwidth = 'fullwidth';
	} else {
		$fullwidth = '';
	} ?>

	<div id="primary" class="content-area col-md-9 <?php echo $fullwidth; ?>">
		<main id="main" class="post-wrap" role="main">

		<?php while ( have_posts() ) : the_post(); ?>

			<?php get_template_part( 'content', 'single' ); ?>

			<?php sydney_post_navigation(); ?>

			<?php
				// If comments are open or we have at least one comment, load up the comment template
				if ( comments_open() || get_comments_number() ) :
					comments_template();
				endif;
			?>

		<?php endwhile; // end of the loop. ?>

		</main><!-- #main -->
	</div><!-- #primary -->

<?php if ( get_theme_mod('fullwidth_single', 0) != 1 ) {
	get_sidebar();
} ?>
<?php get_footer(); ?>

please help.

Hello Kazex,

Please check this tutorial, but note that you have to override modified .php files in a child theme to avoid losing your modifications after theme update.

Also you might want to install What The File plugin to find .php files that you should modify.

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Thanks for answer but that tutorial doesn’t help. I don’t have loop.php file and my single.php doesn’t have lines:

<h1 class="entry-title"><?php the_title(); ?></h1>

<span class="date updated"><?php the_time(); ?></span>
<time datetime="<?php the_time('o-m-d') ?>" class="post-date" pubdate><?php the_time(apply_filters('themify_loop_date', 'M j, Y')) ?></time>

or something similar,

Regards,

Hello Kazex,

If you want to modify single post title, then you should edit content-single.php file. Date and author code is located in inc/template-tags.php file.

I hope that it will help you.

Kind Regards, Roman.

Thanks, I found it :slight_smile:
Regards

You are welcome Kazex,

It’s great that you found it :slight_smile:

Kind Regards, Roman.