- 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
Let’s face it, sometimes all you really want to do is focus on publishing your content and promoting your business. The thought of taking on […]
Are you searching for the perfect website template to promote your ebook? This post lists the best WordPress themes designed for authors, writers, and digital […]
Industrial Company WordPress Themes Industrial Company WordPress theme and the templates suitable for industrial websites have been listed here which are really useful for such […]