0WordPress的标志丰富网页摘要的代码为我古斯塔主题

I’ve previously covered theme edits for rich snippets for various themes including 奥秘 2, 奥秘 3, 论文 & 二十一 以及一些 通用说明. Below are details of the code for how to validate rich snippets in the Me Gusta by Cosmos theme.

To fix author­ship info on all pages…

1. add rel=“author” to the href tag on lines 572 and 871 of lib\php\post.class.php
2. add a link to google+ pro­file on line 44 of author.php

Fix other errors

1. add class=“vcard” to ul on line 571 and line 858 of lib\php\post.class.php
2. add fn to class of li on lines 572 and 871 of lib\php\post.class.php
3. 更换 <li class=“time”> on line 872 of lib\php\post.class.php with <li class=“time updated”><span class=“value-title” title=”<?PHP the_date(); ?>”></跨度>

These instructions are less detailed than previous guides. If you need more detail don’t hesitate to askdrop a comment below and I’ll provide additional details.

认为我们已经错过了什么? 让我们通过下面的评论知道. 如果您想订阅,请使用菜单上的订阅链接右上方. 您还可以通过使用下面的链接社会分享这与你的朋友. 干杯.

发表评论