這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Twitter Link Shortcut

外掛說明

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]

螢幕擷圖

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

安裝方式

  1. Upload ‘twitlinkshortcode’ directory to the ‘/wp-content/plugins/’ directory
  2. 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〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.