Structured Data > hentry (markup: microformats.org) Error
Home › Forums › Free Theme Support › Asteria Lite › Structured Data > hentry (markup: microformats.org) Error
-
#159224
Munshi
On June 8, 2014 at 5:14 amAsteria is a great theme, I ever seen. I am using for http://uniquesoftbd.com/ that’s looking great!
Recently facing a Structured Data Error via Google Webmaster Tools. Please review screenshots:
1. https://dl.dropboxusercontent.com/u/9151893/Webmaster%20Tools%20%20%20Structured%20Data%20%20%20http%20%20%20uniquesoftbd.com%20.png
2. https://dl.dropboxusercontent.com/u/9151893/Webmaster%20Tools%20Structured%20Data%20uniquesoftbd.com%20.pngAction Already Taken
Changed author from user panel, Authorship from Google.I added Entry-Title on title, Updated Date on Date, also added Author code but has not been solved.
I added some plugins, but not solved.
Your little help will be a great help for me.
Best Regards
Munshi#159288On June 8, 2014 at 12:34 pmMunshi Please read this:
See if that solves the issue.
#163047
Jenny Lambert
On June 16, 2014 at 5:48 pmBonjour, hello
This is the following of the same issue i have as you Munshi.
I still have a fatal error 500 code when i add the solution offer in the post of the author template. Only the Entry-title was resolve.Do you find any solution ?
Error: Missing required field “updated”.
Error: Missing required hCard “author”.
http://www.jinnystudio.com/Merci,
#163735On June 17, 2014 at 7:24 pmJenny did you make those changes in author.php? you should make those changes in single.php
#164384
Jenny Lambert
On June 18, 2014 at 8:28 pmBonjour,
The post title field is ok but the vcard and time code come with error message again and again. I try to replace twice the code you give me. Then i got the 500 fatal error again.
Can we do this the simple way? This is the code of my page single.php. Just change de code please and i pass this in my template of Asteria. Merci ! 🙂
<?php global $asteria;?>
<?php get_header(); ?>
<!–Content–>
<div class=”fixed_site”>
<div class=”fixed_wrap singlefx”>
<div id=”content”>
<div class=”center”>
<div class=”content_wrap”>
<!–POST END–>
<div class=”single_wrap<?php if ( !is_active_sidebar( ‘sidebar’ ) ) { ?> no_sidebar<?php } ?>”>
<div class=”single_post”><?php if(have_posts()): ?><?php while(have_posts()): ?><?php the_post(); ?>
<div <?php post_class(); ?> id=”post-<?php the_ID(); ?>”>
<!–EDIT BUTTON START–>
<?php if ( is_user_logged_in() || is_admin() ) { ?>
<div class=”edit_wrap”>“>
<i title=”<?php _e(‘Edit This’,’asteria’); ?>” class=”fa-edit”></i>
</div>
<?php } ?>
<!–EDIT BUTTON END–><!–POST START–>
<div class=”single_post_content”>
<<h1 class=”postitle entry-title”><?php the_title(); ?></h1>
<!–POST INFO START–>
<?php if (!empty ($asteria[‘post_info_id’])) { ?>
<div class=”single_metainfo”>
<i class=”fa-calendar”></i><?php the_time( get_option(‘date_format’) ); ?>
<i class=”fa-user”></i><span class=”vcard author”><span class=”fn”><?php the_author(); ?></span></span>
<i class=”fa-comments”></i><?php if (!empty($post->post_password)) { ?>
<?php } else { ?><div class=”meta_comm”><?php comments_popup_link( __(‘0 Comment’, ‘asteria’), __(‘1 Comment’, ‘asteria’), __(‘% Comments’, ‘asteria’), ”, __(‘Off’ , ‘asteria’)); ?></div><?php } ?><i class=”fa-th-list”></i><div class=”catag_list”><?php the_category(‘, ‘); ?></div>
</div>
<?php } ?>
<!–POST INFO START–><!–POST CONTENT START–>
<div class=”thn_post_wrap”><?php the_content(); ?> </div>
<div style=”clear:both”></div>
<div class=”thn_post_wrap”><?php wp_link_pages(‘<p class=”pages”>‘.__(‘Pages:’).’ ‘, ‘</p>’, ‘number’); ?>
<!–POST CONTENT END–>
</div><!–POST FOOTER START–>
<div class=”post_foot”>
<div class=”post_meta”>
<?php if( has_tag() ) { ?><div class=”post_tag”><div class=”tag_list”><?php the_tags(‘<i class=”fa-tag”></i>’,’ ‘); ?></div></div><?php } ?>
</div>
</div>
<!–POST FOOTER END–></div>
<!–POST END–>
</div><?php endwhile ?>
<?php endif ?>
<!–SOCIAL SHARE POSTS START–>
<?php if (!empty ($asteria[‘social_single_id’])) { ?>
<?php get_template_part(‘share_this’);?>
<?php } ?>
<!–SOCIAL SHARE POSTS END–>
</div><!–NEXT AND PREVIOUS POSTS START–>
<?php if (!empty ($asteria[‘post_nextprev_id’])) { ?>
<div id=”ast_nextprev” class=”navigation”>
<?php $prevPost = get_previous_post(true); if($prevPost) {?>
<div class=”nav-box ast-prev”>
<?php $prevthumbnail = get_the_post_thumbnail($prevPost->ID, array(100,100) );?>
<?php previous_post_link(‘%link’,”$prevthumbnail Previous Post<br><span>%title</span>”, TRUE); ?>
<i class=”fa-angle-left”></i>
</div>
<?php }?>
<?php $nextPost = get_next_post(true); if($nextPost) { ?>
<div class=”nav-box ast-next”>
<?php $nextthumbnail = get_the_post_thumbnail($nextPost->ID, array(100,100) ); ?>
<?php next_post_link(‘%link’,”$nextthumbnail Next Post<br><span>%title</span>”, TRUE); ?>
<i class=”fa-angle-right”></i>
</div>
<?php }?>
</div>
<?php }?><!–NEXT AND PREVIOUS POSTS END–>
<!–RELATED POSTS START–>
<?php if (!empty ($asteria[‘post_related_id’])) { ?>
<?php get_template_part(‘related’); ?>
<?php }?>
<!–RELATED POSTS END–><!–COMMENT START: Calling the Comment Section. If you want to hide comments from your posts, remove the line below–>
<?php if (!empty ($asteria[‘post_comments_id’])) { ?>
<div class=”comments_template”>
<?php comments_template(”,true); ?>
</div>
<?php }?>
<!–COMMENT END–></div>
<!–SIDEBAR START–>
<?php if ( is_active_sidebar( ‘sidebar’ ) ) { ?><?php get_sidebar();?><?php } ?>
<!–SIDEBAR END–></div>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>#165383On June 20, 2014 at 12:43 pmreplace these 2 lines:
<i class="fa-calendar"></i><?php the_time( get_option('date_format') ); ?> <i class="fa-user"></i><span class="vcard author"><span class="fn"><?php the_author(); ?></span>
with these:
<!--DATE--> <i class="fa-calendar"></i><a class="comm_date post-date updated"><?php the_time( get_option('date_format') ); ?></a> <!--AUTHOR--> <i class="fa-user"></i><?php global $authordata; $post_author = "<a class='vcard author post-author' href=\"".get_author_posts_url( $authordata->ID, $authordata->user_nicename )."\"><span class='fn'>".get_the_author()."</span></a>\r\n"; echo $post_author; ?>
#358966
Nidhi
On October 26, 2014 at 8:54 amHi,
I am facing the same problem. I actually one theme and again get back to older one and did the same again.. two three time shifted two themes “older and new”, in 20 days. Now i found a huge drop in traffic, i also found errors on all my pages when i checked here http://www.google.com/webmasters/tools/richsnippets
Errors i found:
Error: At least one field must be set for HatomEntry.
Error: Missing required field “entry-title”.
Error: Missing required field “updated”.
Error: Missing required hCard “author”.Now i am back to my old theme, one thing i did is i minified various java and css links in the w3 cache plugin. does it also effect.
Please help me out with this. i am really confused what should i do.
#365880On October 30, 2014 at 9:15 pmdid you make this edit to your single.php file:
#510159
freewallpapers4u
On June 26, 2015 at 6:00 pmHello everyone.
Same error on my website. I try to solve this error but not find any success .Please give me a strong solution for this error.
Please Help meThanks,
freewallpapers4u Team
You must be logged in to reply to this topic.