show time of post together with date
-
After some years, I noticed that the posts on my blog show only the publication date and not the time. (I tried a couple of different themes, so I think I can exclude it is an effect of the theme). Following the advice of https://www.ads-software.com/support/topic/show-post-date-and-updated-date/ , since at that point I would also add modification date, I added in Additional CSS the snippet
.posted-on .updated { display: inline-block; } .posted-on .updated + .entry-date { display: !important; } .entry-date:before { content: "Pubblicato il: "; } .posted-on .updated:before { content: "Aggiornato il: " !important; }
Now the text before entry-date is the one I put, but time still eludes me. Looking at the source code of the blog page, I see
<a href="https://xmau.com/wp/notiziole/2022/11/22/perche-bookwyrm-non-puo-funzionare/" title="04:04" rel="bookmark" class="entry-date"><time datetime="2022-11-22T04:04:39+01:00" pubdate>2022-11-22</time></a>
and I don’t understand why the time is put in a title parameter. Could somebody help me?
The page I need help with: [log in to see the link]
- The topic ‘show time of post together with date’ is closed to new replies.