{"id":133733,"date":"2011-06-30T08:00:00","date_gmt":"2011-06-30T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/post-types-taxonomies-intersections\/"},"modified":"2016-11-07T22:04:00","modified_gmt":"2016-11-07T22:04:00","slug":"post-types-taxonomies-intersections","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/post-types-taxonomies-intersections\/","title":{"rendered":"Post types \/ taxonomies intersections"},"content":{"rendered":"<p>Allow to create intersections between a post type and a taxonomy with url such as :<\/p>\n<p>mywebsite.com\/mypost-type\/mytaxo\/my-term<\/p>\n<p>Allow to use template files such as :<\/p>\n<p>archive-posttype-taxo-term.php<br \/>\narchive-posttype-taxo.php<br \/>\narchive-posttype.php<br \/>\narchive.php<br \/>\nindex.php<\/p>\n<p>Contain a widget that list all terms of a specific taxonomy linked to a post type<\/p>\n<h3>Usage<\/h3>\n<p>Parameters :<br \/>\n$post_type (string) : The slug of your post type<br \/>\n$taxonomy (string) : The slug of your post taxonomy<br \/>\n$term (string) : The taxonomy term<\/p>\n<p>or get_the_intersection_link( $post_type, $taxonomy, $term ); ?> (if you don\u2019t want the function to echo the link)<\/p>\n<p>Example : <a href=\"Go to my page<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Allow to create intersections between a post type and a taxonomy with url such as :<\/p>\n","protected":false},"author":65,"featured_media":229101,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Post types \/ taxonomies intersections - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Allow to create intersections between a post type and a taxonomy with url such as :"},"footnotes":""},"categories":[1],"tags":[3550,1305,36356,71,13043],"class_list":["post-133733","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-cpt","tag-custom","tag-intersection","tag-post","tag-type"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/133733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=133733"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/133733\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/229101"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=133733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=133733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=133733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}