Years Since – Timeless Texts


Kuma byowandikka kumulembe mubudde. Ekiwandikidwa nga “Nkoledee mwaka x.” kisobola okufukka ekitategelwa mu mwaka gumu. Years since ekuma “x” mu biwandikko byo mulembe omutuffu.


A year must be provided in your text by the attribute “y” such as [years-since y=2012].
As an option, Months by referencing “m” and day by using “d”. Months and day default to “1” if not added in the shortcode.

Nga ku kiwandiko kyona mu bigambo, oyinza okubera ne:

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.

More attributes

Add specific HTML tag to the calculation with the html attrribute e.g.

[years-since y=1990 html=span] will wrap the output in a span tag.

Add a text attribute with value false i.e.
[years-since y=1990 text=false] will remove the text years from the calculation.

It will output 23 instead of 23 years.


  • Fix: Breaking month and day output.
  • Add: Testing for WP 6.5.2
  • Add: Require PHP 8.2.0
  • Add: Require PHP 7.4
  • Add: Function arguments and Return Type hinting.
  • Add: A testing framework with pest with CI.
  • Fix: Deprecate Editor poylfill function for the block editor.


  • Fix: Breaking change HTML Default argument paragraph html attribute as “p” for the shortcode output.


  • Fix: Restore minus text format for the calculations.
  • Add: Translations file build + .pot.
  • Add: Default attributes for the shortcode.
  • New: HTML Default argument paragraph html attribute as “p” for the shortcode output.


  • Fix: Time calculations and messaging.
  • Test: WP 6.3.1.
  • Test: PHP 8.2.10.


  • Terezza oba ku ||


  • Kozessa Namespace okujamu ebinatataganya PHP.
  • Terezza html nga [years-since-gb] ekozeseddwa.
  • Kebera oba kakola lu WordPess ey’omutindo gwa 5.6.


  • Yongera emitendera egikola nga ogattako enaku, emyezzi, sabitti mukifo kya myaka nga ebanga teriwezza mwaka.


  • Okwongera ko ebya Gutenberg


  • Yongera Gutenberg mu biwandiko.


  • Okuvunula kulesse ebitakoze bulungi.
  • Ebyetagissa mu Shortcode okunyigiriza ebigambo “Omwaka” ne “Emyaka”.


  • Okukolebwa Okwasokka.


  • Sample shortcodes added in the editor.
  • Preview of the shortcodes on the front end.


  • Genda w’olabira ebya pulagini.
  • Nonya “Years Since” olyokke offune pulagini eno.
  • Pulagini gifune ewabera pulagini.


Ekola ne Block Editor oba Gutenberg?


Ekola ne ClassicPress?

Ye. Plugin eno ejakola bulungi n’ebwokozessa Classic Editor.

Nsobola ntya okuyambako?

Loppa ebitateredde wano atte osobola okusindikka ebiterzza mu kodi nag oyita ku github


Muzigo 4, 2024
Does its job really well. It’s very useful on my website to show how long I’ve been in business without having to worry about updating it each year! Thanks
Ogwekkumi (Mukulukusa) 6, 2023
this is a unique plugin with only one job that maybe you would not need in every website, but it is very useful, and it does its job wellThanks for updating it!
Ogwomwenda (Mutunda) 24, 2020
A well-thought-out solution, sleek and elegantly coded. I love the functionality that allows for days, months and weeks instead of 0 years when time passed is less than a year. Congratulations @laurencebahiirwa and a big thank you!
Read all 6 reviews

Contributors & Developers

“Years Since – Timeless Texts” is open source software. The following people have contributed to this plugin.


“Years Since – Timeless Texts” has been translated into 5 locales. Thank you to the translators for their contributions.

Translate “Years Since – Timeless Texts” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.