• Resolved jcmdirectory

    (@jcmdirectory)


    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 = “https://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
    thank you
    Best Regards

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter jcmdirectory

    (@jcmdirectory)

    After some research I think I found the solution by replacing:

    mainEntityOfPage

    I have no error.
    To be continued …..

    Cool! Would you like to share your resolution here? Thanks

    Thread Starter jcmdirectory

    (@jcmdirectory)

    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

    @jcmdirectory, thank you for your report. Seems the structure has been changed slightly. We are updating Omega theme (v 1.2.2) schema to satisfy The Structured Data Testing Tool.

    Thread Starter jcmdirectory

    (@jcmdirectory)

    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

    Are you running Omega theme version 1.2.2?
    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

    (@jcmdirectory)

    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

    New version of Omega theme has been uploaded for review. That should fix the issue. Let us know if you still find schema issue. Thanks

    Thread Starter jcmdirectory

    (@jcmdirectory)

    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.