{"id":13826,"date":"2011-06-30T12:09:49","date_gmt":"2011-06-30T12:09:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/post-types-taxonomies-intersections\/"},"modified":"2016-11-07T14:04:33","modified_gmt":"2016-11-07T14:04:33","slug":"post-types-taxonomies-intersections","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/post-types-taxonomies-intersections\/","author":7520339,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1","stable_tag":"2.1","tested":"4.7.33","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"Post Types - Taxonomies intersections","header_author":"Benjamin Niess","header_description":"","assets_banners_color":"","last_updated":"2016-11-07 14:04:33","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/beapi.fr\/donate","header_plugin_uri":"http:\/\/www.beapi.fr","header_author_uri":"http:\/\/www.benjamin-niess.fr","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3209,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","2.0","2.0.1","2.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2007,527,50335,86,528],"plugin_category":[43],"plugin_contributors":[80648,77912],"plugin_business_model":[],"class_list":["post-13826","plugin","type-plugin","status-publish","hentry","plugin_tags-cpt","plugin_tags-custom","plugin_tags-intersection","plugin_tags-post","plugin_tags-type","plugin_category-customization","plugin_contributors-benjaminniess","plugin_contributors-momo360modena","plugin_committers-benjaminniess"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/post-types-taxonomies-intersections.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Allow to create intersections between a post type and a taxonomy with url such as :<\/p>\n\n<p>mywebsite.com\/mypost-type\/mytaxo\/my-term<\/p>\n\n<p>Allow to use template files such as :<\/p>\n\n<p>archive-posttype-taxo-term.php\narchive-posttype-taxo.php \narchive-posttype.php \narchive.php \nindex.php<\/p>\n\n<p>Contain a widget that list all terms of a specific taxonomy linked to a post type<\/p>\n\n<h3>Usage<\/h3>\n\n\n\n<p>Parameters : \n$post_type (string) : The slug of your post type\n$taxonomy (string) : The slug of your post taxonomy\n$term (string) : The taxonomy term<\/p>\n\n<p>or get_the_intersection_link( $post_type, $taxonomy, $term ); ?&gt; (if you don't want the function to echo the link)<\/p>\n\n<p>Example : &lt;a href=&quot;Go to my page<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload and activate the plugin<\/li>\n<li>Update permalink on the admin panel (VERY IMPORTANT)<\/li>\n<li>Go the the widget area if you want to add the widget<\/li>\n<li>You can use the function described on the Usage section if you want to create a link to the archive view<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<ul>\n<li>2.1\n\n<ul>\n<li>Coding standards review<\/li>\n<li>Added extra security sanitizing checks<\/li>\n<li>Tested up to 4.7<\/li>\n<\/ul><\/li>\n<li>2.0.1\n\n<ul>\n<li>Fix php tag in default tpl<\/li>\n<\/ul><\/li>\n<li>2.0\n\n<ul>\n<li>Code refactoring<\/li>\n<li>Use MVC modele. Allow to use custom template in theme<\/li>\n<\/ul><\/li>\n<li>1.0\n\n<ul>\n<li>First release<\/li>\n<\/ul><\/li>\n<\/ul>","raw_excerpt":"Allow to create intersections between a post type and a taxonomy with url such as :","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/13826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=13826"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/benjaminniess"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=13826"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=13826"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=13826"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=13826"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=13826"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=13826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}