Title: WFTDA Rankings Widget
Author: Mike Straw
Published: <strong>April 10, 2020</strong>
Last modified: February 5, 2024

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wftda-rankings-widget/assets/icon-256x256.png?rev=3031874)

# WFTDA Rankings Widget

 By [Mike Straw](https://profiles.wordpress.org/mikestraw/)

[Download](https://downloads.wordpress.org/plugin/wftda-rankings-widget.zip)

 * [Details](https://en-au.wordpress.org/plugins/wftda-rankings-widget/#description)
 * [Reviews](https://en-au.wordpress.org/plugins/wftda-rankings-widget/#reviews)
 *  [Installation](https://en-au.wordpress.org/plugins/wftda-rankings-widget/#installation)
 * [Development](https://en-au.wordpress.org/plugins/wftda-rankings-widget/#developers)

 [Support](https://wordpress.org/support/plugin/wftda-rankings-widget/)

## Description

**NOTE:** This widget is not currently compatible with block themes. When installing
on WordPress versions 6.0 or higher, you will also need to install the [Classic Widgets plugin](https://wordpress.org/plugins/classic-widgets/).

Add a widget to your site with the WFTDA stats from stats.wftda.com.

Currently, the widget will scrape the data from http://stats.wftda.com/league/{league}.
Once the WFTDA makes an API available, it will use that API.

**This plugin was developed by a roller derby referee, fan, and league member. It
isn’t approved of, endorsed, or part of the Women’s Flat Track Derby Association(
WFTDA). I just made this to meet a need in my own league and wanted to share it.**

There are measures in place to ensure we don’t overload the stats site:

 * We won’t use live stats unless and until the API has a good way to do that
 * Rankings for each league will be stored locally when first retrieved and then
   refreshed only if the data is over 24 hours old
 * [See the widget in action](https://ohiorollerderby.com).

### Future enhancements

 * More configuration options for the widget:
    - Choice of which stats to display
    - Visual customizations
 * Create a block
 * Make available as a shortcode
 * Add hooks for extendability
 * Convert to API when available

## Screenshots

[⌊The widget as it appears on the page⌉⌊The widget as it appears on the page⌉[

The widget as it appears on the page

[⌊Widget settings⌉⌊Widget settings⌉[

Widget settings

## Installation

 1. Install directly from WordPress.org, upload `wftda-rankings-widget.zip` under **
    Plugins > Add New**, or install via WP-CLI using `wp plugin install wftda-rankings-
    widget`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. If you are installing on a site with WordPress 6.0 or higher, also install and 
    activate the [Classic Widgets plugin](https://wordpress.org/plugins/classic-widgets/).
 4. Add the widget in the Customizer
 5. The League Slug should match the portion of the address of your league’s stats 
    after the last slash. e.g., if the address for your league’s stats page is `https://
    stats.wftda.com/league/super-fantastic-derby`, enter `super-fantastic-derby` under
    League Slug

## FAQ

### What if it doesn’t work?

 * Make sure it’s installed properly
 * Make sure your site can read external URLs
 * Activate WP_DEBUG and check for any errors
 * Ask on the support forums

### Can I help make the plugin better?

 * Absolutely! You can contribute [on GitHub](https://github.com/GeoJunkie/league-wftda-ranking)

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WFTDA Rankings Widget” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Mike Straw ](https://profiles.wordpress.org/mikestraw/)

[Translate “WFTDA Rankings Widget” into your language.](https://translate.wordpress.org/projects/wp-plugins/wftda-rankings-widget)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wftda-rankings-widget/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wftda-rankings-widget/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wftda-rankings-widget/)
by [RSS](https://plugins.trac.wordpress.org/log/wftda-rankings-widget/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0 – 2024-02-05

 * Updated to account for new URL structure on stats.wftda.com

#### 1.0.2 – 2020-04-12

 * Readme updates

#### 1.0.1 – 2020-04-05

 * Converted to HTTP API
 * Updated league data storage to prevent refreshes on every page load

#### 1.0.0 – 2020-03-21

 * The initial release

## Meta

 *  Version **1.1.0**
 *  Last updated **3 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress Version ** 3.0.1 or higher **
 *  Tested up to **6.4.13**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wftda-rankings-widget/)
 * Tags
 * [rankings](https://en-au.wordpress.org/plugins/tags/rankings/)[sports](https://en-au.wordpress.org/plugins/tags/sports/)
   [stats](https://en-au.wordpress.org/plugins/tags/stats/)
 *  [Advanced View](https://en-au.wordpress.org/plugins/wftda-rankings-widget/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wftda-rankings-widget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wftda-rankings-widget/reviews/)

## Contributors

 *   [ Mike Straw ](https://profiles.wordpress.org/mikestraw/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wftda-rankings-widget/)