Support » Fixing WordPress » How to hide author name, date, and category name on post?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there. Those aren’t the classes being used on the page.

    Try adding these to the Customizer:

    p.meta.cat {display:none;}
    .meta-single .author {display:none;}
    .meta-single p.meta.date {
        margin-left: 0;
    }

    The last one moves the date back over to the left when the author is gone.

    Thread Starter kyusanglee1

    (@kyusanglee1)

    It works like magic! Thank you very much.

    But it made a big, white space between the title and the date. How can I remove the gap? And it would be greatly appreciated if you let me know how to remove the date below the title as well.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not an Everything else WordPress topic.

    @kyusanglee1 Reduce the padding on the post title with:

    .single .post-head {
        padding-bottom: 0;
    }

    And if you want to get rid of the whole meta section (author, date, etc.), use:

    .meta-single {
        display: none;
    }
    Thread Starter kyusanglee1

    (@kyusanglee1)

    @corypina This is perfect. Thank you so much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to hide author name, date, and category name on post?’ is closed to new replies.