Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Is there any way to not display the page title on each page other than deleting the page title? I want to be able to identify each page without actually displaying the page title on each page on the site.
Thank you!
Offline
The easiest way would be to use a plug-in to hide titles.
Here's one https://wordpress.org/plugins/hide-title/
This one looks like it hides titles on a per page and per post basis.
There may be one that will always hide the title, but if not, then you should be able to hide display titles using custom CSS.
try this:
.post-title {
display: none;
}
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
That worked perfectly, thanks Rod
Offline
Only one thing, is there a way displaying the title on Blog posts but not on pages?
Offline
That plug-in works on both I think.
I'll take a look to see if there's a selector specific to pages or posts that can be used for css. Otherwise you'll probably have to go the child theme and code route. Check the WordPress Codex.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
try this for removing title from pages only:
.page-template .post-title {
display: none;
}
if that doesn't quite do it, you can use your browser's inspector to see if there are any other selectors you need to include.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks Rod, that didn't work, but it's not too much work to manually add titles to the blog posts
Offline
It works for me, but you may need a different selector to hide only page titles but show post titles.
If you post a link to a page and a link to a post, we'll be able to tell.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Sure thanks Rod
blog - http://www.begurvillas.com/2015/06/11/a-new-villa/
page - http://www.begurvillas.com/villa-begur/
Offline
I see on both of those you're using inline css?
Have you tried using a custom css file with this code that just hides the page titles and not the post titles
.page-template .post-title {
display: none;
}
or just replace the code you have with the code above. It looks like you might have added it in the customizer?
I just put that code into the Additional CSS section of the customizer on my own CE4 based blog and it preserves the post titles while hiding the page titles.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I am just adding the code in the customizer, the original code works
but the new code doesn't
Offline
I've found a Hide Title plugin, which seems to work.
All good, thanks Rod
Offline
I'm surprised. I was able to swap out the code in your site using the browser's inspector and the page title for posts appears but the title for pages does not. It works the same on my site.
But at least you've got something that works now.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1