I currently am working on writting a custom php script, that is being imported to a Word Press page through PHP via the ‘insert-PHP’ plugin. But that is not the intent of this post. Inside my script I have it print prices, such as ‘$25.00’, through echo. Outside of Word Press it works wonderfully, and without the ‘$’ symbol it continues to work. However, with the ‘$’ symbol, while in Word Press, it removes everything from the ‘$’ symbol to the next space, period, or non integral character.
This means that ‘$25.00’ Turns into ‘.00’.
My question, is does Word Press have any built in filtering that is, well, filtering this out? If so, is it possible to override this filter and not remove these characters?
Thanks in advance,
- The topic ‘$25.00 turns into .00, Is something removing my punctuation and numbers?’ is closed to new replies.