Remove Author

  • Author
    Posts
  • #128687
    dearproducer
    Member

    I found code that removes both the author and date from blog posts but I would like to remove the author but keep the date. Does anyone know how to do this?

    The blog I need help with is: (visible only to logged in users)

    #128795
    designorbital
    Theme Author

    Hi,

    Please try the following CSS Snippet.

    /* Remove Author */
    .byline {
        display:none;
    }
    
    /* Remove author separator */
    .hentry .entry-meta ul li:nth-child(2):before {
        display: none;
    }

    Thanks

    #128834
    dearproducer
    Member
    Original poster

    Worked like a charm! Thanks so much for the quick feedback.

    #128895
    designorbital
    Theme Author

    Thanks for your valuable feedback.

    #128949

    Hi, I’d also like to remove author but keep the date. I added the above snippet to my site’s CSS but it doesn’t seem to have stuck.

    My site is HastingsCottageDesigns.com

    Thank you!

    #128962
    designorbital
    Theme Author

    Hi,

    Dicot theme is not active on your blog and the above snippet will work for the Dicot theme.

    Thanks

  • The topic ‘Remove Author’ is closed to new replies.