Timeless Text for ClassicPress
I have 20 years of PHP development experience.
We have 35 years of combined experience!
It all began 2 years ago when...
You've probably seen the phrases. These are common phrases you can find on a great number of websites, often on an "About Us" or bio page. How many of those sites will remember to update those numbers each year? With the Timeless Text plugin, those phrases will be automatically updated to ensure they never fall out of sync.
Frequently Asked Questions
Can I suppress the text part and just use the number?
Yes. See the documentation.
Can this plugin handle cumulative values?
Yes. Cumulative values are useful for texts like, "Our staff has n years of combined experience." You will find instructions in the documentation.
What happened to the "Years Since" plugin?
I wrote the "Years Since" plugin for WordPress a few years back, but, transferred ownership to another trusted developer, Laurence Bahiirwa, when I moved to ClassicPress. The "Timeless Text" plugin is a complete rewrite of "Years Since", includes additional features, a proper update mechanism, and is built specifically for ClassicPress.
Changelog
Version 2.0.0
MAR-14-2020
- Finalize the rename from Years Since to Timeless Text.
- Add update client.
Version 1.0.0
APR-08-2018
- Initial release
License
The Timeless Text plugin is released under the General Public License.
Installation Requirements
- ClassicPress 1.0.0 or later
- PHP 5.6 or later
Manual Installation
- Download the zip file to your local computer
- Login to your ClassicPress website.
- Navigate to
Dashboard > Plugins > Add New > Upload Plugin
- Upload the plugin zip file to your site
- Click to
Install
the plugin - Click to
Activate
the plugin - See the documentation for next steps
Standard Installation
- Login to your ClassicPress website.
- Navigate to
Dashboard > Plugins > Add New
- Search for
Code Potent
orTimeless Text
- Find the
Timeless Text
plugin in the results - Click to
Install
the plugin - Click to
Activate
the plugin - See the documentation for next steps
Note: This method will be available when the official ClassicPress plugin directory is ready.
Checksums – Coming Soon
Checksums allow you to verify the integrity of the plugin file.
Conflicts
There are no reported conflicts between the Timeless Text plugin and other ClassicPress plugins or themes. If you experience something unexpected, please send an email!
Usage
The plugin is based on shortcodes. See the Shortcodes section for full details.
Shortcodes
To Calculate Elapsed Years
To process a single date into the number of elapsed years, use the following format.
Usage
[timeless-text y=2000 m=3 d=15 text=false]
Arguments
- y
Required The year value of the date to calculate. - m
Optional The month value of the date to calculate. Defaults to 1. - d
Optional The day value of the date to calculate. Defaults to 1. - text
Optional Set to false to suppress the text portion and only return the integer value. Defaults to true.
Examples
I have [timeless-text y=2000 m=1 d=1] of experience with web development.
It all began just [timeless-text y=2000] ago.
So, there we were...that was [timeless-text y=2000 m=11 text=false] long years ago.
To Calculate Combined Years
To process a series of dates into a cumulative number of elapsed years, use the following format.
Usage
[timeless-text combined="2000-03-14, 2010-03-14, 2000-03-14, 2010-03-16" text=false]
Arguments
- combined
Required The date values to calculate for cumulative years, comma-separated. - text
Optional Set to false to suppress the text portion and only return the integer value. Defaults to true.
Examples
Together, we bring [timeless-text combined="2012-03-14, 2010-01-18"] of combined experience to your team.
Note: You must provide 2 or more dates. separated by commas. Each date must include the year, month, and day. You can use hyphens or forward-slashes between those numbers.
Share Your Experience
Had a great experience with the Timeless Text plugin for ClassicPress? Share your thoughts and get a link back to your site! Emails are not shared or published.