Do you have a static page set for your home page? You can always use CSS to hide the title only on the home page. Try this:
.home .page-title { display: none; }
On the latest release it would be this:
.home #primary .entry-title { display: none; }
Hello,
I just spent a few hours trying to remove the page title from the page body, having gone through countless forum posts and websites. I would like to remove all titles from all pages.
I managed to remove the title with
#content .entry-title {
display: none;
on another site that I built with 2010 theme, nothing seems to work for my Magazine Basic though. Can you help?
The site is http://lawofattractionforbrits.com (the law of attraction does not appear to apply to WP :))
Thanks very much in advance!
Marc
I’ve tried all of the above and still cannot remove the title on my home page…
@marcmathews – try this in your child theme CSS file:
.home #leftcontent h1 {
display: none;
}
@martyyoung – if the above does not work for you, can you post a link to your site?
That worked! A huge thank you 🙂
Glad to hear that :)! You’re welcome too!
It worked for me too! Thanks so much. Just one more question – what do I need to change if I want to do this for all pages, not just the home page?
what do I need to change if I want to do this for all pages, not just the home page?
Just removed the .home
from that CSS bit.
Hi, thanks for that. The code seems to hide all <h1> headers though, which I believe are important in terms of SEO. Any remedy for that?
See if this works:
#leftcontent h1:first-child {
display: none;
}
brilliant – that works a treat! Thanks ever so much WPyogi!