The other day when I checked with Google Structured Data Test Tool, I came across these two problems:
a value for the publisher field is required
a value for the author field is required.
For this post I am going to share with you a workable tip how to fix a value for the publisher field is required issue.
How To Fix A Value For The Publisher Field Is Required
It is very easy to overcome this structured data markup problem.
This is what you need to do:
1. Log into your Blogger account.
2. Click on "Theme".
3. Click on "Edit HTML"button.
4. Look for this code:
<data:post.body/>
Note: Before you paste the block of code below onto your template, make sure you change the two lines (https://your-blog.blogspot.com) highlighted in white.They must be replaced with your actual Blogger URL.
<div itemprop='publisher' itemscope='itemscope' itemtype='https://schema.org/Organization'>
<div itemprop='logo' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<img style='display:none;' src='https://your-blog.blogspot.com'/>
<meta itemprop='url' content='https://your-blog.blogspot.com'/>
<meta itemprop='width' content='600'/>
<meta itemprop='height' content='60'/>
</div>
<meta itemprop='name' expr:content='data:blog.title'/>
</div>
5. Now you paste this block of code BELOW <data:post.body/>.<div itemprop='logo' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<img style='display:none;' src='https://your-blog.blogspot.com'/>
<meta itemprop='url' content='https://your-blog.blogspot.com'/>
<meta itemprop='width' content='600'/>
<meta itemprop='height' content='60'/>
</div>
<meta itemprop='name' expr:content='data:blog.title'/>
</div>
6. Now it should look like this:
<div itemprop='publisher' itemscope='itemscope' itemtype='https://schema.org/Organization'>
<div itemprop='logo' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<img style='display:none;' src='https://your-blog.blogspot.com'/>
<meta itemprop='url' content='https://your-blog.blogspot.com'/>
<meta itemprop='width' content='600'/>
<meta itemprop='height' content='60'/>
</div>
<meta itemprop='name' expr:content='data:blog.title'/>
</div>
<data:post.body/>
Note: The <data:post.body/> tag could appear TWICE in your template. You must paste the above code under both of them.<div itemprop='logo' itemscope='itemscope' itemtype='https://schema.org/ImageObject'>
<img style='display:none;' src='https://your-blog.blogspot.com'/>
<meta itemprop='url' content='https://your-blog.blogspot.com'/>
<meta itemprop='width' content='600'/>
<meta itemprop='height' content='60'/>
</div>
<meta itemprop='name' expr:content='data:blog.title'/>
</div>
<data:post.body/>
7. Then click on the orange color "Save theme" button.
8. That's all.
After that, go back to Google Structured Data Testing Tool and click on "NEW TEST" button.
The error in red "a value for the publisher field is required" shouldn't be there anymore.
Related Tips:
* How To Fix DatePublished Missing And Required Error For Blogger.
* How To Fix A Value For The Author Field Is Required Error For Blogger
* How to Add Structured Data Markup To Blogger Template
* How To Fix Property Image_url Not Recognized By Google Error
* How To Fix Property BlogId Not Recognized By Google Error