Title: Category Label &amp; Shortcode
Last modified: January 12, 2017

---

# Category Label & Shortcode

 *  Resolved [hodgespodges](https://wordpress.org/support/users/hodgespodges/)
 * (@hodgespodges)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/category-label-shortcode/)
 * Hi guys,
 * What would you suggest as a work-around if I want different category labels on
   different pages? For example on one catalogue, it makes sense for my Category
   label to be ‘University’, whereas in another catalogue page, this makes no sense
   at all.
    Currently it’s mandatory (I believe) to select at least one category
   for each product. Is there any way to hide the category on the sidebar and then
   perhaps just use custom fields instead? Or is there any way to remove the necessity
   of selecting a category for each product? I just tried the following code, but
   that just removes all the titles for Category, Sub-category, custom-fields etc.
   but leaves all the actual category items themselves. .prod-cat-sidebar-cat-title{
   display: none; }
 * Secondly instead of having an image in one of my catalogues beside the products,
   I would like to embed a document. I use a plugin to embed documents into pages
   on the site through shortcodes. I’m not a coder myself but could you recommend
   how I might add the ability to read shortcodes so that I can add a document in
   this box as opposed to uploading an image? I’m currently interested in the ‘Detail’
   and ‘Thumbnail’ Layouts for this. This is quite necessary for us to find a way
   of doing this, so I’d be really grateful for your assistance!
 * Many thanks,
 * Simon

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

 *  Thread Starter [hodgespodges](https://wordpress.org/support/users/hodgespodges/)
 * (@hodgespodges)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/category-label-shortcode/#post-8646425)
 * I think I found a work-around for the first part, deduced from information given
   in this thread [https://wordpress.org/support/topic/categories-and-sub-categories-display/](https://wordpress.org/support/topic/categories-and-sub-categories-display/),
   and adding the following code:
    .prod-cat-sidebar-category { display: none; }.
   prod-cat-sidebar-category-title { display: none; }
 * So that’s that part done for now.
    I look forward to hearing your thoughts on
   my second question.
 * Many thanks,
 * Simon
 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/category-label-shortcode/#post-8647718)
 * Hi Simon,
 * I’m not sure exactly what you mean by embedding a file, but one thing you could
   do is create a new “File” type custom field. This would allow you to upload a
   file for each product, a link to which could then be displayed in both the Thumbnail
   and Detail views. You could then use custom CSS to hide the product images, if
   you wanted to do that. For example:
 *     ```
       .upcp-thumb-image-div {
       display: none;
       }
       ```
   
    -  This reply was modified 9 years, 5 months ago by [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/).
 *  Thread Starter [hodgespodges](https://wordpress.org/support/users/hodgespodges/)
 * (@hodgespodges)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/category-label-shortcode/#post-8650231)
 * Sorry for not being clear:
    I’m using the following plugin: [https://wordpress.org/plugins/embed-any-document/](https://wordpress.org/plugins/embed-any-document/)
   to embed documents into a page.
 * I’ve got a work-around at the moment where I just took a small screen capture
   of the documents I wish to have an image of, and that’ll probably do!
 * Many thanks,
 * Simon
 *  [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/category-label-shortcode/#post-8653088)
 * Hi Simon,
 * Thank you for following up. It most likely wouldn’t be possible to embed a document
   in that way on the catalog pages. Your workaround is a much safer bet that will
   not cause any conflicts and is sure to work.

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

The topic ‘Category Label & Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-product-catalogue/assets/icon-128x128.png?rev=1805317)
 * [Ultimate Product Catalog](https://wordpress.org/plugins/ultimate-product-catalogue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-product-catalogue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-product-catalogue/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-product-catalogue/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 4 replies
 * 2 participants
 * Last reply from: [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/category-label-shortcode/#post-8653088)
 * Status: resolved