I only want the date on my post how do i get rid of the author from showing?

I would like if my post will only show the date and not the author. Can you help me out with that please?

  • Patrick

    Hi there @Brandon

    I hope you're having a great day!

    Unfortunately, the solution proposed by @coremedia won't work on your theme (iSloping). Otherwise it's an excellent solution that works on most themes.

    The reason is that the post-meta (the stuff like date, author, category, etc) is in a container element that does not have a specific CSS class or ID. So it cannot be target as suggested above.

    That doesn't mean that it cannot be done; just that we have to use a different CSS selector to snag it. Here, we're gonna be happy that the nth-child() selector exists, 'cos we're gonna need it. :slight_smile:

    This should work to remove the author from the post-meta on your theme:
    .post-meta span:nth-child(2) {display:none;}

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.