Archived topic
Disable "Last Updated" Date Link
3 replies · Started by Spencer on June 10, 2020
Hi - I have changed my posts to disable the last updated date with CSS. However, there is a hyperlink from the post updated date back to the post. How can I remove that hyperlink? I tried a few of the PHP code examples but I think they were for if you are still using the posted date.
Here is what my CSS looks like:
.posted-on .updated {
display: inline-block;
}
.posted-on .updated:before {
content: "Updated ";
}
.posted-on .published {
display: none;
}
Hi there,
Have you tried this one?
https://docs.generatepress.com/article/generate_post_date_output/#remove-link-from-date
Adding PHP: https://docs.generatepress.com/article/adding-php/
Let me know :)
Thanks, resolved with that link.
No problem :)