Changing post header meta visibility
-
Hello Tomas,
I’ve trying to figure out the logic behind entry meta data visibility. It seems to me that the default configuration always displays the ‘published’ date, even though ‘updated’ exists.
Apparently you’ve chosen to control visibility with CSS
.updated:not(.published) { display: none; }Although I can’t figure out what it is supposed to do.
I’m particularly interested in displaying ‘updated’ time for the purposes of SEO. because now even recently updated content seems out of date in Google SERP.
What I will likely to do is to modify the
functions.phpto include only ‘updated’ date when it exists as my variation of Tiny theme does not reveal the significance of the date anyhow.Referring to this:
<div class="entry-meta"> <span class="posted-on"> <span class="screen-reader-text">Julkaistu </span><a href="https://saunologia.fi/suomalaiset-kiukaat/" rel="bookmark"> <time class="entry-date published" datetime="2016-04-30T09:20:20+00:00" itemprop="f-512">30.04.2016</time> <time class="updated" datetime="2018-06-08T15:10:19+00:00">08.06.2018</time></a></span> </div>Lassi
The topic ‘Changing post header meta visibility’ is closed to new replies.
