badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: Error: Missing required field "updated" – Google Webmaster

#9459
Sanjip Shah
Participant

Hi,

Firstly, open this file content-extensions.php. This file is located inside theme folder->library folder->structure folder. Go to lines around 141. Find the following code

<span class="by-author"><?php _e( 'By', 'cleanretina' ); ?> <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php the_author(); ?></a></span>
<span class="date"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_the_time() ); ?>"><?php the_time( get_option( 'date_format' ) ); ?></a></span>

and replace with following

<span class="by-author vcard author"><span class="fn"><?php _e( 'By', 'cleanretina' ); ?> <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><?php the_author(); ?></a></span></span>
<span class="date updated"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_the_time() ); ?>"><?php the_time( get_option( 'date_format' ) ); ?></a></span>

Now, these lines of code also appears in other lines (for other functioning like single page, archives etc.). Go to other lines 330, 500, 616 and 737 within the same file and repeat the same. Checked your above code and it looks that you missed to add one closing </span> which may have caused the code to break. Hope this helps.