• Resolved Colleensauve

    (@colleensauve)


    I am using the Canard theme, and I am treating the “featured” posts as if there were pages that will remain the same on the homepage. Therefore, I would like to remove the post author information from all posts. How can I do that?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    The simplest way to remove the post author information is with some custom CSS.

    To add custom CSS: Firstly set up a child theme or activate a custom CSS plugin. (If you have Jetpack installed then you can activate its custom CSS module.)

    Enter the following snippet in either the editor for your CSS plugin or the style.css file of your child theme:

    .author, .entry-summary+.entry-meta>span:not(:first-of-type):before {
        display: none;
    }

    If you’d like to remove all post meta information (including the date) then use the following:

    .entry-meta {
        display: none;
    }

    Let me know how you get on with that or if extra questions come up.

    Thread Starter Colleensauve

    (@colleensauve)

    Thank you that resolved the issue. However can I also eliminate the date on the post too?

    I am new to this CSS stuff, but I’m guessing it’s something like:

    .date {
    display: none;
    }

    ???

    The CSS needed to hide the date on individual posts is as follows:

    .entry-footer .posted-on {
        display: none;
    }

    If you’re curious about how I found the needed CSS: I used my browser’s built in tools to inspect the theme’s existing CSS and experiment with the specific CSS for your needs. We have guidance on how you could use your browser’s tool in a similar way here:

    https://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/

    Hope that helps! I’ll be happy to answer any other questions that may come up too.

    Thread Starter Colleensauve

    (@colleensauve)

    It does help! Awesome insight. Thank you for this. Have a great day.

    You’re most welcome! Hope you have a lovely day too.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove Post Author Info from Posts’ is closed to new replies.