admin管理员组文章数量:1432205
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 badges1 Answer
Reset to default 1according 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.
本文标签: How to display a category from a specific posttype
版权声明:本文标题:How to display a category from a specific post-type 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745566623a2663798.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论