Hide Excerpt on Post Page

  • Author
    Posts
  • #113430
    mayernissim
    Power User

    Is it possible to hide a Post (or where applicable, Page) excerpt on the Post (or Page) itself, but still have it show up everywhere else that it usually shows?

    Ideally with a Customizer option I’ve not found, but failing that I’m happy to pop something in the Additional CSS editor.

    I’ve had a look at the source and I think it’s controlled by .entry-meta and class=byline but I’m no CSS expert and I can’t quite seem to get the code right to hide it.

    I’d probably like to hide it for all Posts (and Pages) except the Site Tagline on the Landing Page, but if there’s a way of doing it on a Post-by-Post (or Page-by-Page) basis, all the better.

    Many thanks in advance!

    #114045
    Zed
    Cryout Creations mastermind

    Hi,
    If you’re looking to hide the byline displayed under posts titles on single post sections, the following CSS should handle that:

    .single #header-page-title .byline {
        display: none;
    }

    Note that this byline is only displayed for posts that have manual excerpts set.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Hide Excerpt on Post Page’ is closed to new replies.