WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Drug Half-Life Calculator

A simple calculator to get the known half-life for medications you're taking.

How do I display in posts or pages?

Use the shortcode [halflife] wherever you want it to appear on your post or page.

Is there a PHP template tag?

Yes, use the code <?php do_shortcode( 'halflife' ); ?> anywhere in your theme to display the calculator.

How do I remove the attribution in the Widget?

Check the "remove attribution" option on the widget admin.

How do I remove the attribution in the shortcode?

Add the attribute remove_attrib="yes", so the full shortcode would be '[halflife remove_attrib="yes"]`.

Can I change the title?

Yes, using the widget admin. The shortcode does not print a title so you may simple type a title above the shortcode.

Requires: 2.8 or higher
Compatible up to: 3.5.2
Last Updated: 2013-1-1
Downloads: 885

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1
100,1,1