Title: TFL Widgets
Author: jelnet
Published: <strong>2017 年 4 月 12 日</strong>
Last modified: 2019 年 8 月 2 日

---

搜索插件

![](https://ps.w.org/tfl-widgets/assets/banner-772x250.jpg?rev=1636217)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/tfl-widgets/assets/icon-256x256.jpg?rev=1636217)

# TFL Widgets

 作者：[jelnet](https://profiles.wordpress.org/jelnet/)

[下载](https://downloads.wordpress.org/plugin/tfl-widgets.zip)

 * [详情](https://cn.wordpress.org/plugins/tfl-widgets/#description)
 * [评价](https://cn.wordpress.org/plugins/tfl-widgets/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/tfl-widgets/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/tfl-widgets/#developers)

 [支持](https://wordpress.org/support/plugin/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](https://tfl.gov.uk/corporate/terms-and-conditions/transport-data-service)
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 service updates ([tube-updates])⌉[

Tube service updates (`[tube-updates]`)

[⌊Tube map ([tube-map])⌉⌊Tube map ([tube-map])⌉[

Tube map (`[tube-map]`)

[⌊You can drag the Widget into your...⌉⌊You can drag the Widget into your...⌉[

You can drag the Widget into your…

[⌊... Sidebar or Footer⌉⌊... Sidebar or Footer⌉[

… 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/](http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/)

## 常见问题

None

## 评价

此插件暂无评价。

## 贡献者及开发者

「TFL Widgets」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ jelnet ](https://profiles.wordpress.org/jelnet/)

[帮助将「TFL Widgets」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/tfl-widgets)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/tfl-widgets/)，查看[SVN仓库](https://plugins.svn.wordpress.org/tfl-widgets/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/tfl-widgets/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/tfl-widgets/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **1.2**
 *  最后更新：**7 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.4.8 或更高版本 **
 *  已测试的最高版本为 **5.2.24**
 *  PHP 版本 ** 5.6.32 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/tfl-widgets/)
 * 标签
 * [tube](https://cn.wordpress.org/plugins/tags/tube/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
   [widgets](https://cn.wordpress.org/plugins/tags/widgets/)
 *  [高级视图](https://cn.wordpress.org/plugins/tfl-widgets/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/tfl-widgets/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/tfl-widgets/reviews/)

## 贡献者

 *   [ jelnet ](https://profiles.wordpress.org/jelnet/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/tfl-widgets/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.me/jeremywray)