Page Title Appearing in Header
-
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
The page I need help with: [log in to see the link]
The topic ‘Page Title Appearing in Header’ is closed to new replies.