Page titles are one of the most important factors in your on-page SEO, along with keyword-targeted content and backlinks. They tell both visitors and search engines what your content is about. Still, showing the post titles doesn’t seem necessary in some cases.
In this article, we will explain the reasons why you should hide your WordPress page and post titles. Then we will discuss how to hide headlines of selective pages and posts as well as all pages at the same time.
Why You Want to Hide Page Titles
There are many reasons for covering WordPress page titles. You don’t want visitors to see titles of static homepages, specific landing pages, or e-commerce shop pages.
#1 Hide titles static homepages
Different from standard blog homepages, static homepages, also known as “splash page” or “custom homepage”, don’t display blog posts or regularly updated content. Instead, they are unchanged which proves useful to build your brand efficiently.
Instead of displaying page titles, you can include videos, images, CTA buttons, and other elements on these pages. Both search engines and users consider this as your “home”. So there is no reason to leave “Home” or “Homepage” as the page title.
#2 Remove headlines of certain landing pages
Big size titles of landing pages might distract users from other important things such as email signup forms or the Buy buttons. You can replace the page title with a video introducing your products, for example.
#3 Cover titles of e-commerce pages
The “Shop” titles in WooCommerce stores might not fit your customized website design and don’t bring any SEO value or benefits. Removing boring “Shop” titles lets users focus on product descriptions.
Above are 3 common reasons for removing WordPress pages and post titles. Let’s go through the most important part of this article, how to hide page titles. You can hide headlines of selective posts or all pages and posts at the same time.
Hide Titles of Single Posts or Pages
There are different ways to hide individual WordPress page titles. You can basically leave the title field blank, use CSS, or even install a third-party plugin.
#1 Hide page titles by not adding titles
WordPress allows you to leave the title section in the post edit screen empty. As a result, your content will be displayed without a title at the top of the page.
In fact, this is not an ideal method. It’s really hard for you as well as the content editor team to find and organize the content in the future. What’s more, WordPress will auto-create random permalinks for your pages. This means you have to edit these links manually otherwise they will affect your page SEO.
#2 Use Cascading Style Sheet (CSS)
Another way to cover your page title comes to using CSS. Follow these 4 steps to easily hide your page titles:
Step 1: get the page or post ID
- Head to Pages or Posts section in your WordPress navigation menu
- Hover the title of your desired page or post
- Get the page or post ID contained in the link at the bottom of the screen
Step 2: add CSS code
- Visit Customize under Appearance
- Click on Additional CSS
- Add the code below and press the Publish button. Remember to change “1153” into your own post ID
.page-id-1153 .entry-title{ display:none; }
#3 Install the Hide Title plugin
Instead of leaving a page title empty or making changes to your CSS, you can install the Hide Title plugin to remove your page headlines with just a single click. The following guide shows you how to install and get started using the plugin.
- Go to Plugin → Add New in your WordPress sidebar
- Type “hide title” in the keyword box and look for the Hide Title plugin in search results
- Hit Install and Activate buttons
- Head to your desired page or post’s edit screen
- Tick in the Hide Title checkbox
Now, your page title is hidden on a single page view but your homepage or other archive pages. In addition to that, this plugin doesn’t work for certain themes. It’s because these themes might override the meta information of your pages and posts.
#4 Install Protect Pages and Posts plugin
As mentioned, Hide Title doesn’t let you cover page headlines from your front page or any archive pages. That’s why you should turn to Protect WordPress Pages and Posts plugin as a better solution.
Protect WordPress Pages and Posts primarily comes as a content protection plugin. It allows you to protect your content from unauthorized users via private links.
Once protected, the original page URL will redirect to a 404 not found page if anyone attempts to access it. Users have to access these pages via private links. Both content and titles of protected pages will be hidden from your homepages or search results.
It’s really simple and straightforward to use the plugin. Upon installation and activation, the plugin is inserted directly into your WordPress dashboard menu. You can:
- Go to the plugin Settings page
- Head over the Hide Protected Content section
- Choose your pages and posts from the dropdown list
- Save your changes
It’s available for you to choose specific places to hide titles and content from such as the front page, category pages, tag pages, or search engines, etc.
Remove Headlines of all Pages and Posts
Besides removing headlines of certain pages and posts, it’s possible for you to hide titles of all pages at the same time. Follow these 2 simple steps to cover up your headlines with ease.
- Visit the Customize page under your Appearance
- Add the following code
.page .entry-title{ display:none; }
It’s possible that some of your pages don’t follow this rule and still show page titles. It’s because they have another CSS class for their titles. In that case, you have to:
- View the page in your browser and choose the Inspect option once you right-click the title
- Copy the class of this page title, for example “page-title”
- Add that class to the above CSS code
.page .entry-title, .page-title{ display:none; }
Hide Your Page and Post Titles in WordPress with the Right Method
There are many ways for you to cover up the titles of individual WordPress pages and posts. Don’t want to seek help from a plugin? Just leave the page titles empty or add some code to your CSS. However, these methods are not ideal. You might find it hard to organize many no-title pages in the future.
Hide Title plugin allows you to remove page titles from single page views except for your homepage and archive pages. Want to protect content while hiding post titles from the homepage at the same time? Install Protect WordPress Pages and Posts plugin.
The easiest way to hide all of your pages and posts’ titles is to add code to your CSS. You have to make sure all pages have the same CSS class for their titles before making any changes.
If you have any other questions about how to hide WordPress pages and posts titles, let us know in the comment section below.