You may need the remove the page title from few or all of the pages in wordpress site. If you have created a static front page titled ‘Home’ then it is obvious to remove the title form the page. There are two methods to do the same.
1) Using CSS – easy method
This is a little easy and quick method to remove the page title from your pages. Just follow the steps below:
1. Go to dashboard > appearance > editor – this will open the style.css code of current theme.
2. Now paste the following lines of code as per your requirements:
.page .entry-title {
display: none;
}
The above removes title from all pages only
.entry-title {
display: none;
}
The above removes title from all pages and posts
.page-id-16 .entry-title {
display: none;
}
The above removes title only from page with page id = 16
2) Editing page template
Other, yet robust, method is to edit the page template file or create a new page template file. Page template file is a PHP file which builds the page content. To remove the page title open the file from either the WordPress dashboard > appearance > editor 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>” title=”<?php the_title(); ?>”><?php the_title(); ?></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.