• I’m not that good at CSS (horrible actually) so I need some help. I’m trying to remove the page title area for single pages and posts. I want to keep the header and footer, but no title

    See screenshot : https://ibb.co/eb4xu5

    I found a plugin to remove the title words but I just want the whole area gone.. Help!!!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • AddWeb Solution

    (@addweb-solution-pvt-ltd)

    Please follow below two steps to hide post title area.

    1.You can put below code in your current theme’s function.php file.

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

    2. Put following css rule in your css file. You have to replace .entry-title with the class of page title area.

    .hidetitle .entry-title { 
      display:none;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Remove/Hide Page Title Area’ is closed to new replies.