How To Hide Post/Page Title In WordPress

After creating a new post/page, the title is shown at the very top of the front end on any WordPress site. But sometimes a title is not proper for a page, either because it doesn’t look right or it’s a distraction. 

In some cases, you might want to add a custom title that would be more efficient for your business. Therefore sometimes it’s necessary to hide page title in WordPress. In this article, I will show you how to hide post and hide page title in WordPress. 

Let’s begin then.

How To Hide Post/Page Title In WordPress

WordPress is continuously dominating the web, and more users are using this platform for different purposes rather than blogging. Due to this reason, it might not be appropriate to enable the WordPress page or post title. 

Fortunately, there are several ways of hiding the WordPress page or post titles. You can disable title for a single post, or you can disable for all posts. 

The easiest way for hiding a single WordPress post or page is by leaving the title field blank. WordPress will generate the permalink for this post automatically, and it’s going to be hard to identify the posts and pages. However, I don’t recommend this option. 

For this reason, I recommend you to use plugins like ‘Hide Page and Post title’ or ‘Title Remover’. Though I am showing you multiple ways.

1. Hide Post/Page Titles Using A Plugin

First, install and activate the ‘Hide Page and Post Title’ plugin from the WordPress directory.

Then create a new page/post or edit an existing one. 

From the right side options menu, place a tick mark on ‘Hide the title,’ and your title will be hidden.

In this way, you can hide the title for all your preferred posts/pages.

Don’t worry, if you are using the classic editor, the menu should be available in the sidebar. 

2. Hide Post/Page By Leaving The Title Field Blank

This is a very simple option. You will be able to hide the title of your page and post by leaving the title section blank. This also can be done for your old posts.

This is very easy but not convenient because unless you set a permalink structure, you have to first create the permalink by writing a title manually, and then removing it.

Once you have got the right permalink, remove the title and hit the publish button or update button.

3. Hide Post/Page Using Customizer

Hide All Posts and Pages:

What if you want to hide the title of all posts and pages? Well, you can hide post and hide page title in WordPress by adding additional CSS code. 

First, go to Appearance -> Customize. Then open Additional CSS.

Now add the following code. Don’t forget to click on ‘Publish’.

entry-title {
  display: none;
}

Now all your posts/pages title is hidden. 

If this doesn’t work, open the page/post that you want to edit in a browser. Right-click on the title and select ‘Inspect.’ 

Now identify CSS class that is assigned in the title. In my case, the title’s CSS class is ‘entry-title’. The CSS class may vary depending on your theme.

Instead of the class ‘entry-title’, you may see ‘post-title’. Just change the class and add the code.

Hide Specific Page Title:

To hide a specific page, navigate to Pages -> All Pages.

Now hover the cursor over the Edit of the post that you want to hide, but don’t click it.

You will see the post id in the URL at the bottom of your browser.

When you got the page id, navigate to Appearance -> Customize and click on Additional CSS.

Now add the following code:

.page-id-57 .entry-title{
display:none;
}

Remember to replace .page-id-57 with the id that you have found.

Hit the publish button. Now this page title will be invisible to visitors. If you see no effect add !important to the code like:

.page-id-57 .entry-title{
display:none !important;
}

Please keep in mind that this method is not SEO friendly, search engines don’t like it when you hide any content from them.

Final words

Page titles have a very essential impact on your site’s SEO, but there are some cases when you need to hide it. Don’t try to hide post or hide page title in WordPress unless you really need to.

By using any of the methods mentioned above you can hide page/post titles hassle-free and quickly. 

Leave a Comment

Your email address will not be published.