[wp-hackers] How to remove rel tags from Twenty Ten
Mike Little
wordpress at zed1.com
Mon Nov 21 12:20:06 UTC 2011
On 21 November 2011 03:50, Diana K. Cury <dianakac at gmail.com> wrote:
> Again, I have some issues dealing with schema.org and microdata with a
> Twenty Ten child theme, is there some way to remove some tags without
> creating an old fashioned full comments.php?!
>
> When I test a post type page in Google Webmaster tool, everything works
> fine, but if theres any comment, I get the author comment data (vcard)
> which I don´t want :(
>
> I think is a better ask: how do I remove comment author' vcard?!
>
>
In TwentyTen, the comment author vcard is output by the function
twentyten_comment() in functions.php. You can override that in your child
theme.
Simple copy the function into your child theme's functions.php and adjust
it to suit your requirements.
MIke
--
Mike Little
http://zed1.com/
More information about the wp-hackers
mailing list