Use the in your template to display the switcher.
Pass the stored value as the parameter and unit of measurement as the second value..
The shortcode requires two parameters unit and value ..
Parameters * $variable The stored value * $primaryunit The unit * $round Number of digits to round to.
Upload unit-switcher to the wp-content plugins directory.
Visit the plugin settings to add units of measurement.
Use the function or shortcode to display the switcher...
Substitute the unit with X in the formula to equal the formula.
So, to set unit of inches for unit of feet, the formula should be set to X*12...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more