Title: Hide word &quot;Category&quot;
Last modified: August 30, 2016

---

# Hide word "Category"

 *  [mdxclr](https://wordpress.org/support/users/mdxclr/)
 * (@mdxclr)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/hide-word-category/)
 * Hello,
    How can I hide Category word without editing code (in Wp-sitemap-page.
   php 1082 stroke) Thank you
 * [https://wordpress.org/plugins/wp-sitemap-page/](https://wordpress.org/plugins/wp-sitemap-page/)

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

 *  Plugin Author [Tony Archambeau](https://wordpress.org/support/users/funnycat/)
 * (@funnycat)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/hide-word-category/#post-6323580)
 * Hi mdxclr,
    you can hide the title using such a shortcode : `[wp_sitemap_page
   display_title="false"]` I hope it will help you. Sincerely, Tony
 *  [nici-](https://wordpress.org/support/users/nici-2/)
 * (@nici-2)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/hide-word-category/#post-6323828)
 * Very fast solution in case you use a translation: Edit the language file entry
   and translate
    ‘Category: %1$s’ with ‘%1$s’
 *  [karenelated](https://wordpress.org/support/users/karenelated/)
 * (@karenelated)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/hide-word-category/#post-6323859)
 * Hi Tony
    This doesn’t work for me. Yes, it removes the titles ‘Pages’ and ‘Posts
   by Category’, but I want the word ‘Category’ to be removed from in front of every
   category heading. Eg:
 * Category: Other
    Category: Animals Category: Health
 * So that it only has the headings
    Other Animals Health.
 * Is this possible please?
 * Thanks
    Karen [http://elated.co.za/wp-sitemap/](http://elated.co.za/wp-sitemap/)
 *  [Krystof](https://wordpress.org/support/users/krystof-stulc/)
 * (@krystof-stulc)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/hide-word-category/#post-6323860)
 * You could edit file wp-content/plugins/wp-sitemap-page/wp-sitemap-page.php.
    
   Find this piece of code:
 *     ```
       foreach ($nav as $page) {
       		$html .= "\t".'<li><strong class="wsp-category-title">'
       			.sprintf( __('Category: %1$s', 'wp_sitemap_page'), '<a href="'.get_category_link($page->cat_ID).'"'.$attr_nofollow.'>'.$page->name.'</a>' )
       			.'</strong>'."\n";
       ```
   
 * And replace word **Category**
    .sprintf( __(‘**Category**: %1$s’, ‘wp_sitemap_page’),
 * with whatever you wish.
 * Beware, you will lose this with each plugin update.
 *  [karenelated](https://wordpress.org/support/users/karenelated/)
 * (@karenelated)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/hide-word-category/#post-6323871)
 * Thanks Krystof! Sorry for the late reply. Yes that does work perfectly

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

The topic ‘Hide word "Category"’ is closed to new replies.

 * ![](https://ps.w.org/wp-sitemap-page/assets/icon-256x256.png?rev=981368)
 * [WP Sitemap Page](https://wordpress.org/plugins/wp-sitemap-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-sitemap-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-sitemap-page/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-sitemap-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-sitemap-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-sitemap-page/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [karenelated](https://wordpress.org/support/users/karenelated/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/hide-word-category/#post-6323871)
 * Status: not resolved