How to Remove WordPress Page Title

Total
0
Shares
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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Sign Up for Our Newsletters

Get notified of the best deals on our WordPress themes.

You May Also Like