How To 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 from 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:

https://gist.github.com/wpcount/b713629f106095a548d6c244bc616377#file-page-php

The ‘H’ tags may be different or not used on 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.

remove title from WordPress Page Template

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

Disclosure: Some of the links in this article are affiliate links and we may earn a small commission if you make a purchase, which helps us to keep delivering quality content to you. Here is our disclosure policy.

Editorial Staff
Editorial Staff
Editorial Staff at WPArena is a team of WordPress experts led by Jazib Zaman. Page maintained by Jazib Zaman.

LEAVE A REPLY

Please enter your comment!
Please enter your name here
Captcha verification failed!
CAPTCHA user score failed. Please contact us!

spot_img

Related Articles

Why WordPress Is The Best CMS? (And, Possible Alternatives)

Why WordPress is the best CMS? Having a website has become a necessity for both individuals and businesses. Content Management...
Read More
When optimizing the speed of your WordPress site, you might come across a performance metric known as Time to First...
Are you dealing with a broken WordPress site and don't know what to do? If your website is showing a...