I'm creating my first child theme and trying to figure out the easiest way to hide the post title on pages but not on posts.
At the moment I'm using the css:
The problem with this is it hides the entry title on every page and post on my site. It would be great to be able to do this just with css as it would be better for SEO but if the only way is to remove the entry title on pages with an action hook then I'd be ok with that.
Does anyone know how I would do this?
Thanks for your help.