Has anyone successfully embedded their flair on a WordPress.com-hosted blog?

The free hosted version of WordPress.com (not WordPress.org) strips out all unwanted code from all posts before publishing. So they to strip out just about anything I can add to embed my Stack Overflow flair.

Note: I'll be switching to a paid, hosted site in the future (fixing the problem), but I'm looking for a quick, short-term solution.


Given the list of permissible tags shown by WordPress.Org, there doesn't seem to be an easy way.

But, if (hint, hint) PNG was one of the supported formats for flair, you'd be in.

| improve this answer | |
  • 1
    Okay, Bevan... Spill it. Is there some "service" out there that periodically creates a PNG out of my flair which I can then link to directly? Short of that, I'm not good at (hint, hint) <grin>. – Robert Cartaino Jul 1 '09 at 14:43
  • Sorry, no, there's no service that I know of ... I was kinda trying to hint to our benevolent overlord (Jeff), who's participating in this question, that this would be a useful extension to the flair system. – Bevan Jul 1 '09 at 19:51
  • 1
    Question #1475 (meta.stackexchange.com/questions/1475/…) is related. – Bevan Jul 1 '09 at 19:54

The new flair is built with using a PNG image, so cheers! Now you can have your Stack Overflow flair on WordPress!

Check out the Stack Overflow blog entry "Flair: Now Even Flairier".

| improve this answer | |
  1. Go to your user profile on any Stack Exchange site
  2. Click Flair
  3. Copy the HTML from the appropriate box. (to change the theme, add ?theme=clean or ?theme=dark or ?theme=hotdog to the end of the image URL)
  4. Go to the Customize page of your Wordpress.com site.
  5. Select Widgets
  6. Add a Text widget
  7. Paste the HTML into the box and (optionally) create a title for the widget
  8. Save it.

You now have your Stack Flair on your Wordpress blog.

| improve this answer | |
  • 1
    You nailed it, this should be the accepted answer :) – Abdel Hady Jan 26 '15 at 13:43

Not the official flair, but this unofficial one by Steven Robbins should work:

Updated: Stack Overflow Wordpress Widget

| improve this answer | |
  • Very nice. But I'm 99 and 44/100% certain that Wordpress.com (not .org) will strip out all that code and it won't work. They are are very strict about filtering out just about everything to do anything: support.wordpress.com/code . Do you know different? – Robert Cartaino Jul 10 '09 at 18:03
  • Maybe ask Steven ;-p – Marc Gravell Jul 10 '09 at 18:45
  • 1
    Have you tried it? If you are allowed widgets then it should work. It only emits some divs, an image and a bit of styling - it doesn't need embed, frame, iframe, form, input, object, textarea etc. – Steven Robbins Jul 11 '09 at 12:35
  • The problem is you can't install any additional plugins into a wordpress.com blog. – Fabian Steeg May 26 '10 at 22:00

As Marc mentioned, you should be able to use the Wordpress widget (assuming you can use widgets), or failing that you can use the Flair as a PNG thing I threw together this afternoon. I've posted more details on the Can we get flair as an image? question.

| improve this answer | |
  • This is a nice workaround for SO not directly supporting images, as Ohloh does. – RjOllos Feb 6 '10 at 9:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .