Title: Microdata
Last modified: August 30, 2016

---

# Microdata

 *  Resolved [jcmdirectory](https://wordpress.org/support/users/jcmdirectory/)
 * (@jcmdirectory)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/microdata-1/)
 * hello
    If I check the validity of my page on Structured Data Testing Tool I have
   an error in WebPage:
 *  **Hand class = “content-neck collar xs-12-sm-8” id = “content” role = “main”
   itemprop = “mainContentOfPage” itemscope = “itemscope” itemtype = “[http://schema.org/Blog](http://schema.org/Blog).**
 * This error says: **We do not recognize the articleSection property for a WebPage
   object type.**
 * This is annoying since it is the part that encompasses the whole article.
    Would
   you have an idea or a track to correct this problem? [my site ](http://edithetsacuisine.com)
   thank you Best Regards

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [jcmdirectory](https://wordpress.org/support/users/jcmdirectory/)
 * (@jcmdirectory)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/microdata-1/#post-6281725)
 * After some research I think I found the solution by replacing:
 * **mainEntityOfPage **
 * I have no error.
    To be continued …..
 *  [sumowebsite](https://wordpress.org/support/users/sumowebsite/)
 * (@sumowebsite)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/microdata-1/#post-6281744)
 * Cool! Would you like to share your resolution here? Thanks
 *  Thread Starter [jcmdirectory](https://wordpress.org/support/users/jcmdirectory/)
 * (@jcmdirectory)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/microdata-1/#post-6281763)
 * We must follow this path: Theme (omega) / lib / functions then the worker attr.
   php file and change the game
 *     ```
       function omega_attr_content( $attr ) {
   
       	$attr['id']       = 'content';
       	$attr['role']     = 'main';
       	$attr['itemprop'] = 'mainEntityOfPage';
       ```
   
 * that’s what I did.
    Best regards
 *  [themehall](https://wordpress.org/support/users/themehall/)
 * (@themehall)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/microdata-1/#post-6281905)
 * [@jcmdirectory](https://wordpress.org/support/users/jcmdirectory/), thank you
   for your report. Seems the structure has been changed slightly. We are updating
   [Omega theme](https://themehall.com/omega) (v 1.2.2) schema to satisfy The Structured
   Data Testing Tool.
 *  Thread Starter [jcmdirectory](https://wordpress.org/support/users/jcmdirectory/)
 * (@jcmdirectory)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/microdata-1/#post-6281911)
 * Hello,
    the error is still present Data Testing Tool said:
 * **Blog is not a valid type known target for mainContentOfPage property.**
 * With: **mainEntityOfPage **error disappears ….
 * I also modified the comments or there was an error as
 * Best Regards
 *  [themehall](https://wordpress.org/support/users/themehall/)
 * (@themehall)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/microdata-1/#post-6281913)
 * Are you running [Omega theme version 1.2.2](https://themehall.com/omega)?
    This
   version is not available for public yet (being reviewed), but you can download
   from the link above. Please give a try an let me know if there is an error. Thanks.
 *  Thread Starter [jcmdirectory](https://wordpress.org/support/users/jcmdirectory/)
 * (@jcmdirectory)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/microdata-1/#post-6281914)
 * With this release, I have no error unless the comments:
 * **UserComments is not a valid type known target for how the property.**
 * I always look
    Best regards
 *  [themehall](https://wordpress.org/support/users/themehall/)
 * (@themehall)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/microdata-1/#post-6281932)
 * [New version of Omega theme](https://themehall.com/omega) has been uploaded for
   review. That should fix the issue. Let us know if you still find schema issue.
   Thanks
 *  Thread Starter [jcmdirectory](https://wordpress.org/support/users/jcmdirectory/)
 * (@jcmdirectory)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/microdata-1/#post-6281933)
 * There’s no error, bravo.
    It still remains one warning on the tag:** SiteNavigationElement**
   encompassing menus. Google says: **The node is empty. Check that this is intentional
   and delete it if necessary.**
 * Otherwise the rest is green …….

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Microdata’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/omega/1.3.0/screenshot.png)
 * Omega
 * [Support Threads](https://wordpress.org/support/theme/omega/)
 * [Active Topics](https://wordpress.org/support/theme/omega/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/omega/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/omega/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [jcmdirectory](https://wordpress.org/support/users/jcmdirectory/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/microdata-1/#post-6281933)
 * Status: resolved