Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Page Title Appearing in Header

Discussion in 'Misc WordPress Requests' started by mtibus, Dec 3, 2017.

  1. mtibus

    Guest

    Page Title Appearing in Header, by mtibus

    Hi,

    I noticed recently that when I create new pages on my WordPress website, the Page Title appears in the header. You’ll notice the question “What is Glutathione?”

    I tried adding this to the style.css

    .hidetitle .entry-title {display:none;}

    And this to the functions.php

    function wpb_hidetitle_class($classes) {
    if ( is_single() || is_page() ) :
    $classes[] = ‘hidetitle’;
    return $classes;
    endif;
    return $classes;
    }
    add_filter(‘post_class’, ‘wpb_hidetitle_class’);

    to no avail.

    Any help that you can provide I would really appreciate it.

    I am using the Atelier theme.

    Thank you!

    Michael

    Page Title Appearing in Header
     
    #1

Share This Page

Web Hosting