• Resolved lklawless

    (@lklawless)


    How can I hide the author and date listed at the end of each post and on the index page? I tried putting this in custom CSS:

    .entry-author-link,
    .entry-date {
    display: none;
    }

    It left the author there, and hid the date but not the word “date.”

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi you can put this code in:

    #primary .entry-meta {
    display: none;
    }

    Thread Starter lklawless

    (@lklawless)

    Hi,

    Thanks for responding. I should have mentioned that I tried that already too, but it hides everything. I do want to see category, tags, etc.; all I want to hide is date and author.

    this will make the text invisble… but it doesn’t mean the other links will move up automatically…

    #primary .entry-meta .posted-on {
    display: none;
    }

    #primary .entry-meta .author {
    display: none;
    }

    you could also remove the declarations to them in the php file.. are you working with a childtheme?

    you could also add this:

    .entry-meta li:before, .posted-on li:before {
    display:none;
    }

    that will remove the bullets in front of the text and move the text up

    Theme Author stephencottontail

    (@stephencottontail)

    Get a custom CSS plugin and use this code:

    .entry-meta .posted-on,
    .entry-meta .author {
    	display: none;
    }

    Unfortunately, right now using that code won’t hide the little purple diamond. Furthermore, you can only hide all of the little purple diamonds at once, with this code:

    .entry-meta li:before {
    	content: '';
    }

    EDIT: Thanks for responding, Cindy. That was a mistake on my part, and I will be updating the theme in the next couple of days to fix that issue.

    Thread Starter lklawless

    (@lklawless)

    Thank you. I don’t know how to make a child theme. I’m just putting this code in the “Edit CSS” page under Appearance.

    It looks kind of stupid with two empty bullets now. Which PHP file are they in?

    Thread Starter lklawless

    (@lklawless)

    Thank you Stephen. I’d rather have no bullets than two empty bullets – it looks good now.

    Thank you both for your quick help!

    No worries @stephencottontail and @lklawless glad I could help a little ??

    Theme Author stephencottontail

    (@stephencottontail)

    Hi @lklawless,

    I just wanted to inform you that I’ve submitted the fix to the repository. I’m not sure how long it’ll take to be approved, but in the meantime, I’ve provided this Pastebin: https://pastebin.com/Um2NtXuy. For now, you can replace the contents of inc/template-tags.php with the contents of the preceding paste. Then, add this CSS to your custom CSS plugin:

    .entry-meta li::before, #comments .comment-meta li::before {
    padding-right: 15px;
    }
    
    .entry-meta .meta-text, #comments .comment-meta .meta-text {
    margin-left: 0;
    }

    Be aware that any changes you make to the theme files will be overwritten when the updated version of the theme is approved. However, since the contents of the paste are the same as the code in the updated version, you’ll be okay.

    Thread Starter lklawless

    (@lklawless)

    Thank you, Stephen.

    Theme Author stephencottontail

    (@stephencottontail)

    Hi @lklawless,

    I just wanted to inform you that version 1.0.2.1 has gone live and it contains the fixes from this thread. Thanks for using Jester, and a review would always be appreciated.

    Thread Starter lklawless

    (@lklawless)

    You got it! ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Hide author and date’ is closed to new replies.