0 weeks ago
Have you ever wanted to calculate some values dynamically to display in your posts? Let’s say you have some shortcodes that retrieve values in real time from the database. Now you want to perform some calculations on those shortcodes and display the results in your posts or pages. This plugin allows you to use a simple [calculate] shortcode with the expression inside to display these values in real time! So an expression like [calculate]2+3*4[/calculate] will return the value “14”. Now just replace any numeric value with a shortcode that returns a number and you’re set. Attributes You can use the “dec” attribute to specify the number of decimal digits you want to round the result up to. The default is “0”. Meaning that by default, all results will be rounded to an integer. For international number formatting, you can use the “int” attribute to specify a locale. For example, int=”fr_FR” will format the numbers according to the french locale! See screenshots for illustrations. For example, you can use this to display values in a table that are constantly changing. Or refer to dynamic prices multiplied by some value. The possibilities are endless. You can see a real world example of this plugin at work here: The best part is, it doesn’t use dangerous functions like “eval” to work – which...
Sorry, pal! The plugin couldn’t pass all our tests. No hard feelings, right?
This section is not meant to be comprehensive.
Why don’t you compare the plugin side by
side with another plugin”