2012-11-27, 10:38 PM
So I started adding rich snippets to Community Plugins and unfortunately it required some code edits. I was hoping that I could keep it all in the templates, but some minor edits were needed.
Here is a link to how Google sees:
Showthread
Profile View
Code edits were needed :
- functions.php : to insert the itemprop="author" in the profile link functions since the templates output a formatted name so i could not wrap without the formating as well.
- functions_post.php : change from itemprop="articleBody" for the first post to itemprop="comment" for all replies
the rest was template edits for
- webpage type, breadcrumb and logo
- article type, author, body, date created and url
- comment type, author, text, date created and url
- person type, name, image, jobtitle (displaygroup), url
only my home page, profiles and showthread are done so far, but i am hopping to get other areas done soon.
so what this is shows me, is that v2.0 needs to get all html of the code and into templates only.....
Here is a link to how Google sees:
Showthread
Profile View
Code edits were needed :
- functions.php : to insert the itemprop="author" in the profile link functions since the templates output a formatted name so i could not wrap without the formating as well.
- functions_post.php : change from itemprop="articleBody" for the first post to itemprop="comment" for all replies
the rest was template edits for
- webpage type, breadcrumb and logo
- article type, author, body, date created and url
- comment type, author, text, date created and url
- person type, name, image, jobtitle (displaygroup), url
only my home page, profiles and showthread are done so far, but i am hopping to get other areas done soon.
so what this is shows me, is that v2.0 needs to get all html of the code and into templates only.....
Lost interest, sold my sites, will browse here once in a while. It's been fun.