=== Years Since === Contributors: laurencebahiirwa Tags: date, update, updater, time, span, year, automated, references Donate link: https://omukiguy.com/ Requires at least: 4.9 Tested up to: 5.2.0 Requires PHP: 5.6 Stable tag: 1.2.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Keep date related texts up to date automatically. Texts like "I have worked for x years in web dev" in articles are outdated within a year. Allow your content to age well seemlessly. == Description == This plugin allows your content to age well and manages the date related texts automatically. Keep date related (time-span references) texts up to date automatically. Texts like "I have worked for x years in web dev" in articles are outdated within a year. Allow your content to age well seemlessly. == Usage == For example, on an "About" page text, you might have something like: In classic Editor: > We've worked remotely for [years-since y=2012], which has allowed the team to spend more time traveling and spending time with family. Or, if you wanted to update a time span on a particular anniversary, you could do something like: > I'm [years-since y=1990 m=5 d=16] old. In Block Editor/Gutenberg: Wrap the old text with new shortcode [years-since-gb] like: > [years-since-gb]I'm [years-since y=1990 m=5 d=16] old.[/years-since-gb]. This will still work even if you revert back to the Classic Editor seamlessly. == Installation == * Navigate to your plugins admin page. * Search for "years since" and download the plugin. * Install using the plugin admin interface. == Frequently Asked Questions == **Does it work with Gutenberg?** Yes. If you have been using this plugin previously, the new editor brings breaking changes. You can manage that well. Wrap the old text with new shortcode [years-since-gb] like: [years-since-gb]I'm [years-since y=1990 m=5 d=16] old.[/years-since-gb]. This will still work even if you revert back to the Classic Editor seamlessly. **Does it work with ClassicPress?** Yes. == Changelog == ## 1.2.0 * Add Gutenberg support ## 1.1.0 * Add Gutenberg note to readme. ## 1.0.1 * Translate returned errors. * Shortcode parameter to suppress "year" and "years" text. ## 1.0.0 * Initial creation.