A common practice in WordPress is to link a navigation or menu to a WordPress category archive.
The problem is that, by default, when you display a category archive, the category archive title is displayed and it looks like:
Category Archive: “Name of Category”
This is typically hideous and makes a website look less appealing. Want to hide the category archive title from a website? Want to remove the category archive title altogether? Read on to learn about Category Archive Titles and how to remove or hide them.
Why Use Category Archive Titles?
Category Archive titles are displayed by default for SEO purposes and also to let the reader know exactly what they are viewing.
If I accidentally click on a link to go to the animal pictures category from a post about cute kittens, I might be left wondering where I am if not for that category title.
For SEO purposes, the H1 tag on the page displaying your category is indexed by Google so that looking for “Animal Pictures” — to use the above example — might lead to your category archive page.
How to Hide Category Archive Title on WordPress
That’s all well and good, but you still want or need to remove the category archive title or hide it.
We will provide info to hide it across WordPress a bit further down the page, but our themes do make it very easy to hide the category archive title.
With our themes installed, simply navigate to the Appearance > Theme Options and then click on the General Tab to find the slider options. Once there, simply click the slider to hide or show the category archive title. It’s that simple. Make sure you save your changes so that it displays on the website as well!
Themes that support the Category Archive Title Removal in WordPress:
- Simple Shop Pro WooCommerce theme
- Modern Business Pro WordPress theme
- Symphony Pro theme
- Journal Pro WordPress theme
- Capture Photography theme
- Socialize Pro Blog Theme
- Modern Real Estate WordPress Theme
- Epic Pro Responsive WordPress Theme
- Minimize Pro Responsive WordPress Theme
Hide Category Archive Title using PHP
What if you want to display specific content on a category archive page or remove the title altogether using another WordPress theme? There is a solution, albeit a more code-oriented one.
You will want to remove or comment out the archive title ‘archive-title’ which will most likely be found in the loop-archive.php section or category.php section, depending on how the theme was developed.
Once you have a created a child theme (perhaps even using our one-click child themes), you can import new PHP files into your FTP that are specific to the category you want to edit. These individual elements are clumped into the category.php file but be separately edited within the WordPress PHP editor or on your editor of choice.
You can add HTML content just before the category roll of content is displayed, like titles, images, or anything for that matter!