{"id":60543,"date":"2011-08-16T14:26:51","date_gmt":"2011-08-16T14:26:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/permalinks-for-hierarchical-custom-post-types\/"},"modified":"2011-11-15T03:25:54","modified_gmt":"2011-11-15T03:25:54","slug":"permalinks-for-hierarchical-custom-post-types","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/permalinks-for-hierarchical-custom-post-types\/","author":6523971,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"trunk","tested":"3.2.1","requires":"3.2.1","requires_php":"","requires_plugins":"","header_name":"Permalinks for Hierarchical Custom Post Types","header_author":"Colin Robinson","header_description":"","assets_banners_color":"","last_updated":"2011-11-15 03:25:54","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/colinrrobinson.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3128,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-60543","plugin","type-plugin","status-closed","hentry","plugin_committers-crrobi01"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/permalinks-for-hierarchical-custom-post-types.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows you to create custom permalinks with hierarchical post types.<\/p>\n\n<p>For example, you have two custom post types (book &amp; author). You specify a structure with a slug of \"library\"\nthat looks like example.com\/library\/%author%\/%book%\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>hcpt<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>How to set parents?<\/h4>\n\n<p>By default, Wordpress doesn't allow you to give a custom post type the parent of a different type. How you \nset this is up to you, but I would recommend a drop down meta box.<\/p>\n\n<h4>Support Website<\/h4>\n\n<p>Comment here for help:\nhttp:\/\/colinrrobinson.com\/technology\/wordpress\/permalinks-hierarchical-custom-post-types\/<\/p>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial import<\/li>\n<\/ul>","raw_excerpt":"Enable permalinks for a hierarchy of different custom post types","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/60543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=60543"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/crrobi01"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=60543"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=60543"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=60543"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=60543"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=60543"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=60543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}