该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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.