You can use the following table to determine which tags to use within the posts.
NOTE: You can use the tag or Gauges only once per page. If you add it multiple times, the Gauge will be displayed only once.
Template Tags
| Chart | Template Tag | Content Tag |
|---|---|---|
| Average Comments/Post | <?php if (function_exists(’dz_average_comments_chart’)) { dz_average_comments_chart(); } ?> | <!–tag_average_comments–> |
| Average Posts/Month | <?php if (function_exists(’dz_average_posts_chart’)) { dz_average_posts_chart(); } ?> | <!–tag_average_posts–> |
| Current Month Posts | <?php if (function_exists(’dz_current_month_posts_chart’)) { dz_current_month_posts_chart(); } ?> | <!–tag_current_month_posts–> |
| Comments for this article | <?php if (function_exists(’dz_comments_for_this_post_chart’)) { dz_comments_for_this_post_chart(); } ?>
If you select ‘Yes’ for the ‘Add to Post’ option below then it is not required to use the above tag in your template. |
No special content tags. Just select ‘Yes’ for “Add to Post” option for this chart. |
| Total Posts | <?php if (function_exists(’dz_total_posts_chart’)) { dz_total_posts_chart(); } ?> | <!–tag_total_posts–> |
When you are ready to insert the Gauge you may just use the tag as shown in the screenshot below






3 Comments
I’m very interested in this plugin but it doesn’t seem to be displaying the gauge. I have it running on WordPress MU 2.6.2 and using the tag in posts. The links display but the guages do not. Any ideas?
Thanks,
Steve
Yeah I have the same problem as Steve. The gauge is not showing in the dashboard or the post/page. I also use 2.62. Any solutions to this?
Just an update. Upgrading my Wordpress intsallation to 2.63 fixed the problem
One Trackback
[…] How to add Gauges in your wordpress articles? […]