structured data problem

Home Forums All Other Themes structured data problem

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37482
    carlocarlo
    Member
    • Topics: 2
    • Replies: 2
    • Total: 4
    Member since: February 28, 2016

    Good Morning, in my google webmaster center i have structured data problem in single page, gallerycategory and photogallery.

    In single page i have solved adding this code :

    function add_mod_hatom_data($content) {
     $iso8601_date = get_the_time('c');
     $author = get_the_author();
     $title = get_the_title();
     if( is_single() || is_page() ) {
    $content .= '<div class="hatom-extra"><span class="entry-title">'.$title.'</span>
    ultima modifica: <span class="updated"> '.$iso8601_date.'</span> 
    da <span class="author vcard"><span class="fn">'.$author.'</span></span></div>';
     }
     return $content;
     }
    add_filter('the_content', 'add_mod_hatom_data');

    Now i can’t solved for galleryvategory and photogallery.

    Can you help me please?

    #37490
    Sonnal S SinhaSonnal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6964
    • Total: 6974
    Member since: June 12, 2013

    You can download all in one schema and solve it.

    Regards,
    Shri

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.