Remove "Posted on" from homepage

  • Author
    Posts
  • #111722
    eveliensanne
    Member

    Hello! 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)

    #111897
    eveliensanne
    Member
    Original poster

    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?

    #111913
    ricardpriet
    Theme Author

    Hello 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 SiloCreativo

    #111933
    eveliensanne
    Member
    Original poster

    Hi 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.

    #111978
    ricardpriet
    Theme Author

    Hi,
    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-nickname

    Thanks again!
    Ricardo P. from SiloCreativo

    #112043
    eaomarketing
    Member

    Hello – 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?

    #112044
    ricardpriet
    Theme Author

    Hello 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.