Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

TweetThis Shortcode

Mô tả

I could not find a simple plugin that enabled me to wrap a portion of text on a shortcode that would enable me to publish a link to automatically tweet the quote. So, we built one. There are not many features to the plugin currently. You can set your Twitter name to always include it in every Tweet and optionally use the Bit.ly API to shorten your URL.

Obtain your credentials from Bit.ly from your Advanced Settings page. If you do not use Bit.ly, the plugin will default to Twitter to shorten the link.

Hashtags can be used within the content or within a variable within the tweetthis shortcode.

Utilizes the Web Intent URL

Usage:

  • [tweetthis]Fantastic shortcode #plugin to automatically populate a tweet![/tweetthis]
  • [tweetthis hashtag=”wordpress”]Fantastic shortcode plugin to automatically populate a tweet![/tweetthis]
  • [tweetthis hashtag=”wordpress plugin”]Fantastic shortcode plugin to automatically populate a tweet![/tweetthis]

You can view the result of this Tweet on my TweetThis Shortcode article.

Built by DK New Media, visit the Marketing Technology Blog to keep up on this plugin and other marketing tools to help you grow your online presence!

Ảnh màn hình

  • View of the shortcode and output link created.
  • View of a report section with the posts and Bit.ly reporting links.

Cài đặt

  1. Activate the plugin through the ‘Plugins’ menu in WordPress
  2. Go to Settings - TweetThis Shortcode and enter your Twitter handle and Bit.ly credentials.

Hỏi đáp

Installation Instructions
  1. Activate the plugin through the ‘Plugins’ menu in WordPress
  2. Go to Settings - TweetThis Shortcode and enter your Twitter handle and Bit.ly credentials.
How can I automatically add my Twitter Handle?

Just go to Settings - TweetThis Shortcode and enter your Twitter handle.

Does this plugin allow use of other shorteners?

Not currently, but we are looking forward to expand its capabilities.

Why is some of the content not being displayed?

If your content, hashtags, twitter user and URL exceed 280 characters, Twitter will clip off content to ensure it fits.

Đánh giá

Đọc tất cả 1 đánh giá

Người đóng góp & Lập trình viên

“TweetThis Shortcode” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.8.0

  • Now supporting the 280 character limit with Twitter.

1.7.0

  • Corrected a bug where tags were stripped from the HTML content that is displayed.

1.6.0

  • Added a section with your latest shortened links using Bit.ly and a link to open the link in Bit.ly reporting.

1.5.0

  • Saved the Bit.ly link as a meta field for the post. This reduces the chances that the Bit.ly API rate limit is exceeded. Each time the shortcode is executed, it checks to see if the Bit.ly link already exists.

1.4.1

  • Added support for a hashtag in the output tweet

1.4.0

  • Added filter so unpublished posts do not use the Bit.ly API

1.3.2

  • Modified URL inclusion over to Web Intent querystring variable

1.3.1

  • Corrected URL encoding

1.3.0

  • Corrected URL inclusion logic to Tweet

1.2.9

  • Enhanced logic for populating text in Tweet URL

1.2.8

  • Bug fix and optimized logic for populating text in Tweet

1.2.7

  • Bug fix for populating text in Tweet

1.2.6

  • Bug fix for populating text in Tweet

1.2.5

  • Updated trimming logic for Tweet length

1.2.4

  • Corrected via query variable

1.2.3

  • Corrected cutoff calculation

1.2.2

  • Adjusting cutoff logic. Added Twitter Intent API query variables for via, hashtags and url shortening

1.2.1

  • Adjusting cutoff logic

1.2.0

  • If the tweet exceeded the length limit of Twitter, it would generate a blank page on Twitter. The plugin now cuts off the content to accommodate

1.1.1

  • Simplified URL encoding

1.1.0

  • Simplified URL encoding

1.0.9

  • Simplified URL encoding

1.0.8

  • Corrected URL encoding

1.0.7

  • Corrected URL encoding

1.0.6

  • Corrected URL encoding

1.0.5

  • Corrected URL encoding

1.0.4

  • Corrected URL encoding for Twitter App opening on mobile device

1.0.3

  • Updated documentation

1.0.2

  • Updated text domain

1.0.1

  • Updated documentation

1.0.0

  • Initial Release