This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Twitter Link Shortcut

Description

This plugin hopes to make linking to Twitter profiles easier in WordPress posts and pages.

It’s the result of typing Twitter usernames far too often in my blog posts and having to go back and link to them later, typing out http://www.twitter.com/username.

The plugin uses a basic shortcode:

[twitter]

to wrap around Twitter user names.

The plugin will then output the username with a link to their profile, displaying the standard @username format.

In addition, the links can be styled via your sites CSS, using the .twitshort selector.

Usage

  1. Once it’s installed a quicktag/button labled “twitter” will display in your post/page edit toolbar. Clicking the link will insert the [twitter] and [/twitter] shortcode into your post/page. Simply insert the Twitter user’s name between the two short codes and the plugin will take care of the rest.
  2. You can also insert the shortcode manually around the Twitter username you wish to link to.

Example: [twitter]jdblundell[/twitter]

Screenshots

  • An example of how the output is displayed (with CSS customization)
  • Showing the twitter link within the edit post/page toolbar.
  • The shortcode used within a post.

FAQ

Why the heck do I need this?

You may not. But it was a handy shortcut for me, and hopefully you’ll find it handy as well.

So I have to type out the shortcode everytime I use it?

No, in version 1.0.0 that was required, but with version 1.0.1 that’s no longer necessary. A link should appear in your quicktag toolbar labled as “twitter” that will insert the shortcodes for you.

Changelog

1.0.3

Removed whitespace within PHP file to repair RSS validation errors.

1.0.2

Error in the code kept the WordPress Post Preview function from working properly. Corrected code to ensure full compatibility.

1.0.1

Added a quicktag link within the post/page toolbar. The link inserts the twitter shortcode into the post, without the need to manually type the code.

1.0.0

This is the initial release.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code