Twitter @Anywhere Plugin for WordPress

Want to easily add the basic features of Twitter @Anywhere to your WordPress blog? There’s already a plugin for that. It adds the requisite JavaScript for you, allowing you to enable or disable features with simple options in the WordPress Admin.

Currently it supports the auto-linking of Twitter usernames and the nifty “hovercards” feature of @Anywhere. It also can add a tweet box below you blog posts, making it easy for your visitors to update their Twitter statuses.

Some features I would like to see in future releases are:

  • Custom selectors for linkifying and hovercards. A form field could allow the administrator to enter CSS selectors, one per line, and the values would be dumped into the JavaScript function as an argument. (It’s a simple matter of using PHP’s explode() and implode() functions to replace the linebreaks with comma delimiters.)
  • An option to define a default template for the tweet box. E.g. “Reading: {post_title} {short_link}.” That way, visitors would be presented with a predefined tweet to customize, increasing the likelihood of your post being tweeted.

It’s a good start for a plugin, particularly one based on a platform so newly released. Hopefully its development will continue once its approved into the plugin repository.

  • http://austinpassy.com The Frosty

    Thanks for the write up.

    I’ve already included custom content in the tweetbox, and the ability to change it, including the use of shortcodes inside.

    I’ll look into the custom selectors. Though I’m not so familiar with implode and explode.

    ;)