nazanin5838 0 ارسال شده در آذر 93 گزارش بازنشر ارسال شده در آذر 93 سلامنمیدونم چرا هر کاری میکنم گوگل نویسنده و زمان ابدیت شدن سایت و عنوان رو شناسایی نمیکنه منظورم این ایرو ها hatom-entry: 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" در قسمت Structured Data هستند این کد single.php هست اگه میشه بگین چیکارش کنم یا درست شدش رو برام بنویسین ممنون میشم هر کاری توی گوگل گفته بودن کردم نشد<?php get_header(); ?> <?php while ( have_posts() ) : the_post(); ?> <div class="container review-template"> <section id="content-wrapper" class="page">[/size][/font][font=arial, sans-serif, arial, sans-serif][size=4] <section class="article-head"> <h1 class="title single-title entry-title"><?php the_title(); ?></h1><!-- end .article-title -->[/size][/font][font=arial, sans-serif, arial, sans-serif][size=4] <div class="article-meta"> <div class="article-author"> <i class="icon-user"></i> <?php the_author_posts_link(); ?> </div><!-- end .article-author --><div class="article-date date updated"> <i class="icon-calendar"></i> <p><?php the_time(get_option('date_format')); ?></p> </div><!-- end .article-date --><?php the_time('j F,Y'); ?>[/size][/font][font=arial, sans-serif, arial, sans-serif][size=4] [/size][/font][font=arial, sans-serif, arial, sans-serif][size=4] <div class="article-comments"> <i class="icon-comments"></i> <a href="<?php comments_link(); ?>"><?php comments_number( __('0 Comments','cwp'), __('1 Comment','cwp'), __('% Comments','cwp') ); ?></a> </div><!-- end .article-comments --> </div><!-- end .article-meta --> </section><!-- end .article-head -->[/size][/font][font=arial, sans-serif, arial, sans-serif][size=4] <article class="clearfix"> <?php the_content(); ?> <?php $wlp_args = array( 'before' => '<nav><ul class="page-numbers">', 'after' => '</ul></nav>', 'link_before' => '<li><span class="page-numbers">', 'link_after' => '</span></li>', 'next_or_number' => 'number', 'separator' => ' ', 'nextpagelink' => __( 'Next', 'cwp' ), 'previouspagelink' => __( 'Previous', 'cwp' ), 'pagelink' => '%', 'echo' => 1 ); ?> <?php wp_link_pages($wlp_args); ?>[/size][/font][font=arial, sans-serif, arial, sans-serif][size=4] [/size][/font][font=arial, sans-serif, arial, sans-serif][size=4] </article> [/size][/font][font=arial, sans-serif, arial, sans-serif][size=4] <?php edit_post_link('Edit Article', '<p class="edit-article">', '</p>'); ?> <article>[/size][/font][font=arial, sans-serif, arial, sans-serif][size=4] <div id="author-bio" class="article-section"> <div class="sec-top"> <h2><i class="icon-user"></i> <?php _e("About the Author", "cwp"); ?></h2> </div><!-- end .wu-top -->[/size][/font][font=arial, sans-serif, arial, sans-serif][size=4] <div id="author-info" class="vcard"> <?php echo get_avatar( get_the_author_meta('ID'), $size = '100', $default = '' ); ?> <div class="author-details"> <h3 class="fn n"><?php the_author(); ?></h3> <p><?php echo the_author_meta('description'); ?></p> </div><!-- end .author-details --> </div><!-- end .author-info --> </div><!-- end #author-bio -->[/size][/font][font=arial, sans-serif, arial, sans-serif][size=4] <?php comments_template( '', true ); ?> <?php endwhile; // end of the loop. ?> </article> </section><!-- end #content-wrapper--> <?php get_sidebar(); ?> </div>[/size][/font][font=arial, sans-serif, arial, sans-serif][size=4]<?php get_footer(); ?> نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .