Created
April 26, 2022 16:21
-
-
Save hivepress/66c6fa13c0f0b7dcf4000ff007ce6388 to your computer and use it in GitHub Desktop.
Hide the listing publication date #hivepress #listings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hp-listing--view-block .hp-listing__created-date, | |
.hp-listing--view-page .hp-listing__created-date { | |
display: none; | |
} |
It's a CSS snippet, please try adding it to the Appearance/Customize/Additional CSS field.
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 ?
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
this comes back with this error, any ideas?
"Snippet automatically deactivated due to an error on line 1:
Syntax error, unexpected token ".", expecting end of file"