I uploaded a more clear screenshot, please take a look.
The screenshot was taken on this woodmart single post demo page:
https://woodmart.xtemos.com/blog/2016/07/23/minimalist-design-furniture-2016/demo/decor/
As you can see, below the post title, there is a word “post”. I use chrome’s developer tool to check this element and found that it has codes like this:
<li class=”modified-date”><time class=”updated” datetime=”2019-01-02T16:46:18+00:00″>January 2, 2019</time>
My question is:
I am trying to modify the theme to show updated date instead of publish date for posts.
It seem Woodmart has already pull the update(modified) date data from the database by default, but just not showing on the frontend.
I was wondering how can I show the post modified date on the frontend?
I tried to add some codes in content.php to show post modified date. It did work, but the problem is there will be two identical “post modified date” within a single post, and since by default the theme has already pull the modified date data, I would like to know how to make that data visible?
Attachments:
You must be
logged in to view attached files.