Title: Adding Meta Data Author and Updated
Last modified: August 22, 2016

---

# Adding Meta Data Author and Updated

 *  [stevestearns](https://wordpress.org/support/users/stevestearns/)
 * (@stevestearns)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/adding-meta-data-author-and-updated/)
 * The Google Webmaster Tool is indicating two errors under Structured Data, specifically
   missing **author** and **updated**. I contacted the theme author, but they have
   no immediate plans to add these attributes.
 * I tried adding the following to the child theme **header.php**, but had no success.
 *     ```
       <meta name="author" content="<?php $author = get_the_author(); ?>">
       <meta name="last-modified" content="<?php the_modified_date(Y-m-d); ?>">
       ```
   
 * Any thoughts on what I should be doing instead, since these don’t seem to work?
 * Site: [libertycommons.info](http://libertycommons.info)
 * Thank you.

The topic ‘Adding Meta Data Author and Updated’ is closed to new replies.

## Tags

 * [author](https://wordpress.org/support/topic-tag/author/)
 * [head](https://wordpress.org/support/topic-tag/head/)
 * [meta-data](https://wordpress.org/support/topic-tag/meta-data/)
 * [updated](https://wordpress.org/support/topic-tag/updated/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [stevestearns](https://wordpress.org/support/users/stevestearns/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/adding-meta-data-author-and-updated/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
