Auto increased dates through the power of shortcodes and Magic Dates plugin!
If you are like me, you are probably responsible for updating content in (some) of your clients' sites. Have you ever had pieces of content like these:
Then, at some point next year your client calls and tells you to update the "11 years" to "12 years". Wouldn't be great if these number could be auto-increased? And that's where "Magic Dates" comes to play.
How to use it:
Whenever you find yourself writing content in the editor, at the moment that you need an auto-increased number of years use the plugin like this:
[magicdate]2005[/magicdate] => This will produce 6
If you want an ordinal number (1st, 2nd, 3rd etc) use it like this:
[magicdate ordinalize='true']2008[/magicdate] => This will produce 3rd
use the [magicdays]YYYY-mm-dd[/magicdays] shortcode to calcumate the number of days between today and the given date