Remove Title From WordPress Page Template

There may be certain situations when you will want to remove the title of the page that appears just above the actual content on WordPress pages. The placement and look of the page title is theme specific and you might want to remove it if you are using static front page option or just want a page on your blog that looks a little different than the rest of your WordPress pages. Since I am running out of ideas to post about here is a recycled post form a few years ago.

To remove the title of your page that appears on the page above the content you will need to edit the page template file that is usually called page.php. To edit the page template within the WordPress dashboard go to Appearance, Editor and look for the page.php file on the right. Click the page template to load it in the editor. Now I strongly suggest that you copy all the code in the editor and paste it into Notepad or Wordpad and save it on your computer as a text file for backup. If you screw up just replace the file with the backup and then start over again.

The bit of code to look for and remove should look something like this:

<h2><a href=”<?php the_permalink(); ?>” title=”<?php the_title(); ?>”><?php the_title(); ?></a></h2>

The ‘H’ tags may be different or not used on the your particular theme so don’t worry if it’s not exactly the same, what you want to remove is the permalink and title code. After you remove the string of code scroll down and click Update File to save the changes. Now open and check a page to see if the changes are correct.

Here are a few other posts that might help with a custom page and or custom static front page:

Similar Posts:



Tags: , ,

If you liked this post, feel free to leave a comment that is relevant to the post or subscribe to the feed and get future articles delivered to your feed reader.

Sorry but due to the spamming of a few all comments are moderated and will appear when approved and all drive-by comments will be deleted!

Comments

It’s an oldie, but definitely a goodie! I don’t really care for the header/title page and now I know how to remove it. Thanks.
-Sheldon

Reply

I love these tutorials. Thanks you so much. But I think a screen shot would have been very helpful. I wasn’t sure exactly what you were removing. I now I seem thick, but a screen shot, either before and after- or showing “what” was removed, was needed here. Never underestimate us beginners!Or should I say, “never overestimate us! ;)

Reply

Yes! and sometimes, they overlay the SEO keyword of my wordpress blog. Thanks for this tip.

Reply

Hi

I was trying to do something like this a few days ago (and failed!) Will go back to my blog and have another go.

thanks

Reply

As you said, I can’t stress highly enough how important it is to make a backup of the WP file you’re editing.

WordPress just makes it so damned easy to make edits, and I’ve learned from experience how important backing up is if you’re going to be mucking around in the editor!

Reply

wow, i didn’t know you could even do that, thanks for the tip, i could see how this could be useful for a few pages that i have. great post!

Reply

I’m glad that you decided to repost about this. I have been having some problems with this on a personal blog. I need a static page, but don’t need the title to be displayed.

Reply

thanks for the tip, i didn’t know that before, time to use it..!

Reply

Especially useful for the SEO Experts!

Reply

WordPress is a great blogging platform and if you don’t know css and html, plugins are a must. Thanks for sharing

Reply

Thanks.. I have been having a bear of a time getting my blogs setup for good SEO. There are some plugins out there but none of them seem to work well. I am not much of a PHP guy… more CF. Thanks for the code snippet… I have switched over the H2 tags on my blogs and made them more keyword heavy and not so repetitive on each page and I have already seen an increase in ranking. Thanks for the post! DAN

Reply

Internet Marketing | Net Age  Replied:

The All-In-One-SEO Plugin comes highly recommended. It is a must if you want your content to be effectively seen by the search engine bots.

Reply

WordPress is a great blogging platform and if you don’t know css and html, plugins are a must.

Reply

Cool. Actually I wouldn’t want to remove the title page on each of the post pages. But still, this is another knowledge. Thank you very much for the share. I’ll try this soon.

Reply

It is a great SEO tip too. By the way, it’s very important to edit your h1 and h2 tags, this is the basic for ranking!

Reply

Yes…I just found your post and I have been trying to figure out how to remove the titles from the pages. I know nothing about PHP so it looked weird to me. I apreciate the help as this is a life saver.

Reply

One reason that I like WordPress is because you don’t need to be good with PHP or HTML to install and opperate it. Plugins are also easy to install with so many powerful plugins on offer it has to be the best Bloggers software?

Reply

Thanks for this. Control of the title, description and header control is a key requirement to good SEO. Each theme can be slightly different but the target should be the same.

Reply

I removed this tag when i was making a sales page.

Reply

It’s a common problem to edit or change the title section of most wp templates. Thanks for the trick.

Reply

yes, it’s a very common problem for almost all WP themes to edit the header and footer. Thanks.

Reply

Simple and the Best way to remove wp title. Thank a lot.

Reply

I am so glad to have come across your blog it has been a huge help to me. I am just starting out with WorPress.

Reply

It never hurts to go over blog techniques, the way I see it blogs are a way of the future. They’re not as time consuming as a static html website once you get them set up that is. But like anything else it’s always a work in progress. I normally don’t use the title in page option so this is a good refresher.

Reply

It’s require some coding skill. If we can make a tools to help the person who don’t know about it. We could make quite a lot of money.

Reply

Thanks for this information. I will try it. It was very helpful for me. Thanks a LOT!

Reply

Hey Jeff,

Again this is a simple tip for those who know some coding, but very helpful for the beginners. I remember scouring all over the internet looking for tip like this in my beginning phase while I was learning about wordpress. Thanks for always providing some advice on the side; particularly, when you suggested to make a backup of the file that you are working on. In case if you something goes awry, you can always replace it back with the original file that you have backed up.

Reply

I am looking forward to use your tips and make necessary adjustment for my wordpress page template. Nice one Jeff!

Reply

Looks simple and as a matter of facts I can use it very good – thank you for posting the code.

Reply

Removing the title can be a bit of a hassle if you dont know much about wordpress. Thankfully I found this post and now I can do it without looking for another theme or paying someone to do it for me. Thanks.

Reply

There are some things by WordPress what I want to change since a long time. One of this things is today solved. Thank you for this amazing post – is a big help to me!

Reply

This is why i particularly enjoy working with wordpress. It can be customized in many ways to enhance usability. Although I have been practicing with other platforms wordpress is the best. I found this by searching for removing title in wordpess. Great tutorial thanks.

Reply

I’m very new to WordPress and these articles are very helpful, but wouldn’t it be better to put this code in the Appearance –> Theme Settings page instead of modifying the theme…

.post-title {display: none;}

Reply

I like WordPress is because you don’t need to be good with PHP or HTML to install and opperate it. Plugins are also easy to install with so many powerful plugins on offer it has to be the best Bloggers software?

Reply

Thanks Jeff

This is whats needed… straight to the point info that works!
easy as 123…

Thanks Again

Reply

I,ve been searching all over for this simple method… have used it for my static pages…

Thanks

keep the tips comming!

Reply

That worked great!! thank you! I have a really weird theme, but I found it, finally :)

Reply

Jeff – I love this article and used it for my static WP website. But, since I’m going to blog from a blog page, when I remove the titles in page_title.php, it removes the title from the blog post.

Any ideas on fixing php code. I’ve been on Codex for days but the only suggestions don’t work with my Artisteer template.

Your help would be much appreciated if you can think of anything.

Reply

Mary  Replied:

I just read this, I’m also using a template by Artiseer. They must put the title info somewhere else.

Reply

Thanks for this. My problem is: I can’t find anything like that in my page.php file. Where else could it be?

Repeat away, there are lots of us that are just starting.

Reply

Leave a comment
Drive-By comments will be deleted! Like "Thanks for sharing", "Nice post", or any other text that doesn't contribute to the discussion. If you ask a very specific question about your particular WordPress theme, it will probably be deleted. I can fix your WordPress site but for a price. If you ask a question like "Why don't my blog work right", it will be deleted. If you ask a question about your WordPress site without a leaving a link to it, it will be deleted. The point is to ask questions and or comment on the the actual content of the post, and to please use some common sense. All comments are moderated and will appear when approved. Thank you.

(required)

(required)