ThemeForest

Show a list of "Custom post" categories

2942 posts
  • Has been a member for 3-4 years
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Blog Post
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 100 and 499 items
  • Australia
  • Referred between 200 and 499 users
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.

1 year ago
554 posts You Reap What You Saw
  • Has been a member for 2-3 years
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Elite Author
  • Bought between 1 and 9 items
  • Referred between 200 and 499 users
Bluz says

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

1 year ago
2211 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 10 and 49 items
  • United States
OrganicBeeMedia 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

1 year ago
2389 posts Put a Donk On It
  • Has been a member for 2-3 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Interviewed on the Envato Notes blog
  • Beta Tester
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 50 and 99 users
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;

1 year ago
67 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 1 and 9 items
  • Referred between 10 and 49 users
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

1 year ago
2942 posts
  • Has been a member for 3-4 years
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Blog Post
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 100 and 499 items
  • Australia
  • Referred between 200 and 499 users
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 ;)

1 year ago
by
by
by
by
by