- This topic has 1 reply, 2 voices, and was last updated 9 years, 2 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
WordPress CRM Plugins For those who are looking for the best WordPress CRM plugins to boost their businesses online, we have the needed list and […]
WordPress Form Builder Plugins Building a website without forms is like opening a store without doors. You need ways for visitors to contact you, sign […]
Every WordPress website relies on a MySQL database to store everything from your content and user information to site settings and plugin configurations. Yet many […]