最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to display a category from a specific post-type

programmeradmin1浏览0评论

I have a custom post type called "my_people" along with a custom taxonomy named my_people_categories. It is used to display a list of people. I would like to show only the people in the list that are in a specific category in the custom taxonomy.

I have tried using the following short code, but it displays all the people and not just the ones in the categories named.

[catlist name=cat1,cat2 post_type=my_people orderby=title order=ASC]

Is there someway I am supposed to mention the taxonomy? Is what I am trying to do even possible using this addon?

I have a custom post type called "my_people" along with a custom taxonomy named my_people_categories. It is used to display a list of people. I would like to show only the people in the list that are in a specific category in the custom taxonomy.

I have tried using the following short code, but it displays all the people and not just the ones in the categories named.

[catlist name=cat1,cat2 post_type=my_people orderby=title order=ASC]

Is there someway I am supposed to mention the taxonomy? Is what I am trying to do even possible using this addon?

Share Improve this question edited Nov 5, 2012 at 20:19 krawl asked Nov 5, 2012 at 18:31 krawlkrawl 1135 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

according to the list of supported parameters you can possibly use it with a custom post type by setting post_type to any, but it doesn't appear to support custom taxonomies.

发布评论

评论列表(0)

  1. 暂无评论