Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Mat Gargano's Baseball Standings

Provides you with a WordPress widget to display current MLB Standings

Simple Usage

Simple use, just drag and drop, set your title, division and you're good to go. Data is reupdated every 60 minutes.

Advanced Usage

This plugin exposes a bunch of different filters that allow you to customize your output, which include:


Pass an array of key=>value pairs, just like MLB_Standings_Helper::get_short_name() has, (see /lib/class-mlb-standings.php) for more info


Allows a custom template file to be used, example of how to work this:

Add a template directory and file named "custom-standings" to your template directory (in this example we're assuming it in {template_directory}/view/custom-mgbs.php).

See /views/widget.php for how to structure this template file.

Then add the following to your functions.php (or any arbitrary file that gets included when your wordpress application runs)

    function customize_mgbs_template_filter( $template ){
        $template_dir = get_template_directory();
        return $template_dir . '/views/custom-mgbs.php';    
    add_filter( 'mgbs_template', 'customize_mgbs_template_filter' );


This passes (and allows you to customize) the data that gets output to the frontend. An example usage of this is if you want to only output only NL.

Tags: ,

Requires: 3.0 or higher
Compatible up to: 3.9.14
Last Updated: 3 years ago
Active Installs: 10+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.