Tutorials

How to Remove WordPress Page Title

Pinterest LinkedIn Tumblr

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 at WPArena is a team of WordPress experts led by Jazib Zaman. Page maintained by Jazib Zaman.

Write A Comment

Pin It