• I am getting google webmaster errors saying all the pages and posts on my website, offthepathadventures.com are missing the update and author.

    I have tried searching and it seems most fixes involve the single.php file but mine does not seem to have any of the coding that others do. Can someone point me in the right direction to fix this?

    Here is my single.php file…

    <?php get_header(); ?>
    
    	<div id="primary" class="content-area">
    		<main id="main" class="site-main" role="main" <?php hybrid_attr( 'content' ); ?>>
    
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php get_template_part( 'content', 'single' ); ?>
    
    				<?php bulan_post_author(); // Display the author box. ?>
    
    				<?php bulan_related_posts(); // Display the related posts. ?>
    
    				<?php
    					// If comments are open or we have at least one comment, load up the comment template
    					if ( comments_open() || '0' != get_comments_number() ) :
    						comments_template();
    					endif;
    				?>
    
    				<?php get_template_part( 'loop', 'nav' ); // Loads the loop-nav.php template  ?>
    
    			<?php endwhile; // end of the loop. ?>
    
    		</main><!-- #main -->
    	</div><!-- #primary -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Structured Data Error Missing Author and Update’ is closed to new replies.