> Mat Gargano's Baseball Standings wordpress plugin resources analysis

Mat Gargano's Baseball Standings wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name Mat Gargano's Baseball Standings
Version 2.0.0
Author Mat Gargano
Rating 0
Last updated 2014-04-16 07:26:00
Downloads
557
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
Mat Gargano's Baseball Standings plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

Mat Gargano's Baseball Standings plugin added 2 kB of resources to the Home page and 2 kB of resources to the sample Post page.

Mat Gargano's Baseball Standings plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! Mat Gargano's Baseball Standings plugin ads no tables to your Wordpress blog database.

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:

mgbs_shorten_name

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

mgbs_template

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)

<?php
    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' );
?>

mgbs_standings_data

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.

Screenshots

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
BlueSky screenshot

BlueSky

by: ksfdjhfsd89723

54428
0%
Accessible OneTwo screenshot

Accessible OneTwo

by: tagawa

5449
0%