Thanks for the additional suggestion.
My reservation with that approach is that it does not account for pluralization, so end-users would have to manually update (add or remove the “s”) to keep the language correct (ie, 1 year, 2 years). Since the goal of the plugin is to create an automatically updating experience, I’ll be unable to implement the feature in this way.
Instead, I’ve added another parameter to the shortcode to suppress the text. Simply add text=false
to your shortcode and only the number will be returned.
I’ve pushed this change out, but found that my version numbers didn’t work properly to trigger the update notice in the dashboard. Sorry about that; the new version is corrected so update notices will work as expected. Please deactivate, delete, then re-install the plugin and you’ll be all set. There’s no need to delete any shortcodes you may have already placed – they’ll be fine through deletion/re-install.
Let me know if you run into any trouble.
Cheers!
Thanks again for the suggestion!