{"id":38215,"date":"2015-08-15T00:03:14","date_gmt":"2015-08-15T00:03:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/posttypearchivemeta\/"},"modified":"2015-08-15T00:13:21","modified_gmt":"2015-08-15T00:13:21","slug":"posttypearchivemeta","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/posttypearchivemeta\/","author":14038502,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"4.2.39","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"PostTypeArchiveMeta","header_author":"Yuya Tajima ( Prime Strategy Co.,Ltd. )","header_description":"","assets_banners_color":"","last_updated":"2015-08-15 00:13:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/yuya-tajima\/post_type_archive_meta","header_author_uri":"http:\/\/tajima-taso.jp","rating":0,"author_block_rating":0,"active_installs":0,"downloads":999,"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":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[50480],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-38215","plugin","type-plugin","status-publish","hentry","plugin_tags-post-types-archive","plugin_committers-tajima_taso"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/posttypearchivemeta.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>You will be able to add data to the custom post type's archive page or all post types.<\/p>\n <h4>This Plugin API<\/h4>\n <p>Retrieve meta data field for a post type.<\/p>\n <pre><code>get_post_type_meta( $key, $post_type ) <\/code><\/pre>\n <h4>Customize<\/h4>\n <pre><code>add_filter( 'post_type_archive_meta_post_types', 'func_name' ) add_filter( 'post_type_archive_meta_update_names', 'func_name' ) add_action( 'post_type_archive_meta_update_after', 'func_name' ); <\/code><\/pre>\n <h4>Related Links<\/h4>\n <ul>\n<li><a href=\"https:\/\/github.com\/yuya-tajima\/post_type_archive_meta\">Github<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the post_type_archive_meta directory to the plugins directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>You will find 'Meta Data' within the custom post type submenu. ( when the post type are enabled has_archive =&gt; true ). If you want to use this for all registered post types, use add_filter( 'post_type_archive_meta_post_types', 'func_name' );<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n <ul>\n<li>Initial Public Release<\/li>\n<\/ul>","raw_excerpt":"You will be able to add data to the custom post type&#039;s archive page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/38215","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=38215"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tajima_taso"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=38215"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=38215"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=38215"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=38215"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=38215"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=38215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}