jaredatch/Custom-Metaboxes-and-Fields-for-WordPress — Issue #55: Money field should be replaced
Author: stompweb
Created: 2011-12-13 21:37:36+00:00
State: open

First of all, great asset guys - I've just used it for the first time and loved it.

My slight issue is with the money field having $ hard coded in. I can't see an easy way to pick up currencies so I'm not going to suggest that.

However, instead when entering a text field how about having pre and post labels?

So for example if you had money you could have:

array(
'name' => 'Test Money',
'desc' => 'field description (optional)',
'id' => $prefix . 'test_textmoney',
'type' => 'text'
'pre' => '$'
),

Or if you had a measurement you could have...

array(
'name' => 'Test Length',
'desc' => 'field description (optional)',
'id' => $prefix . 'test_textmoney',
'type' => 'text'
'post' => 'cm'
),

This would then work for multiple currencies/measurements.

Thanks again and hope you take this suggestion on board.

Cheers,
Steve