WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Hide all author, category data & date pages only (2 posts)

  1. IslandOwl
    Member
    Posted 1 year ago #

    On other sites I have put some code in the CSS that has hidden the author and categories on the posts and pages but the same code is not working in the DailyPost theme.

    I want to hide the categories and author on both posts and pages. The date I want to have show on the posts but not on the pages. Can someone please help me figure out what I need to do with code?

    Site: DancingUpsideDown.com

    I am using a child theme of the DailyPost theme.

    Thank you.

  2. IslandOwl
    Member
    Posted 1 year ago #

    I found php code to remove for the date on the content-page.php

    And for some reason, the other code I was using yesterday now seems to be working fine. In case someone else needs it, I think this is what worked:

    .author-i, .category, .tag footer.entry-meta {
    display:none;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic