Skip to content

Instantly share code, notes, and snippets.

@hivepress
Created April 26, 2022 16:21
Show Gist options
  • Save hivepress/66c6fa13c0f0b7dcf4000ff007ce6388 to your computer and use it in GitHub Desktop.
Save hivepress/66c6fa13c0f0b7dcf4000ff007ce6388 to your computer and use it in GitHub Desktop.
Hide the listing publication date #hivepress #listings
.hp-listing--view-block .hp-listing__created-date,
.hp-listing--view-page .hp-listing__created-date {
display: none;
}
@marvinbik
Copy link

marvinbik commented Feb 18, 2024

This works when removing the date and the author from the listings
what about the blog posts how can we remove the date and the author ?

@hivepress
Copy link
Author

The blog layout is implemented by the theme you're using (not HivePress plugin), but if you use one of our official themes, then this CSS snippet may work:

.post__date,.post__author{display:none!important}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment