Title: Adding Category Description
Last modified: December 8, 2017

---

# Adding Category Description

 *  Resolved [matejada](https://wordpress.org/support/users/matejada/)
 * (@matejada)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/adding-category-description-3/)
 * Hello,
 * Any help would be greatly appreciated.
    When displaying any category created,
   the description (text describing the category; not the title) does not show. 
   How can I make it visible?
 * Thank you for your time and consideration.
 * Marco T
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadding-category-description-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Jigoshop Support – Marcin](https://wordpress.org/support/users/azrielnefezen/)
 * (@azrielnefezen)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/adding-category-description-3/#post-9770742)
 * Hi
    The best method to achieve this would be through editing your category page
   template and adding the description inside it.
 * For additional help please contact us at [support@jigoshop.com](https://wordpress.org/support/topic/adding-category-description-3/support@jigoshop.com?output_format=md)
   🙂
    -  This reply was modified 8 years, 4 months ago by [Jigoshop Support - Marcin](https://wordpress.org/support/users/azrielnefezen/).
 *  Thread Starter [matejada](https://wordpress.org/support/users/matejada/)
 * (@matejada)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/adding-category-description-3/#post-9771421)
 * Thank you for the reply.
 * I am adding the description text for ever category page but it doesn’t show.
 * Or do you mean adding the description to the category template jigoshop file?
   
   If so, two questions: what is the name of the file? And how would I be able to
   add different text to different category pages?
 * Thank you for your help!
 *  [Jigoshop Support – Marcin](https://wordpress.org/support/users/azrielnefezen/)
 * (@azrielnefezen)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/adding-category-description-3/#post-9785346)
 * The file’s name is “shop.php” (can be found in jigoshop-ecommerce/templates).
   Each description is different, so it will be different for each category, but
   you might want to use a separate condition to distinguish between the categories(
   slug-based, for example). The code below should do it for you (create a “jigoshop”
   folder inside your currently used theme’s directory and put the modified “shop.
   php” template there)
    starting from line 16, replace the “else:” expression, 
   up to the first “endif;”, with:
 *     ```
       <?php else: ?>
           <?php if (\Jigoshop\Frontend\Pages::isProductCategory()): ?>
               <?php global $wp_query; ?>
               <?php $term = get_term_by('slug', $wp_query->query[Jigoshop\Core\Types\ProductCategory::NAME], \Jigoshop\Core\Types\ProductCategory::NAME); ?>
               <?= apply_filters('jigoshop\shop\content\title', '<h1 class="page-title">' . $term->name . '</h1>', $term->name); ?>
               <p class="category-description"><?php echo $term->description; ?></p>
           <?php else: ?>
               <?= apply_filters('jigoshop\shop\content\title', '<h1 class="page-title">' . $title . '</h1>', $title); ?>
           <?php endif; ?>
       <?php endif; ?>
       ```
   
    -  This reply was modified 8 years, 4 months ago by [Jigoshop Support - Marcin](https://wordpress.org/support/users/azrielnefezen/).
 *  Thread Starter [matejada](https://wordpress.org/support/users/matejada/)
 * (@matejada)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/adding-category-description-3/#post-9793109)
 * The code worked wonderfully!
    Thank you so much for the support!

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

The topic ‘Adding Category Description’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jigoshop-ecommerce_222121.svg)
 * [Jigoshop eCommerce](https://wordpress.org/plugins/jigoshop-ecommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jigoshop-ecommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jigoshop-ecommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/jigoshop-ecommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jigoshop-ecommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jigoshop-ecommerce/reviews/)

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [category](https://wordpress.org/support/topic-tag/category/)
 * [description](https://wordpress.org/support/topic-tag/description/)
 * [products](https://wordpress.org/support/topic-tag/products/)

 * 4 replies
 * 2 participants
 * Last reply from: [matejada](https://wordpress.org/support/users/matejada/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/adding-category-description-3/#post-9793109)
 * Status: resolved