[Resolved] Turn Off Date and Author on Specific Posts

Home Forums Support [Resolved] Turn Off Date and Author on Specific Posts

Home Forums Support Turn Off Date and Author on Specific Posts

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #691855
    James Orr

    Is there a way to turn off the date of the post and the author of the post on a handful of posts only? I want them on most, but there are about 6 that it looks odd with.

    Thanks.

    GeneratePress 2.1.4
    GP Premium 1.7.2
    #691890
    Leo
    Staff
    Customer Support

    Hi James,

    Probably easiest to just use some CSS.

    You want to remove them on both the posts page and single posts?

    Can you let me know which 6? I can provide the full code πŸ™‚

    #691895
    James Orr

    Thanks Leo.

    I think just the single posts.

    How do you want me to identify the posts for you? Post IDs?

    #691902
    Leo
    Staff
    Customer Support

    If you know the post ID’s then try this CSS:

    .single.postid-xxx .entry-meta,
    .single.postid-xxx .entry-meta {
        display: none;
    }

    Just replace xxx with the ID of the post.

    Let me know if this helps πŸ™‚

    #691913
    James Orr

    That worked. Thank you!

    #691923
    Leo
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.