Title: remove Category title
Last modified: August 2, 2018

---

# remove Category title

 *  Resolved [alursru](https://wordpress.org/support/users/alursru/)
 * (@alursru)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/remove-category-title-9/)
 * Hello!
 * I would like to remove the category heading.
 * It should be displayed like this: News
 * not Category: News
 * So I just want the title alone without the word category:
    I would be glad if
   you helped me

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Theme Author [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/remove-category-title-9/#post-10551963)
 * Hi,
 * For that you should open file archive and look for:
 *     ```
       the_archive_title( 'the_archive_title( '<h1 class="page-title">', '</h1>' );
       ```
   
 * Replace with (not tested yet):
 *     ```
       echo '<h1 class="page-title">'.single_cat_title().'</h1>';
       ```
   
 * But I recommend using a child theme for changes like this, in case theme gets
   an update.
 * Guido
 *  Thread Starter [alursru](https://wordpress.org/support/users/alursru/)
 * (@alursru)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/remove-category-title-9/#post-10553583)
 * Hi Guido thank you for your quick help!That works great!
 * Only: now the category title is no longer h1 – The title is in the source code
   outside the h1 tag – (within content) and so I can not reach the CSS to adapt…
   
   Is there still a possibility?
 *  Theme Author [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/remove-category-title-9/#post-10554481)
 * Hi,
 * Of course, my mistake. Guess this should work:
 *     ```
       <h1 class="page-title"><?php single_cat_title(); ?></h1>
       ```
   
 * (I’m not able to test this because using an iPad right now)
 * Guido
 *  Thread Starter [alursru](https://wordpress.org/support/users/alursru/)
 * (@alursru)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/remove-category-title-9/#post-10557742)
 * thank you for your effort. unfortunately that brings a php error message
 *  Theme Author [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/remove-category-title-9/#post-10559767)
 * Will be home in 2 days. Please wait till then and I will give you a proper fix!
 * Guido
 *  Theme Author [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/remove-category-title-9/#post-10564658)
 * Hi again,
 * It turns out to be less simple as I thought.
 * Remove this:
 *     ```
       		<?php
       			the_archive_title( '<h1 class="page-title">', '</h1>' );
       			the_archive_description( '<div class="archive-description">', '</div>' );
       		?>
       ```
   
 * Replace with this:
 *     ```
       		<?php if ( is_category() ) : ?>
       			<h1 class="page-title"><?php single_cat_title(); ?></h1>
       		<?php else: ?>
       			<?php the_archive_title( '<h1 class="page-title">', '</h1>' ); ?>
       		<?php endif; ?>
       		<?php the_archive_description( '<div class="archive-description">', '</div>' ); ?>
       ```
   
 * Guido
 *  Thread Starter [alursru](https://wordpress.org/support/users/alursru/)
 * (@alursru)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/remove-category-title-9/#post-10564878)
 * Thank You very much! This works wonderfully!!!! You are grat!
 *  Theme Author [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/remove-category-title-9/#post-10565113)
 * Great, you’re welcome!
 * Guido

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘remove Category title’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/bluegray/7.9/screenshot.png)
 * BlueGray
 * [Support Threads](https://wordpress.org/support/theme/bluegray/)
 * [Active Topics](https://wordpress.org/support/theme/bluegray/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/bluegray/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/bluegray/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Guido](https://wordpress.org/support/users/guido07111975/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/remove-category-title-9/#post-10565113)
 * Status: resolved