How to hide the page title in WordPress: A quick guide

How to hide the page title in WordPress: A quick guide

Titles hold a very important role, considering that they are the very first thing that pops in a visitor’s eyes when they enter a website or when they look for something on the search engine results page. Moreover, they usually contain the exact information that users want to know more about.

This is why it is so important to hide page title in WordPress and wpDataTables‘ team knows a few options that will help you with that.

Table of contents

Why should you hide the page title in WordPress?

In case you still don’t understand why you should hide page title in WordPress, then these reasons should be enough to answer all of your questions. Because of how versatile WordPress is, it is used on all sorts of platforms, and some of them may require no title on the page. WordPress can be anything you want, as long as you know your facts.

Visual redundancy is your enemy

Elements that should not be present on your website include titles too if they are redundant for that specific page. Some pages that have specific purposes don’t need a title, and this is why you need to remove page title.

Sleek landing pages

The landing pages must be very clean, minimalist looking. This is the main reason why people choose to hide page title in WordPress. This element doesn’t have any purpose when delivering the landing page to the visitor, so why bother keeping it there in the first place.

A static homepage

On a website where the homepage is static, the title is no longer required. This is the reason why you have to remove the WordPress page title entirely.

eCommerce pages

The structure of an eCommerce page can get complicated when doing it around WordPress. In some situations, you should hide the WordPress page title so that it looks more aesthetically pleasing and less cluttered.

How can you hide the page title in WordPress?

There are multiple ways to hide page title in WordPress, but the easiest one is to not add a title at all. WordPress gives you the opportunity to skip adding a title to posts and pages, which is very convenient if you don’t want it to show up on your page. The WordPress core implemented a function which could only be solved in the past by using a plugin or CSS.

In case you need to remove a title that is already existent on a published page, you need to edit it. The permalink will remain unchanged, of course. Having a lot of pages without a title is not recommended under any circumstances so think wisely.

Hide page title in WordPress by using the theme options

WordPress page titles can be removed simply by using the theme options. Going through your theme options is a requirement because not all of them might include a remove title WordPress option. See what the theme offers and in case you see this feature among the options, you can remove the title just by selecting it.

When you create a page, the Page Attributes ribbon should get you to a drop-down menu with templates. Some templates do not have a title included, so you can choose it. If there is no such template, you can also contact the theme creator through a support ticket.

Hide page title in WordPress by using CSS

Hide the page title for a specific page

When searching for how to hide page title in WordPress, you need to know the page’s ID. Using CSS means you should:

  • Select Pages and then All Pages
  • Go to the Edit link and hover on it instead of clicking it
  • The bottom of your browser will display the page’s ID

Once you got the page’s ID, you can use CSS code in different places. The most common one is the style.css file and the second one is the custom CSS box that only comes with certain themes. WordPress itself has an Additional CSS feature that can be used as well. You need to:

  • Select Appearance and then Customize
  • Click Additional CSS
  • Add this piece of code:

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

  • Click on Publish

Once you figured out how to remove page title in WordPress with CSS code, you can do that whenever it is required on a page that is already published.

Hide the page title for all the pages

If you want to hide page title in WordPress globally (for all your existent pages) you can apply the following method:

  • Select Appearance and then Customize
  • Add this piece of code:

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

This is a modality that works in almost all cases. The exceptions are pages that have another CSS class listed for their titles. If that’s the case, then you need to change the CSS class first. To find the CSS class, do this:

  • Hover your mouse over the title
  • Right-click and select Inspect Element
  • See how the class is defined
  • Change the code with the piece below:

.page .entry-title, .page-title{display:none;}

Hide page title in WordPress by using plugins

Hide Title

This is a plugin that you can use to hide page title in WordPress easily. The plugin that has the same name – Hide Title – involves just a few installation steps and is the easiest to use:

  • Install the plugin and click Activate
  • Go to the page where you want to hide the title
  • Open the page and check Hide Title
  • Publish the page or click Update

Ending thoughts on how to hide the page title in WordPress

It is not that difficult to hide page title in WordPress if you know about the myriad of options that you have. Anyway, in case you have the idea in mind when creating the page, you should not add a title at all to spare yourself the effort. In case the page is already published, WordPress is the most customizable and flexible option you have, so everything is possible.

If you enjoyed reading this article about how to hide page title in WordPress, you should also read these:

Up Next:

WordPress Pricing Table Options that You Can Use

WordPress Pricing Table Options that You Can Use