Remove "Posted on" from homepage
-
AuthorPosts
-
eveliensanne
MemberHello! We have happily started using the silvio theme for our blog and we really like it.
We tried to remove the “posted on [date]” tag on each photo block on the homepage and in each individual blog post. We were able to remove the date by using
.entry-date { display: none; }
but the text “Posted on” still remains.
Is there a way to remove “Posted on” so that it only says “By [author]”?
Thanks so much!
The blog I need help with is: (visible only to logged in users)
Our guess is that we should edit the .php file to be able to do this? Can you explain to us where to find it and how to edit it?
ricardpriet
Theme AuthorHello eveliensanne,
Thank you for writing and using Silvio!Yes, you can hide it using CSS. Here you are the code you have to add:
.posted-on { display: none !important; }
If you want to have the “by [author]” with capital “B”, the add this extra CSS:
.entry-meta .byline { text-transform: capitalize; } .entry-meta .author { text-transform: none; }
Hope this helps :)
Thank you again!
Ricardo P. from SiloCreativoHi Ricardo,
Thank you so much! It worked :-)
By the way, is there a way to insert a custom author name instead of the default WordPress username? We have two authors on our blog, but one of us would like to use a different author name than the actual WordPress username of her account.
ricardpriet
Theme AuthorHi,
fantastic! Nice to hear that :)About your question, yes it is! Simply follow this tutorial:
https://en.support.wordpress.com/change-your-username/#change-display-name-nicknameThanks again!
Ricardo P. from SiloCreativoeaomarketing
MemberHello – This is Emily Olsen. I am using this theme also and like it. But I would like to remove the reading time. Is there a way to do this as well?
ricardpriet
Theme AuthorHello Emily,
Thank you for using Silvio!Yes there is, adding the following CSS:
.entry-meta .reading-time { display: none !important; }
Let us know if it does/does’t work please :)
Thank you again,
Ricardo P. from SiloCreativo
- The topic ‘Remove "Posted on" from homepage’ is closed to new replies.