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.

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 Manage AUTOSAVE_INTERVAL in WordPress

Learn how to adjust the autosave_interval in WordPress to prevent frequent auto-saving interruptions while editing posts/pages. Follow the steps in...
Read more
Error 404 pages are crucial for guiding users when a URL seeks a missing page on your website. While it's...
There are a few major search engines, and hundreds of smaller ones that vary in specificity. What benefits can search...