Linux 软件免费装
Banner图

Good Old Twitter Feed Widget

开发者 whiletrue
更新时间 2023年8月16日 16:35
捐献地址: 去捐款
PHP版本: 2.9+ 及以上
WordPress版本: 6.1

标签

widget sidebar social twitter twitter feed twitter widget twitter sidebar social sidebar simple twitter twitter oauth

下载

1.0.9 1.2.3 1.0.7 1.2.5 1.2 1.2.4 1.0 1.2.6 1.0.5 1.0.8 1.2.2

详情介绍:

This plugin displays the latest posts from a Twitter account in a sidebar widget. Easy customization of style, replies, retweets, links, dates, thumbnails and a lot more. The plugin is based on Twitter API version 1.1. In order to use it, you have to create a personal Twitter Application on the dev.twitter.com website. Within your Application, Twitter provides two strings: the Consumer Key and the Consumer Secret. You also need two other strings, the Access Token and the Access Token Secret, that you can get following this guide. Finally, enter all the Authorization string in the widget options box, along with your favorite display settings: your Twitter Widget is now ready and active! You can use the same Authorization strings for several widgets and multiple website. Just remember to store them in a safe place! You also need CURL and OPENSSL extensions enabled in your PHP environment (don't worry, almost every hosting service provides that). 代码 If you want to put your recent tweets other than in a widget, you can use the [good_old_twitter] shortcode. The shortcode support is experimental. At the moment at least the twitter username and the 4 authentication attributes are mandatory. The shortcode minimal configuration is (with all fields filled): [good_old_twitter username="" consumer_key="" consumer_secret="" access_token="" access_token_secret=""] You can specify other optional attributes, e.g.: The full list of available options is available in the plugin FAQ. 参考 For more informations: www.whiletrue.it Do you like this plugin? Give a chance to our other works: 荣誉榜 Some plugin code is based on work by Max Steel (Web Design Company, Pro Web Design Studios), Frank Gregor and Jim Durand. The Codebird library by J.M. ( me@mynetx.net - https://github.com/mynetx/codebird-php ) is used for Twitter OAuth Authentication. 译: Reference This plugin gives you the features of the former 2.5.16 release of the "Really simple Twitter Feed Widget" plugin.

安装:

Best is to install directly from WordPress. If manual installation is required, please make sure to put all of the plugin files in a folder named good-old-twitter-widget (not two nested folders) in the plugin directory, then activate the plugin through the Plugins menu in WordPress.

屏幕截图:

  • Options available in the Settings menu

升级注意事项:

1.0.0 Initial release

常见问题:

Does the widget show my tweets in real time?

Yes they're shown in real time, although you have to refresh the page for them to appear.

How can I modify the styles?

The plugin follows the standard rules for "ul" and "li" elements in the sidebar. You can set your own style modifying or overriding these rules: .good_old_twitter_widget { / your stuff / } .good_old_twitter_widget li { / your stuff / } As for the linked username on the bottom (if enabled), you can customize it this way: div.gotw_link_user { / your stuff / }

I've enable user thumbnails. How can I make them look better?

You can use some CSS rules like these: .good_old_twitter_widget { margin-left:0; } .good_old_twitter_widget li { margin-bottom:6px; clear:both; list-style:none; } .good_old_twitter_widget img { margin-right :6px; float:left; border-radius:4px; }

What filters are available?

  • The "gotw_link_user" filter applies to the link to the Twitter user profile
  • The "gotw_button_follow" filter applies to the Twitter "Follow Me" button
  • The "gotw_output" filter applies to the final widget frontend output
All the filters are provided with the plugin's complete array of options.

What options are available for the shortcode?

This is the complete option list. The boolean options can be set writing "true" or "false" as values. TWITTER AUTHENTICATION consumer_key : Consumer Key consumer_secret : Consumer Secret access_token : Access Token access_token_secret : Access Token Secret TWITTER DATA username : Twitter Username num : Show # of Tweets skip_text : Skip tweets containing this text skip_replies : Skip replies (value: true or false) skip_retweets : Skip retweets (value: true or false) WIDGET TITLE title : Title title_icon : Show Twitter icon on title (value: true or false) title_thumbnail : Show account thumbnail on title (value: true or false) link_title : Link above Title with Twitter user (value: true or false) WIDGET FOOTER link_user : Show a link to the Twitter user profile (value: true or false) link_user_text : Link text button_follow : Show a Twitter "Follow Me" button (value: true or false) ITEMS AND LINKS linked : Show this linked text at the end of each Tweet thumbnail : Include thumbnail before tweets (value: true or false) thumbnail_retweets : Use author thumb for retweets (value: true or false) images : Show tweet images (value: true or false) hyperlinks : Find and show hyperlinks (value: true or false) replace_link_text : Replace hyperlinks text with fixed text (e.g. "-->") twitter_users : Find Replies in Tweets (value: true or false) link_target_blank : Create links on new window / tab (value: true or false) TIMESTAMP update : Show timestamps (value: true or false) date_link : Link timestamp to the actual tweet (value: true or false) date_format : Timestamp format (e.g. M j ) DEBUG debug : Show debug info (value: true or false) erase_cached_data : Erase cached data (value: true or false) encode_utf8 : Force UTF8 Encode (value: true or false)

更新日志:

1.2.6 1.2 1.0.9 1.0