If you write an article on your WordPress site — a how-to article in particular — you need to regularly edit it in order to make it keep relevant. The problem is, your readers will never know the last updated date of your article unless you display the date. This article will show you how to display the last updated date of an article in Elementor.
In WordPress itself, there are several ways to display the last updated date of an article, depending on the theme you use. In most cases, you can display the last updated date by adding a new function on the functions.php file of your theme. If you use Newspaper theme by tagDiv, you can display the last update date via the tagDiv Composer.
When creating a single post template with Elementor, you can use the Post Info widget to display the post meta (date, author, and so on). By default, there are four pieces of information displayed by this widget: Author, Date, Time and Comments. You can edit one of those items — or add a new one — to display the last edited date.
Note: The Post Info widget is only available on Elementor Pro. Find the differences between Elementor Free vs Elementor Pro.
First off, drag the Post Info widget to an area of your page where you want to display the last edited date. Next, go to the left panel to make the settings. Select one of the items (or add a new one) and change its type to Custom.
Click the Dynamic link on the Custom option and select Post Date.
Click the wrench icon on the Post Date field and change the type to Post Modified. Set the date format by clicking the dropdown menu on the Format option.
To add a text before or after the date, you can click the Advanced option.
Not only displaying the last updated date of an article is important to let your readers know that the article they are reading is updated. It’s also important for an SEO purpose. Search engines tend to love webpages that are regularly updated because this means that the articles are more relevant to the readers.