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.


Comments

  1. 1. Keely Weston
    9/28/2004 at 7:30pm

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

    A♥

  2. 2. Nick
    9/28/2004 at 7:33pm

    Ok…so I never tested comments….whoops!

  3. 3. Nick
    9/28/2004 at 8:56pm

    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. 4. Nick
    9/28/2004 at 9:41pm

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

  5. 5. Paul
    9/29/2004 at 8:22am

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

  6. 6. Nick
    9/29/2004 at 8:25am

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

  7. 7. Paul
    9/29/2004 at 10:12am

    A♠

  8. 8. Jason Stanfill
    9/29/2004 at 2:25pm

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

  9. 9. Dean Logan
    11/18/2004 at 9:16am

    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. 10. Nick
    11/18/2004 at 9:20am

    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. 11. Joey
    11/27/2004 at 6:36pm

    4♥

  12. 12. Testing
    4/5/2005 at 6:24pm

    * 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. 13. Testing
    4/5/2005 at 6:25pm

    As

  14. 14. Testing
    4/5/2005 at 6:28pm

    As

  15. 15. Nick
    4/5/2005 at 8:55pm

    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. 16. Nick
    4/5/2005 at 8:56pm

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

  17. 17. Jaxia
    4/6/2005 at 1:25pm

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

    ad

  18. 18. Nick
    4/10/2005 at 10:35am

    A♠

  19. 19. Ping
    4/10/2005 at 10:40am
  20. 20. Ping
    6/21/2005 at 8:19pm
  21. 21. asdf
    10/10/2005 at 12:00am

    7♣

  22. 22. Mike
    11/26/2005 at 8:15pm

    Jc Tc JsTs tt Jc

    … just testing out the plugin :) Qh

  23. 23. Mike
    11/26/2005 at 8:16pm

    Jc hmmm

  24. 24. Nick
    11/26/2005 at 8:58pm

    J♣

  25. 25. noen
    11/27/2005 at 2:49pm

    js
    J♠

  26. 26. Mike
    11/28/2005 at 1:31am

    Jc JC jc jC okay one of these has to work

  27. 27. Mike
    11/28/2005 at 1:32am

    okay what’s the secret?

  28. 28. Nick
    11/28/2005 at 8:06am

    You need to surround your card with card tags, such as
    <card>Jc</card>

  29. 29. Billy B
    12/26/2005 at 1:55pm

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

  30. 30. Billy B
    12/26/2005 at 1:57pm

    A♣ K♣ -vs- 2♥7♣ Flop comes 2♦2♣7♥ … sucka.

  31. 31. Michael
    1/8/2006 at 5:57pm

    Ac As Ah Ad Ks

  32. 32. Nick
    1/8/2006 at 7:08pm

    You can only put one card inside the card tags.

  33. 33. Ping
    2/27/2006 at 10:58am
  34. 34. Dano
    4/28/2006 at 5:44am

    American Airlines =
    Kojak =

    Cool!

  35. 35. Ping
    9/7/2006 at 3:18pm
  36. 36. hg
    12/30/2006 at 6:28pm

    A♠

  37. 37. Ping
    1/30/2007 at 9:43am
  38. 38. Ping
    2/10/2007 at 7:40am
  39. 39. bmouth
    11/7/2007 at 4:50am

    A♠ 2♥3♣J♦ [invalid card]T♥

  40. 40. bmouth
    11/7/2007 at 4:51am

    The diamond couldn’t show up!! T♦ 9♦

  41. 41. Tony
    11/24/2007 at 9:11pm

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

  42. 42. pokerup
    12/10/2007 at 8:40am

    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

  43. 43. CardZone
    6/12/2008 at 8:29am

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

Leave a Reply