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

TFL Widgets

外掛說明

Now with Widget support!!!

TFL Widgets lets you add Transport For London widgets to your pages using WordPress “shortcodes” or as a WordPress Widget.

Simply install the plugin, then you can add the shortcodes into pages/posts as follows:

Tube service updates

Live travel news for the Tube, updated every minute.

  • [tube-updates] – Gives live Tube service updates 240px wide (default).
  • [tube-updates width="500px"] – Gives live Tube service updates 500px wide, you can also use any valid CSS width units: %, em etc.
  • [tube-updates width="variable"] – Gives live Tube service updates of variable width which stretches to fit its container.

Tube map

Draggable Tube map, with integrated station search.

  • [tube-map] – Gives a Tube map 360px wide (default).
  • [tube-map width="500px"] – Gives a Tube map 500px wide, you can also use any valid CSS width units: %, em etc.
  • [tube-map width="variable"] – Gives a Tube map of variable width which stretches to fit its container.

You can also drag & drop the TFL Widgets widget into your Blog Sidebar or Footer from Appearance/Widgets in the WordPress Admin. Woohoo!

Terms of Service

Please refer to TFL’s transport data terms and conditions for the terms of use of the data provided from this plugin

This plugin is not created or endorsed by Transport For London.

螢幕擷圖

  • Tube service updates ([tube-updates])

  • Tube map ([tube-map])

  • You can drag the Widget into your...

  • ... Sidebar or Footer

安裝方式

In WordPress 2.7 and above you can install plugins directly from the admin area. Download the plugin to your computer, then log in to your WP admin area and go to Plugins > Add New. Browse to the plugin archive and select it. Then click Install Now and the plugin will be installed shortly.

For more help see http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/

常見問題集

None

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈TFL Widgets〉的開發相關工作。

參與者

將〈TFL Widgets〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • First public release with two shortcodes

1.0.1

  • Bug fix for fixed width tube map not working

1.2

  • Widget support added