外贸网站推广Google网站管理员工具提示Missing author,Missing entry-title,missing updated等结构化数据的解决
外贸网站推广现在做SEO,一般要用到Google网站管理员工具,你看到提示Missing author,Missing entry-title,missing updated等结构化数据的怎么解决呢。
- 解决Missing Entry-title,代码中改<h1><?php the_title(); ?></h1> 为 <h1 class=“entry-title”><?php the_title(); ?></h1>
- 解决Missing author,代码中改<?php the_author(); ?> 为
- 解决missing updated,代码中改<span ><?php the_time(‘Y-m-d’); ?></span> 为 <span class=”updated”><?php the_time(‘Y-m-d’); ?></span> 为 <span class=”author”><span class=”fn”><?php the_author(); ?></span></span>