-
-
- Submit Updated Articles to Bing and Yandex with IndexNow in Joomla
- Add Published and Modified Date Meta Tags to Joomla
- Add Open Graph and Twitter Card Tags to Joomla
- Auto-Generate Meta Descriptions from Article Text in Joomla
- Add Noindex to Specific Pages in Joomla
- Verify Your Joomla Site with Google Search Console
-
- Add a View as Markdown Link to Joomla Articles
- Display the Last Modified Date in Joomla Articles
- Embed Iframes in Joomla
- Automatically Link Twitter (X) @mentions in Joomla Articles
- Open External Links in a New Tab in Joomla
- Display Estimated Reading Time in Joomla Articles
- Replace Old URLs in Joomla
- Search and Replace in Joomla
-
- Add a Footer Line to the Joomla Administrator
- Show a Staging Banner in the Joomla Administrator
- Remove the "All" Option from Admin List Limits in Joomla
- Add a Cookie Consent Banner to Joomla
- Make the Administrator Navigation Sticky in Joomla
- Add Google Fonts to Joomla
- Add a Facebook Messenger Chat Button to Joomla
- Add a Reading Progress Bar to Joomla
- Add a Custom Scrollbar to Joomla
- Show Confetti on a Thank You Page in Joomla
- Add Smooth Scrolling to Joomla
- Add a Back to Top Button in Joomla
- Add a WhatsApp Chat Button in Joomla
-
- Protect the Administrator with a Secret URL Key in Joomla
- Show a Welcome Message on First Login in Joomla
- Log Out Idle Administrators in Joomla
- Assign New Users to a Different User Group Automatically in Joomla
- Redirect Visitors by Country in Joomla
- Redirect Users After Login by User Group in Joomla
- Block User Registration with Certain Usernames in Joomla
- Block User Registration by Country in Joomla
- Block User Registration by Email Address in Joomla
- Block User Registration by IP Address in Joomla
- Remove the Forgot Password and Username Links in Joomla
- Remove the Generator Meta Tag in Joomla
- Let Users Log In with Their Email Address in Joomla
- Block Traffic by Country in Joomla
- Block Bot Traffic in Joomla
- Block Traffic by IP Address in Joomla
Display the Last Modified Date in Joomla Articles
Show readers how fresh each article is with a "Last updated on" line at the end of every Joomla article, in your own wording, using one HTML snippet.
A tutorial you rewrote last month still reads as if it dates from 2019, because the only date on the page is the publish date. Joomla can show the modified date in the details block at the top, in the same format as everything else there. If you'd rather have a plain "Last updated on" line at the end of each article, in your own wording, you can add it to every article in Joomla with one HTML snippet in Code Snippets. A smart tag fills in the date, so the snippet is a single line of HTML.
How to add this snippet
- Install Code Snippets if it isn't installed already.
- Log into your Joomla backend.
- Go to Components → Tassos Code Snippets.
- Click New.
- Enter a title, for example Last updated date.
- Set Code Type to HTML.
- Set Insertion Method to Auto-Insert Locations.
- Set Location to After Article Content.
-
Paste this code into the editor:
<p class="tcs-last-updated">Last updated on {tcs article.modified --filter=re:\s.*}</p> - Click Save & Close.
The line shows on single article pages only. Category blogs and the featured page stay as they are.
The Article locations are part of Code Snippets Pro. With the free version, type the line from the snippet at the end of the article text instead: Code Snippets replaces smart tags inside articles too, on single article pages.
To show the line only in some categories, use Conditional Logic on the snippet instead of changing the code.
How the snippet works
The snippet is one paragraph. When the page renders, Code Snippets replaces the {tcs article.modified} smart tag with the modified date of the article on the page. Change the text before the smart tag to your own wording, and keep the tag as it is.
Joomla stores the modified date as "2026-10-15 08:28:06", in UTC, and that's what the tag prints on its own. The --filter=re: option removes whatever matches the regular expression after it, here the space and the time behind it, so only "2026-10-15" is left. Remove the option to show the time as well.
An article that has never been edited shows its creation date, because Joomla sets both dates when the article is created. The line is a plain paragraph with the class tcs-last-updated, so a CSS snippet can style it.
Check that it works
- Open any article on your site.
- Scroll to the end of the text.
A line reads "Last updated on 2026-10-15", with the article's own date. Edit the article, save it, and reload the page: the date moves to today.
Other article data works the same way. {tcs article.created} prints the creation date, and {tcs article.user.name} the author's name.
To show how long an article takes to read, see Display Estimated Reading Time in Joomla Articles. To learn more about how HTML snippets work, read the HTML snippet docs.