WordPress.org

Support

Support » Themes and Templates » How to remove page title from page but not search page results

How to remove page title from page but not search page results

  • Removing page title and featured image from page but not search page results

    The following codes helped me remove featured image and titles from home page and pages But also removed the featured image and page title from the search page results.

    Is there a way to remove featured image and title from pages but ha

    /* Remove page title from home *\
    .home .entry-title {
        display: none;
    }
    /* Remove page title from page *\
    .page .entry-title {
        display: none;
    }
    /* Remove featured image from home *\
    .home .entry-header {
        display: none;
    }
    /* Remove featured image from page *\
    .page .entry-header {
        margin-top: -15px;
    }

  • The topic ‘How to remove page title from page but not search page results’ is closed to new replies.