How to Remove WordPress Page Title

Removing the title of the page that appears just above the content may be something to consider if you are using static front page or just want a page on your blog that looks a little different than the rest of your WordPress pages. This short WordPress guide will give you some idea what to remove from your page template file.

In a few other posts: How To Use A Static Front Page With WordPress and: How To Create A Custom WordPress Page Template I cover how to create and use a static front page for WordPress. This is great option to run a website with WordPress.

To remove the title of your page that appears on the page above the content you will need to edit the page.php file or the custom page template file you created.

Open the file from either the WordPress dashboard or on your hosting account. Instructions to do this should be in one of the above-mentioned posts. Make sure to make a backup of the file you are editing to fix any mistakes! Now look for and remove the code that looks like this:

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

Save the file and look at a page that is using the page template you just edited. The title of the page should no longer appear above the content.

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

How to Avoid Common Mistakes That Can Impact Your WordPress Blog

A WordPress blog starting is quite exciting, but certain mistakes can prevent it from attaining the top ranking in search...
Read More
How would you react if you knew that you could design and style your theme without disturbing your parent theme?...
The most successful businesses keep themselves updated with the data of their market campaigns. When tracking visitors and analyzing visitor...