Community Forums › Forums › Archived Forums › General Discussion › Magazine Pro Schema Markup Warnings
Tagged: Magazine Pro
- This topic has 14 replies, 3 voices, and was last updated 8 years ago by MauroGM.
-
AuthorPosts
-
April 12, 2016 at 3:47 pm #183468MauroGMMember
Hi, i buy magazine pro child theme, but in https://developers.google.com/structured-data/testing-tool/ i have warnings about all comments and comments reply, how can fixed??
This bug only appears in single post with comments and comments reply.
Thanks for you support.
https://getmovil.com/aplicaciones/instalar-google-play-store-android/April 12, 2016 at 4:46 pm #183476ChristophMemberHi,
your HTML markup has a bunch of errors.
https://validator.w3.org/nu/?doc=https%3A%2F%2Fgetmovil.com%2Faplicaciones%2Finstalar-google-play-store-android%2FThis is causing the structured data tool to return errors, too.
Fixing the HTML markup should fix the schema/structured data.
April 12, 2016 at 4:51 pm #183477Victor FontModeratorIf you click on the red comment word, you'll see a message that says the comment is not a property of person. Somehow your comments are being nested in the schema for the author box. Not quite sure how you would fix that.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?April 12, 2016 at 8:34 pm #183493MauroGMMemberHi, thanks for you answer, but i use the native comments from magazine pro genesis child theme, and in the demo with With Threaded Comments http://demo.studiopress.com/magazine/threaded-comments/ dont appears any warning abut schema markup, only in my blog
Best regards.
April 13, 2016 at 10:05 am #183529Victor FontModeratorIt's because there's something wrong with the markup in your author box. This is the code from your webpage:
<section class="author-box" itemprop="author" itemscope="itemscope" itemtype="https://schema.org/Person"> <div class="left"> <img pagespeed_lazy_src="https://getmovil.com/wp-content/uploads/2015/03/100x100xMauricioMacas.jpg.pagespeed.ic.Vg9A1mhRD5.jpg" width="100" height="100" alt="Mauricio Macas" class="avatar avatar-100 wp-user-avatar wp-user-avatar-100 alignnone photo" src="/pagespeed_static/1.JiBnMqyl6S.gif" onload="pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);"/> </div> <div class="right"> <h3 class="author-box-title"> Autor: <span itemprop="name">Mauricio Macas</span></h3> <div class="author-box-content" itemprop="description"> <p>Soy un fanático de la Tecnología Móvil, Blogger y Programador Freelance de Aplicaciones Android. Cuento con amplia experiencia en el mundo de la programación con Android: Root, UnRoot, Roms, Apps, etc, con todas las ganas de ayudar en la forma que me sea posible.</p> </div> <div class="author-social"> <a href="https://www.facebook.com/GetMovil" class="external" rel="nofollow" target="_blank"><span class="fa fa-facebook"></span></a> <a href="https://twitter.com/GetMovil" class="external" rel="nofollow" target="_blank"><span class="fa fa-twitter"></span></a> <a href="https://plus.google.com/+MauricioMacas/posts" class="external" rel="nofollow" target="_blank"><span class="fa fa-google-plus"></span></a> <a href="https://www.linkedin.com/in/mauriciomacas" class="external" rel="nofollow" target="_blank"><span class="fa fa-linkedin"></span></a> </div> </section>
The div with class="right" is not closed.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?April 13, 2016 at 10:08 am #183531Victor FontModeratorYou have an unclosed div in the author box markup. the div with class="right" needs to be closed.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?April 13, 2016 at 12:24 pm #183550MauroGMMemberHi, div right is already closed the code sourve is:
//* Customize the author box add_filter( 'genesis_author_box', 'gm_author_box', 10, 6 ); function gm_author_box( $output, $context, $pattern, $gravatar, $title, $description ) { $output = ''; $output .= '<section class="author-box" itemprop="author" itemscope="itemscope" itemtype="https://schema.org/Person">'; $output .= '<div class="left">'; $output .= get_avatar( get_the_author_meta( 'email' ), 100 ); $output .= '</div>'; $output .= '<div class="right">'; $name = get_the_author(); $title = get_the_author_meta( 'title' ); if( !empty( $title ) ) $name .= ', ' . $title; $output .= '<h3 class="author-box-title"> Autor: <span itemprop="name">' . $name . '</span></h3>'; $output .= '<div class="author-box-content" itemprop="description"><p>' . get_the_author_meta( 'description' ) . '</p></div>'; $output .= '<div class="author-social">'; if( get_the_author_meta( 'facebook' ) ) $output .= '<a href="' . esc_url( get_the_author_meta( 'facebook' ) ) . '"><span class="fa fa-facebook"></span></a> '; if( get_the_author_meta( 'twitter' ) ) $output .= '<a href="' . esc_url( get_the_author_meta( 'twitter' ) ) . '"><span class="fa fa-twitter"></span></a> '; if( get_the_author_meta( 'googleplus' ) ) $output .= '<a href="' . esc_url( get_the_author_meta( 'googleplus' ) ) . '"><span class="fa fa-google-plus"></span></a> '; if( get_the_author_meta( 'linkedin' ) ) $output .= '<a href="' . esc_url( get_the_author_meta( 'linkedin' ) ) . '"><span class="fa fa-linkedin"></span></a> '; $output .= '</div></section>'; //****end right div****// return $output; }
And html code:
<section class="author-box" itemprop="author" itemscope="itemscope" itemtype="https://schema.org/Person"> <div class="left"> <img width="100" height="100" alt="Eddy Pineda" class="avatar avatar-100 wp-user-avatar wp-user-avatar-100 alignnone photo" pagespeed_url_hash="3239239887" src="https://getmovil.com/wp-content/uploads/2015/03/100x100xEddy-Pineda.jpg.pagespeed.ic.jT9Apg_iPM.webp"> </div> //***left div ***// <div class="right"> <h3 class="author-box-title"> Autor: <span itemprop="name">Eddy Pineda</span></h3> <div class="author-box-content" itemprop="description"> <p>Soy de Guatemala City, y me especializo en dispositivos móviles, sobre todo smartphones y Tablets con Android, en las Actualizaciones mas recientes, Roms, Mods, Root y Liberaciones , y entre otros dispositivos Android.</p> </div> //***author-box-centent *****// <div class="author-social"> <a href="https://facebook.com/getmovil" class="external" rel="nofollow" target="_blank"> <span class="fa fa-facebook"></span></a> <a href="https://www.twitter.com/eaph02" class="external" rel="nofollow" target="_blank"> <span class="fa fa-twitter"></span></a> <a href="https://plus.google.com/+EddyPineda" class="external" rel="nofollow" target="_blank"> <span class="fa fa-google-plus"></span></a> <a href="https://www.linkedin.com/in/eddypineda" class="external" rel="nofollow" target="_blank"> <span class="fa fa-linkedin"></span></a> </div> //**** author-social ***/// </div>//**** right div ****// </section>
Thanks for you great support.`
April 13, 2016 at 12:49 pm #183556MauroGMMemberHi, div class right is already closed
Thanks for you great support.
April 13, 2016 at 3:47 pm #183565Victor FontModeratorThis is the code I just copied from your source code. Div class="right" is not closed.
<section class="author-box" itemprop="author" itemscope="itemscope" itemtype="https://schema.org/Person"> <div class="left"> <img pagespeed_lazy_src="https://getmovil.com/wp-content/uploads/2015/03/100x100xMauricioMacas.jpg.pagespeed.ic.Vg9A1mhRD5.jpg" width="100" height="100" alt="Mauricio Macas" class="avatar avatar-100 wp-user-avatar wp-user-avatar-100 alignnone photo" src="/pagespeed_static/1.JiBnMqyl6S.gif" onload="pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);"/> </div> <div class="right"> <h3 class="author-box-title"> Autor: <span itemprop="name">Mauricio Macas</span></h3> <div class="author-box-content" itemprop="description"> <p>Soy un fanático de la Tecnología Móvil, Blogger y Programador Freelance de Aplicaciones Android. Cuento con amplia experiencia en el mundo de la programación con Android: Root, UnRoot, Roms, Apps, etc, con todas las ganas de ayudar en la forma que me sea posible.</p> </div> <div class="author-social"> <a href="https://www.facebook.com/GetMovil" class="external" rel="nofollow" target="_blank"><span class="fa fa-facebook"></span></a> <a href="https://twitter.com/GetMovil" class="external" rel="nofollow" target="_blank"><span class="fa fa-twitter"></span></a> <a href="https://plus.google.com/+MauricioMacas/posts" class="external" rel="nofollow" target="_blank"><span class="fa fa-google-plus"></span></a> <a href="https://www.linkedin.com/in/mauriciomacas" class="external" rel="nofollow" target="_blank"><span class="fa fa-linkedin"></span></a> </div> </section>
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?April 13, 2016 at 3:49 pm #183566Victor FontModeratorThis is the code I just copied from your source. Div class right is not closed. (I removed the links because you can only have 2 in a post:
<section class="author-box" itemprop="author" itemscope="itemscope" itemtype="https://schema.org/Person"> <div class="left"> <img width="100" height="100" alt="Mauricio Macas" src="/pagespeed_static/1.JiBnMqyl6S.gif" /> </div> <div class="right"> <h3 class="author-box-title"> Autor: <span itemprop="name">Mauricio Macas</span></h3> <div class="author-box-content" itemprop="description"> <p>Soy un fanático de la Tecnología Móvil, Blogger y Programador Freelance de Aplicaciones Android. Cuento con amplia experiencia en el mundo de la programación con Android: Root, UnRoot, Roms, Apps, etc, con todas las ganas de ayudar en la forma que me sea posible.</p> </div> <div class="author-social"> Link Link Link Link </div> </section>
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?April 14, 2016 at 11:28 am #183609MauroGMMemberHi, Thanks for you great support, i fixed the comments schema markup, one last question, about hcards in the demo appears two hcard and in my blog dont appears any hcard: https://developers.google.com/structured-data/testing-tool/ demo: http://demo.studiopress.com/magazine/threaded-comments/ and my blog https://getmovil.com/aplicaciones/instalar-google-play-store-android/
Thank U.
April 14, 2016 at 11:31 am #183612MauroGMMemberHi, Thanks for you great support, i fixed the comments schema markup, one last question, about hcards in the demo appears two hcard and in my blog dont appears any hcard.
Any Ideas??
Thank U.
April 14, 2016 at 12:51 pm #183625Victor FontModeratorYou need to create your own hCards. They're not created automatically. http://microformats.org/code/hcard/creator.html
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?April 14, 2016 at 1:29 pm #183627MauroGMMemberThanks for you great support.
Best regards.
April 15, 2016 at 8:18 am #183554MauroGMMemberHi, right div is already closed:
HTML code source:
<section class="author-box" itemprop="author" itemscope="itemscope" itemtype="https://schema.org/Person">
<div class="left">
</div> //***left div ***//
<div class="right">
<h3 class="author-box-title"> Autor: <span itemprop="name">Eddy Pineda</span></h3>
<div class="author-box-content" itemprop="description">
<p>Soy de Guatemala City, y me especializo en dispositivos móviles, sobre todo smartphones y Tablets con Android, en las Actualizaciones mas recientes, Roms, Mods, Root y Liberaciones , y entre otros dispositivos Android.</p>
</div> //***author-box-centent *****//
<div class="author-social">
<span class="fa fa-facebook"></span>
<span class="fa fa-twitter"></span>
<span class="fa fa-google-plus"></span>
<span class="fa fa-linkedin"></span>
</div> //**** author-social ***///
</div>//**** right div ****//
</section>PHP Code in functions.php
//* Customize the author box
add_filter( 'genesis_author_box', 'gm_author_box', 10, 6 );
function gm_author_box( $output, $context, $pattern, $gravatar, $title, $description ) {$output = '';
$output .= '<section class="author-box" itemprop="author" itemscope="itemscope" itemtype="https://schema.org/Person">';
$output .= '<div class="left">';
$output .= get_avatar( get_the_author_meta( 'email' ), 100 );
$output .= '</div>';
$output .= '<div class="right">';
$name = get_the_author();
$title = get_the_author_meta( 'title' );
if( !empty( $title ) )
$name .= ', ' . $title;$output .= '<h3 class="author-box-title"> Autor: <span itemprop="name">' . $name . '</span></h3>';
$output .= '<div class="author-box-content" itemprop="description"><p>' . get_the_author_meta( 'description' ) . '</p></div>';$output .= '<div class="author-social">';
if( get_the_author_meta( 'facebook' ) )
$output .= '<span class="fa fa-facebook"></span> ';
if( get_the_author_meta( 'twitter' ) )
$output .= '<span class="fa fa-twitter"></span> ';
if( get_the_author_meta( 'googleplus' ) )
$output .= '<span class="fa fa-google-plus"></span> ';
if( get_the_author_meta( 'linkedin' ) )
$output .= '<span class="fa fa-linkedin"></span> ';
$output .= '</div>**//end right div**//</section>';return $output;
}Thanks for you great support.
-
AuthorPosts
- The topic ‘Magazine Pro Schema Markup Warnings’ is closed to new replies.