Title: %%ct_product_cat%% but just for one category
Last modified: July 4, 2018

---

# %%ct_product_cat%% but just for one category

 *  Resolved [webmestreglenat](https://wordpress.org/support/users/webmestreglenat/)
 * (@webmestreglenat)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/auteurs/)
 * Hello,
 * I would like to use %%ct_product_cat%% but just for one category. For example“
   authors”
    with something like this:%%ct_product_cat_authors%% is it possible ?
   if not it would be an interesting evolution Thnaks
    -  This topic was modified 7 years, 10 months ago by [webmestreglenat](https://wordpress.org/support/users/webmestreglenat/).
    -  This topic was modified 7 years, 10 months ago by [webmestreglenat](https://wordpress.org/support/users/webmestreglenat/).

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

 *  [Pcosta88](https://wordpress.org/support/users/pcosta88/)
 * (@pcosta88)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/auteurs/#post-10470554)
 * Hi,
 * We would like some more information. Did you only want to have one category output
   the %%ct_product_cat%% variable?
 * OR did you want to output the authors of the product category?
 *  Thread Starter [webmestreglenat](https://wordpress.org/support/users/webmestreglenat/)
 * (@webmestreglenat)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/auteurs/#post-10475183)
 * Hi,
 * I only want to have one category output the %%ct_product_cat%% variable
 *  [laura lopez](https://wordpress.org/support/users/laura744/)
 * (@laura744)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/auteurs/#post-10479168)
 * Buenas, yo también necesito la misma funcionalidad, pero no soy programador. ¿
   Hay algún plugin que lo haga?
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/auteurs/#post-10481375)
 * [@webmestreglenat](https://wordpress.org/support/users/webmestreglenat/) If you
   add the `%%ct_product_cat%%` template variable to your desired product SEO title
   field, does this output the expected results for you?
 * [@laura744](https://wordpress.org/support/users/laura744/) Would you mind what
   you have written in English so that we can assist you better?
 *  Thread Starter [webmestreglenat](https://wordpress.org/support/users/webmestreglenat/)
 * (@webmestreglenat)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/auteurs/#post-10482715)
 * yes, it works as expected.
    But I would like to filter the elements of a single
   category
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/auteurs/#post-10502488)
 * Would you mind elaborating more on that please?
 *  Thread Starter [webmestreglenat](https://wordpress.org/support/users/webmestreglenat/)
 * (@webmestreglenat)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/auteurs/#post-10503818)
 * For example, I have the following categories on an item
    authors – authors 1 –
   authors 2 Type – books – comics
 * I want to put in the title
    authors 1, authors2
 * but using %% ct_product_cat %%, I have
    books, comics, authors 1, authors 2
 * I would like to use something like this %%ct_product_cat_authors%% to filter 
   just authors
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/auteurs/#post-10505923)
 * The `%%ct_product_cat%%` template variable shouldn’t output the value like this`
   books, comics, authors 1, authors 2`. However, if it does on your site, unfortunately,
   we think the issue is specific to your site. We’d need to investigate further
   but are unable to do so on these forums. You can [purchase Yoast SEO Premium](https://yoast.com/wordpress/plugins/seo/)
   and receive our Premium email support and we can help you further.
 *  [RARCA](https://wordpress.org/support/users/rarca/)
 * (@rarca)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/auteurs/#post-10735716)
 * This is not resolved. I am having the same issue. The title is outputting all
   of the categories each separated by a comma. This needs to be resolved as this
   does not help SEO 🙂

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

The topic ‘%%ct_product_cat%% but just for one category’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

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

 * 9 replies
 * 5 participants
 * Last reply from: [RARCA](https://wordpress.org/support/users/rarca/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/auteurs/#post-10735716)
 * Status: resolved