[Resolved] Remove Links from date/author

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Remove Links from date/author

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #19038
    Tom
    Keymaster

    Thanks!

    Try this CSS:

    .wp-show-posts-separator {
        display: none;
    }
    
    .wp-show-posts-byline {
        border-right: 1px solid #ddd;
        margin-right: 5px;
    }
    #19043
    Chris
    Participant

    Thanks Tom! That’s just about got it. The border was clashing with descenders in the title line, so I added some space above it. Also because the border can’t be spaced like type, some letter combinations were making the spacing jarring (my fault for having an author name that ends in ‘l’ 😅).

    .wp-show-posts-separator {
        display: none;
    }
    
    .wp-show-posts-entry-title {
        padding-bottom: 5px;
    }
    
    .wp-show-posts-byline {
        border-right: 1px solid #ddd;
        padding-right: 1px;
        margin-right: 4px;
    }

    Would it be a pain to change it so the author name is followed by a comma?

    Author Name, September 1, 2020

    That would clear up everything.

    But if it’s not possible, I can certainly live with a few pixels of wonky spacing!

    #19084
    Tom
    Keymaster

    Give this a shot:

    .wp-show-posts .author-name:after {
        content: ", ";
    }
    #19095
    Chris
    Participant

    Beautiful! Just what I was hoping for.

    Thanks!

    #19130
    Tom
    Keymaster

    You’re welcome 🙂

Viewing 5 posts - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.