-
philipperoussel
Hi,
I missed entirely that the last updated text only appears if the post has been updated… ): Thank you!
As for entirely deleting the update mention and its date for a specific post category (my question 2/), the code given by David does not seem to work. The category’s slug is guest-interview and I tried the following:
.single-post article:not(.category-guest-interview) .posted-on .updated:before {
content: “Last Updated “;
}Thanks again for your help.
-
Have you removed this CSS which is the 1st step David mentioned?
.posted-on .updated:before { content: "Last Updated " }
-
philipperoussel
Yes. All I have left is this:
.posted-on .updated {
display: inline-block;
}.posted-on .updated + .entry-date {
display: none;
}
.single-post article:not(.category-guest-interview) .posted-on .updated:before {
content: “Last Updated “;
} -
Then it should work.
Can you link me to a post that is in category guest interview?
Let me know 🙂
-
philipperoussel
-
Alvind
Hi there,
The post you linked above is under the “Guest Interview” category. Based on the CSS you’ve added, the “Last Updated” text won’t be applied to this category.
-
philipperoussel
Hi Alvind,
The “Last Updated” text is not applied to this category (guest-interview) but the date does appear. How do I get rid of it as well for this category?
Thank you.
-
Try adding this CSS as well:
.single-post .category-guest-interview span.posted-on { display:none; }
-
philipperoussel
Beautiful! Thank you.
-
No Problem 🙂
- You must be logged in to reply to this topic.