Structured data error "articlebody" problem

Home Forums Omega Structured data error "articlebody" problem

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2743
    jojo
    Participant

    Hi, in the Google structured data testing tool,
    http://www.google.com/webmasters/tools/richsnippets
    i have seen that Google saw an error in the schema of omega theme.

    It says:
    Erreur : Page contains property “articlebody” which is not part of the schema.

    This issue can be fixed by going to /omega/lib/functions/attr.php and replacing
    the 2 lines:
    $attr[‘itemprop’] = ‘articleBody’;
    by
    $attr[‘itemprop’] = ‘text’;

    Background problem:
    It looks like articlebody is not a property for creativework schema
    http://schema.org/CreativeWork

    #2745
    jojo
    Participant

    i d like to say the issue is displayed for wordpress pages

    #2747
    jojo
    Participant

    to be more precise, running the google microformat testing data tool with omega demo website page, i get the following error

    Error : Page contains property “articlebody” which is not part of the schema.

    I forgot to say where the problem lies exactly in the file /omega/lib/functions/attr.php

    function omega_attr_entry_content( $attr ) {
    
    	$attr['class']    = 'entry-content';
    	$attr['itemprop'] = 'articleBody';
    
    	return $attr;
    }

    and it should be

    function omega_attr_entry_content( $attr ) {
    
    	$attr['class']    = 'entry-content';
    	$attr['itemprop'] = 'text';
    
    	return $attr;
    }
    #2777
    han
    Keymaster

    Thanks for reporting the issue. Will fix this in the next update.

Viewing 4 posts - 1 through 4 (of 4 total)

You must login to reply to this topic.