- This topic has 1 reply, 2 voices, and was last updated 8 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › structured data problem
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?
You can download all in one schema and solve it.
Regards,
Shri
Studio WordPress Themes The best collection of studio WordPress themes for a wide array of digital studios and agencies These studio WordPress themes can be […]
Skin Care WordPress Themes The following article narrates about the Skin Care WordPress Themes for creating a Beauty Salon, Spa or any Skin care related […]
Magazine Style WordPress Themes Are you looking for the best magazine style WordPress themes? If yes, then this post is for you. In this post, […]