{"id":106660,"date":"2019-07-17T02:17:20","date_gmt":"2019-07-17T02:17:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/code-to-post\/"},"modified":"2019-12-13T05:59:36","modified_gmt":"2019-12-13T05:59:36","slug":"code-to-post","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/code-to-post\/","author":17348090,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.4","stable_tag":"0.1.4","tested":"5.3.21","requires":"5.0","requires_php":"7.0","requires_plugins":"","header_name":"Code To Post","header_author":"Ryuta Sakai","header_description":"Import static Html to post content","assets_banners_color":"","last_updated":"2019-12-13 05:59:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/github.com\/sk-rt\/code-to-post","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1229,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2124285","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2124285","resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"congiguration","2":"updating"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3020,86],"plugin_category":[],"plugin_contributors":[174028],"plugin_business_model":[],"class_list":["post-106660","plugin","type-plugin","status-publish","hentry","plugin_tags-develop","plugin_tags-post","plugin_contributors-ryutasakai","plugin_committers-ryutasakai"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/code-to-post.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/code-to-post\/assets\/screenshot-1.png?rev=2124285","caption":"congiguration"},{"src":"https:\/\/ps.w.org\/code-to-post\/assets\/screenshot-2.png?rev=2124285","caption":"updating"}],"raw_content":"<!--section=description-->\n<p>\u26a0\ufe0f This plugin in development<\/p>\n\n<p>This plugin update or make post from static html files.\nIt's useful for development.<\/p>\n\n<p>How it works:<\/p>\n\n<ol>\n<li>Create a base directory on your server.<\/li>\n<li>Create directory named by \"post type slug\" in base directory.<\/li>\n<li>Put html file in the directory. and save post content to this html.<\/li>\n<li>Go to 'Code to Post' menu, and click 'Update to Post'.<\/li>\n<\/ol>\n\n<h3>Example tree<\/h3>\n\n<p>my-posts-dir\n    \u251c\u2500\u2500 post ( posttype slug )\n    \u2502  \u251c\u2500\u2500 hello.html ( post slug.html )\n    \u2502  \u2514\u2500\u2500 any-slug.html\n    \u2502\n    \u251c\u2500\u2500 page\n    \u2502  \u251c\u2500\u2500 about.html\n    \u2502  \u251c\u2500\u2500 searvice.html\n    \u2502  \u2514\u2500\u2500 searvice ( parent post slug )\n    \u2502        \u251c\u2500\u2500 searvice-child-01.html\n    \u2502        \u2514\u2500\u2500 searvice-child-02.html\n    \u2502\n    \u2514\u2500\u2500 my-custom-post\n        \u251c\u2500\u2500 custom-post-01.html\n        \u2514\u2500\u2500 custom-post-02.html<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>code-to-post<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Update congiguration through 'Code to Post' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1.4-BETA<\/h4>\n\n<ul>\n<li>In development<\/li>\n<li>Bugfix: When saving unpublished, it will be newly saved.<\/li>\n<li>Update: Added <code>ja<\/code> language file.<\/li>\n<\/ul>\n\n<h4>0.1.1-BETA<\/h4>\n\n<ul>\n<li>In development<\/li>\n<li>update readme<\/li>\n<\/ul>\n\n<h4>0.1.0-BETA<\/h4>\n\n<ul>\n<li>In development<\/li>\n<\/ul>","raw_excerpt":"Import static Html to post content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/106660","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=106660"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ryutasakai"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=106660"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=106660"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=106660"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=106660"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=106660"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=106660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}