Ryan Milani

{ San Francisco Bay Area }

Passionate about sustainability, social justice, entrepreneurship, social media, music, and sports.
What are you passionate about?
...............follow on Twitter
....................connect on Linkedin
........................email me

Remove Page Titles (WordPress)

Posted in Web Working

I’ve come across a bunch of people looking to hide or remove page titles from specific pages in WordPress. All the posts and tutorials I’ve seen involve changing the code in page.php, which I don’t think is a very good idea because then you remove it on every page and you have no control over individual pages. There is a simple way to do it without changing the code and you will be able to control which pages you want to remove the title from being shown. Plus, its easy!

Wordpress blank page title

It’s Real Simple

To remove or hide WordPress page titles from showing above your content, you simply don’t give the page a title. When you remove or leave the title blank, it also removes it from your menus and from the browser tab, because your meta data is now blank too.

But what about my meta data?

To make sure it will still show in meta data and in your browser tab, all part of social media optimization (SMO), You will need a plugin that allows you to add SEO data.

I use a plugin called “All in One SEO” which allows me to insert a custom SEO title and description. I am still able to have my title in my meta data and I can still see what page is what in the backend (any pages that don’t have a title will be be called “(no title)“. In the page manager, you will be able to see their SEO description, so use that as a reference). If you have the page in any menus, make sure you go to your menus and make sure they didn’t change, if they did you’ll be able to manually enter the page title there.

Plugin: All in One SEO

See it’s that easy, no need to change page.php.

Tags: , , , ,

Trackback from your site.

  • Jsnisenson

    Brilliant Ryan. Now i understand

  • Zach

    Would it not still have the blank space where the title would be???? 

  • Ryan

    Hi Zach,
    You are right, there may still be a h1 placeholder there causing the white space, though, it will be smaller than if you had text there (about half the size). You can probably clean that up with a little css. If that doesn’t do it for you then you may need to just use the page.php hack.

  • Mmoody

    Fabulous!  Thanks a bunch.  Definitely the easiest solution for non-techies.

  • Allan Phinney

    Hi,

    I tried your method and it worked great, but I still have a small problem. On the first 2 tabs of my site I do not want the title showing on the page and your method worked good. On my html site map I no longer have those pages listed…. any suggestions? If you would like to look at the site it is: http://www.documentaryconnection.com

    Thanks

    Al

  • Ryan

    Hi Allen, 

    Good question. It depends on how you created your sitemap. Judging by your Sitemap tab, it looks like you could probably benefit from using a more robust sitemap generator. I’m pretty happy with Google XML Sitemaps

Subscribe

Archives

© 2012 Ryan Milani • San Francisco Bay Area • By the way, I design websites and do Internet Marketing -- interested? Right this way...