- This topic has 1 reply, 2 voices, and was last updated 7 years, 9 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
Are you looking for a simple and clean WordPress theme for your businesses? You are in the right place! Check out our list of WordPress […]
Text is a writer’s primary instrument, but it needs to be visually striking in order to draw readers in and encourage them to interact with […]
When it comes to making your website awesome, the design is key, and interactive WordPress themes are like the secret sauce that makes your site […]