I came across a lot of stupid plugins that were suppose to do this but didn’t so… I ended up writing this 🙂 hope it helps

Add this in header.php

[cc lang=”html”][/cc]

[cc lang=”php”][/cc]

Add this before ^

For twitter button:

[cc lang=”html”][/cc]

//change data-via variable

For google +1

[cc lang=”html”][/cc]

For facebook recommend button:

[cc lang=”html”]