Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
This branch is up to date with joho1968/Stopsign:master.

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Stopsign is a WordPress plugin to display depature times of public transport at a specific stop using data from


This WordPress shortcode plugin uses APIs from to display departure times of public transport at a specific stop.

The type of transport can vary depending on the stop chosen for the shortcode.

A few notes about this plugin:

  • You need to register API keys with (registration is free)
  • This plugin may work with earlier versions of WordPress
  • I have only tested this plugin on 5.4.0, at the time of this writing
  • This plugin makes use of the allow_url_fopen() PHP function
  • This plugin may create entries in your PHP error log (if active)
  • This plugin contains no tracking code and does not process or collect any information about the visitor


This section describes how to install the plugin and get it working.

  1. Upload the contents of the stopsign folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. As mentioned previously, you need to register with and get your API keys. This is free. You need an API key for "Trafiklab ResRobot - Stolptidtabeller (2)", and an API key for "Trafiklab ResRobot - Reseplanerare"


There are two shortcodes available with this plugin:

[stopsign_shortcode] and [stopsign_shortcode_widget]

The following parameters are supported:

id="<commute stop ID>" (The commute stop ID from
numgroup="0|1"         (Group output)
maxgroup="0-9"         (Maximum group output, default is 3)

For example:

[stopsign_shortcode id="123456" numgroup="0"][/stopsign_shortcode]

Frequently Asked Questions

How to I make local customizations

Use the files in the public/templates directory to modify output. There are also .css files that you can tweak to your liking. You can also copy the templates/ folder to wp-content/themes/yourtheme/stopsign. Changes you make to the copied files will not be overwritten.

Are API calls throttled

Stopsign makes use of WordPress Transients to prevent unnecessary API calls. No other caching mechanism is used. Transients are deleted upon deactivation and uninstallation of the Stopsign plugin.

Is the plugin locale aware?

Stopsign uses standard WordPress functionality to handle localization/locale. The native language localization of the plugin is English. It has been translated to Swedish by the author.

Are there any incompatibilities

This is a hard question to answer. There are no known incompatibilities that I am aware of. There is no background loading of information.



  • Initial release

Upgrade Notice


  • Initial release


Please see LICENSE.TXT for a full copy of GPLv2

Copyright (C) 2020 Joaquim Homrighausen.

This file is part of Stopsign. Stopsign is free software.

You may redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation.

Stopsign is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the Stopsign package. If not, write to:

The Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor
Boston, MA  02110-1301, USA.


The Stopsign WordPress Plugin is based on the WordPress Plugin Boilerplate, as a starting point. The Stopsign WordPress Plugin was written by Joaquim Homrighausen.

The WordPress Plugin Boilerplate was started in 2011 by Tom McFarlin and has since included a number of great contributions. In March of 2015 the project was handed over by Tom to Devin Vinson.

The current version of the Boilerplate was developed in conjunction with Josh Eaton, Ulrich Pogson, and Brad Vincent.

You can get the WordPress Plugin Boilerplate here: You may also like the WordPress Plugin Boilerplate generator:


WordPress plugin to display depature times of public transport at specific stop using data from








No releases published


No packages published


  • PHP 88.3%
  • JavaScript 7.0%
  • CSS 4.7%