Support ForumHide One of the Portfolio Category – Support Forum https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/feed/ Fri, 04 Sep 2026 00:07:38 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5316 <![CDATA[Hide One of the Portfolio Category]]> https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5316 Tue, 04 Nov 2014 20:08:45 +0000 gstudio Dear Boldial,

I want to hide “Featured” category from the Portfolio Category element, like shown in this page https://www.gloostudios.com/v4/portfolio/mtv-chevy-spark-cover-the-world/ Could you please show me how?

Thank you in advance

]]>
https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5326 <![CDATA[Reply To: Hide One of the Portfolio Category]]> https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5326 Tue, 04 Nov 2014 23:53:39 +0000 gstudio https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5343 <![CDATA[Reply To: Hide One of the Portfolio Category]]> https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5343 Wed, 05 Nov 2014 09:49:48 +0000 IshYoBoy Hey,

You can modify the “ish_portfolio_categories.php” PHP template so that the featured category is never output.

Follow the steps on the following page but apply it to the shortcode template you need. In your case “ish_portfolio_categories”.

Override shortcode template in a child theme

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5477 <![CDATA[Reply To: Hide One of the Portfolio Category]]> https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5477 Thu, 13 Nov 2014 18:48:31 +0000 gstudio Hi IshYoBoy.
Thanks for the reply. I still not clear which part of the “ish_portfolio_categories” that I should change to exclude “featured” category. To avoid misunderstanding, I enclosed the screenshot of what I want to achieve here.
Category I like to hide
Thanks,
Josh

]]>
https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5484 <![CDATA[Reply To: Hide One of the Portfolio Category]]> https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5484 Thu, 13 Nov 2014 19:34:21 +0000 gstudio Hi IshYoBoy,
Should I ask this question to visual composer support instead, because the result I want to achieve is on the “Portfolio Category” on the visual composer element.
Thank you,
Josh

]]>
https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5493 <![CDATA[Reply To: Hide One of the Portfolio Category]]> https://support.ishyoboy.com/forums/topic/hide-one-of-the-portfolio-category/#post-5493 Fri, 14 Nov 2014 07:47:52 +0000 IshYoBoy Hi,

There is a quick and dirty jQuery solution. You can simply hide this exact category:

The PHP overide solution would require to update the lines around 68. They should be something like this right now:

This is the code that is carried out for every category. You need to add a check if the category is not the “Featured” one.

The terms were obtained by using the function get_the_terms(). If you check its specification in the codex https://codex.wordpress.org/Function_Reference/get_the_terms you will see that it returns objects. So each term is an object containing the following data:

You could use one of them e.g. the “slug” to filter them. E.g.:

I let you do any modifications you need ;)

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>