该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

屏幕截图

安装

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