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:
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.
- 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.
- You can also insert the shortcode manually around the Twitter username you wish to link to.
- Upload ‘twitlinkshortcode’ directory to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- 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.
以下人員參與了開源軟體〈Twitter Link Shortcut〉的開發相關工作。參與者
將〈Twitter Link Shortcut〉外掛本地化為台灣繁體中文版
Removed whitespace within PHP file to repair RSS validation errors.
Error in the code kept the WordPress Post Preview function from working properly. Corrected code to ensure full compatibility.
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.
This is the initial release.