Simple Goal Chart Plugin for Wordpress
This Wordpress plugin allows the user to easily track and update multiple bar charts on their blog. The plugin could be used to track:
- Savings goals (ie, $1,000 emergency account)
- Debt reductions goals (it accepts negative numbers!)
- Plus lots more!
Installation
Download the plugin. Place the entire ‘goal-chart’ folder into the Plugins folder of Wordpress. Activate the plugin, and you’re ready to go!
Wordpress Backend
Charts can be created and modified from the Manage -> Goal Chart backend of Wordpress. Here’s a screenshot of what the admin page looks like:
Change The Colors
The chart outputted can be formatted to match any color scheme on your blog. You can edit 4 different aspects of the chart using HEX color codes or the basic color palate next to each option:
To display in your side bar:
<?php smgc_display_chart($chartid=1) ?>
Where the chartid number = chart number. Your first chart you create will be 1, so the above code will work to embed it into your sidebar, or anywhere else within templates.
To display in a post
Use the following tag, where the # equals the chart you want displayed (with no spaces anywhere). Put this in the HTML, not the Visual part of your post.
<! - -chart[1]- - >
| Personal Savings | |||
| 30% | |||
| 0 | 10000 | ||
| 3026 | -> |
| 2008 Sales Goal | |||
| 17% | |||
| 0 | 200 | ||
| 34 | -> |



on April 26th, 2008 at 2:16 pm
[...] and if you’re curious, that chart above is produced by the Simple Goal Chart Plugin that I’ve been working on the past few weeks. You’ll see more of the charts in the [...]
on April 28th, 2008 at 9:58 pm
sweet job dude! Can’t wait to put it up on my site
been looking for something like this for a little while, I learned everyone else was doing theirs by hand. This will save lots of time, i’m sure.