2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says

How would that be done? I’ve been searching but I can’t find anything.

Just want to echo the list of categories for my portfolio posts.

562 posts You Reap What You Saw
  • Has referred 200+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+3 more
Bluz says

+1 for this. I need to display a list of categories under my “Products” post type.

3249 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

How would that be done? I’ve been searching but I can’t find anything. Just want to echo the list of categories for my portfolio posts.

http://wordpress.org/support/topic/list-categories-for-custom-post-type

2580 posts Put a Donk On It
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+10 more
ThemeProvince says

I think its impossible to determine portfolio & normal categories. You should register a taxonomy for your portfolio categories.


$portfolio_cats = get_categories("taxonomy=taxonomy_name");

foreach($portfolio_cats as $portfolio_cat) :

echo $portfolio_cat->category_name;

endforeach;

101 posts
  • Has referred 100+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+2 more
PixelBook says

I think its impossible to determine portfolio & normal categories. You should register a taxonomy for your portfolio categories.

$portfolio_cats = get_categories("taxonomy=taxonomy_name");

foreach($portfolio_cats as $portfolio_cat) :

echo $portfolio_cat->category_name;

endforeach;

+1 for this. But I think is $portfolio_cat->cat_name;

http://codex.wordpress.org/Function_Reference/get_categories

2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says


How would that be done? I’ve been searching but I can’t find anything. Just want to echo the list of categories for my portfolio posts.

http://wordpress.org/support/topic/list-categories-for-custom-post-type

Thanks mate ;)

by
by
by
by
by
by