WordPress Plugin: Card Converter

Card Converter is a WordPress plugin with poker bloggers in mind, but it can be used by anyone who would like to display playing cards in posts and comments. It will take card abbreviations such as Ad (meaning Ace of diamonds) and convert it to a CSS graphical-like representation of the card. Inspiration for the plugin came from Chris Halverson’s Pokerhand plugin and the CSS cards on the World Poker Tour Fan Site.

The plugin has moved to the WordPress Plugin Repository. All development and files will be available there from now on.

38 Comments

  1. Posted September 28, 2004 at 7:30 pm | Permalink | Reply

    Going to try out the plugin later. It sounds really cute. :smile:

    Ah

  2. Posted September 28, 2004 at 7:33 pm | Permalink | Reply

    Ok…so I never tested comments….whoops!

  3. Posted September 28, 2004 at 8:56 pm | Permalink | Reply

    One of the comment filters in Word Perfect is removing the <span> tags used to style the card. If anyone knows a way around this, let me know.

  4. Posted September 28, 2004 at 9:41 pm | Permalink | Reply

    Fixed. If you’ve already downloaded and installed it, download again and make sure to follow the new step 3 above.

  5. Paul
    Posted September 29, 2004 at 8:22 am | Permalink | Reply

    Should this work for us mere computer mortals??? If so, I can’t figure it out.

  6. Posted September 29, 2004 at 8:25 am | Permalink | Reply

    Yes. I take it you mean here in the comments. Simply type <card>As</card> and you should get As.

  7. Paul
    Posted September 29, 2004 at 10:12 am | Permalink | Reply

    As

  8. Posted September 29, 2004 at 2:25 pm | Permalink | Reply

    Very cool I was just about to install Chris Halvorson’s plugin, now I am going to be using this one.

  9. Posted November 18, 2004 at 9:16 am | Permalink | Reply

    Just saw this on the plug-in page. Very interesting. :idea: Now you should add it to your clickable smilies plug-in for real ease of use.

    Good job as usual.

  10. Posted November 18, 2004 at 9:20 am | Permalink | Reply

    Actually I have it added to the clickable buttons on my 2 Hole Cards site because that is where all of my poker stuff is now.

  11. Posted November 27, 2004 at 6:36 pm | Permalink | Reply

    4h

  12. Testing
    Posted April 5, 2005 at 6:24 pm | Permalink | Reply

    * Rank & Suit

    o AcAd

    o KCTC

    * Unsuited

    o 8j?

    * Unranked

    o Ch

    * Invalid cards

    o V

    o 0

    o Ph

    o Eb

    o ch

    o 1ds

  13. Testing
    Posted April 5, 2005 at 6:25 pm | Permalink | Reply

    As

  14. Testing
    Posted April 5, 2005 at 6:28 pm | Permalink | Reply

    As

  15. Posted April 5, 2005 at 8:55 pm | Permalink | Reply

    You need to place <card> to the left of the card and </card> to the right of the card.

    For instance…

    <card>Ad</card>

    will produce this…

    Ad

  16. Posted April 5, 2005 at 8:56 pm | Permalink | Reply

    Hmmm…maybe it’s not working with 1.5. I’ll have to do some testing!

  17. Jaxia
    Posted April 6, 2005 at 1:25 pm | Permalink | Reply

    Testing…On my site, diamonds show up as squares.

    ad

  18. Posted April 10, 2005 at 10:35 am | Permalink | Reply

    As

  19. asdf
    Posted October 10, 2005 at 12:00 am | Permalink | Reply

    7C

  20. Posted November 26, 2005 at 8:15 pm | Permalink | Reply

    Jc Tc JsTs tt Jc

    … just testing out the plugin :) Qh

  21. Posted November 26, 2005 at 8:16 pm | Permalink | Reply

    Jc hmmm

  22. Posted November 26, 2005 at 8:58 pm | Permalink | Reply

    Jc

  23. noen
    Posted November 27, 2005 at 2:49 pm | Permalink | Reply

    js

    js

  24. Posted November 28, 2005 at 1:31 am | Permalink | Reply

    Jc JC jc jC okay one of these has to work

  25. Posted November 28, 2005 at 1:32 am | Permalink | Reply

    okay what’s the secret?

  26. Posted November 28, 2005 at 8:06 am | Permalink | Reply

    You need to surround your card with card tags, such as

    Jc

  27. Posted December 26, 2005 at 1:55 pm | Permalink | Reply

    Ac Kc -vs- 2h7c Flop comes 2d2c7h … sucka.

  28. Posted December 26, 2005 at 1:57 pm | Permalink | Reply

    Ac Kc -vs- 2h7c Flop comes 2d2c7h … sucka.

  29. Michael
    Posted January 8, 2006 at 5:57 pm | Permalink | Reply

    Ac As Ah Ad Ks

  30. Posted January 8, 2006 at 7:08 pm | Permalink | Reply

    You can only put one card inside the card tags.

  31. Dano
    Posted April 28, 2006 at 5:44 am | Permalink | Reply

    American Airlines =

    Kojak =

    Cool!

  32. hg
    Posted December 30, 2006 at 6:28 pm | Permalink | Reply

    As

  33. bmouth
    Posted November 7, 2007 at 4:50 am | Permalink | Reply

    As 2h3cJd TaTh

  34. Posted November 7, 2007 at 4:51 am | Permalink | Reply

    The diamond couldn’t show up!! 10d 9d

  35. Tony
    Posted November 24, 2007 at 9:11 pm | Permalink | Reply

    Superb! I have been looking for something like this for ages!

  36. Posted December 10, 2007 at 8:40 am | Permalink | Reply

    I wrote a similar plugin for WP. But it comes in different languages, helps out with a nice visual editor and supports more the one cardstyle.

    http://www.pokerup.de/wordpress-plugin-playing-cards-generator

  37. Posted June 12, 2008 at 8:29 am | Permalink | Reply

    I heard, that some versions of WordPress do not support this plugin. It is valid so?

  38. Steve Kröflich
    Posted September 13, 2008 at 4:01 pm | Permalink | Reply

    Does this plugin works under 2.6 WP?

    regards

6 Trackbacks

  1. By Card Converter Update « MtDewVirus on April 10, 2005 at 10:40 am

    [...] The Card Converter plugin has been updated. There were a few things that [...]

  2. By atomon » Card Converter on June 21, 2005 at 8:19 pm

    [...]

    June 21, 2005 Card Converter Made me think of you, BP. The Card Converter Plugin makes little cards for your poker blogging. [...]

  3. By Homo Sum » Blog Archive » HGPA February Invitational on February 27, 2006 at 10:58 am

    [...] I probably should have been able to take the top spot, but a combination of three things broke me down: 1) I need more practice at 3-way Hold ‘Em, 2) I got rivered, against significant odds, on a particularly large hand, and 3) at around 2:30AM I started to get a bit mentally sloppy. I may chat a bit about a couple of these hands at the end of this, just to play with the CardConverter plugin that I got after seeing Roach make a card plugin look so good–although he’s clearly using a different plugin than I am. [...]

  4. [...] – Card Converter: ¡este es la ostia! Si etiquetas una palabra con As la transforma en una imagen mediante una hoja CSS, As sería el Ace of Spades. Realmente inútil, como para jugar una buti via blog. [...]

  5. By Snow Blind » Blog Archive » Fired Up on January 30, 2007 at 9:43 am

    [...] A few people have recommended the Firebug Firefox extension for web development including Asa Dotzler (yes that Asa Dotzler). I downloaded it tonight and installed it to try it out. I’ve become accustomed to using the DOM Inspector that has been built in Firefox and Mozilla forever, well at least since I’ve used them. Between that and venkman, it was the best web development environment available. It may be hard to break my attachment but so far, it looks like a very clean and powerful tool. My first chore is trying to figure out the issue with the little card converter plugin for wordpress on the Mac in Firefox. [...]

  6. [...] About a year ago, I was looking for a wordpress plugin that would allow me to display entire hands of cards (for example, a poker hand). I ran into this plugin, but each card had to be surrounded by a tag; this wasn’t what I wanted. So, I decided to roll my own [...]

Post a Comment

Your email is never shared. Required fields are marked *

*
*