The Baseball Linescore plugin allows you to add a baseball game’s linescore to your posts, with entries for the teams, the runs each innings, the pitchers who were tagged with decisions, and a link to a full boxscore.
What can I do with the plugin?
You can create linescores for any posts you write about baseball games.
This plugin requires some editing of your WordPress theme after installation.
- Upload the “starcross-baseball-linescore” directory into the “/wp-content/plugins/” directory.
- Edit the archive.php, index.php, and single.php files for your chosen theme by adding the following lines before the call to the PHP function
the_content()
.<?php $linescore = get_post_meta(get_the_ID(), 'Linescore');if (!empty($linescore[0])) {echo $linescore[0];} ?>
- Activate the plugin through the “Plugins” menu in WordPress.
- Now you’re free to add baseball linescores to any new entry that you create!
Reviews
0 out of 5 stars
- Version: 1.0
- Last updated: 16 years ago
- Active installations: 10
- WordPress version: 2.3
- Tested up to: 2.5.1
- PHP version: false