How to Hide Post Title in WordPress

There are a few reasons you might want to hide post titles in WordPress. Maybe you’re creating a landing page and don’t want any distractions. Perhaps you’re working on a design that would be thrown off by the title appearing in the middle of the content. Whatever the reason, hiding post titles are actually pretty easy to do.

In this article, we’ll show you how to hide post titles in WordPress using CSS, both globally and on individual posts or pages.

Hide title with CSS

The easiest way to hide a post title in WordPress is by using CSS. This method can be used to hide the title on any post or page, and it’s great if you’re comfortable working with code. If you want to hide the title on all posts and pages, simply add the following code to your theme’s styles:

.entry-title {
    display: none;
}

You can also use CSS to hide the title on specific posts or pages. To do this, you’ll need to find the post or page ID. Once you have the ID, you can add the following code to your stylesheet, replacing ID with the post or page ID.

post-ID .entry-title {
    display: none;
}

If you want to hide the title on all posts in a certain category, you can use this code instead. Replace 123 with the category ID.

category-ID .entry-title {
    display: none;
}

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close