{"id":1609,"date":"2018-12-03T22:19:52","date_gmt":"2018-12-03T13:19:52","guid":{"rendered":"http:\/\/4koma-web.com\/coding\/?p=1609"},"modified":"2018-12-04T17:48:01","modified_gmt":"2018-12-04T08:48:01","slug":"%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e8%a8%98%e4%ba%8b%e3%81%a7%e3%82%b3%e3%83%a1%e3%83%b3%e3%83%88%e6%ac%84%e3%82%92%e8%bf%bd%e5%8a%a0","status":"publish","type":"post","link":"https:\/\/4koma-web.com\/coding\/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e8%a8%98%e4%ba%8b%e3%81%a7%e3%82%b3%e3%83%a1%e3%83%b3%e3%83%88%e6%ac%84%e3%82%92%e8%bf%bd%e5%8a%a0\/","title":{"rendered":"\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u8a18\u4e8b\u3067\u30b3\u30e1\u30f3\u30c8\u6b04\u3092\u8ffd\u52a0"},"content":{"rendered":"<p>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u8a18\u4e8b\u3067\u30b3\u30e1\u30f3\u30c8\u6b04\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p> 1,WordPress\u306e\u8a2d\u5b9a\u3067\u3001<br \/>\n\u300c\u8a2d\u5b9a\u300d\uff1e\u300c\u30c7\u30a3\u30b9\u30ab\u30c3\u30b7\u30e7\u30f3\u300d\u3067\u300c\u65b0\u3057\u3044\u6295\u7a3f\u3078\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u8a31\u53ef\u3059\u308b \u300d\u306b\u30c1\u30a7\u30c3\u30af\u3001<\/p>\n<p>2,function.php\u306b\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u306b\u30b3\u30e1\u30f3\u30c8\u306e\u8a31\u53ef<br \/>\n&#8216;supports&#8217; => array( &#8216;title&#8217;, &#8216;editor&#8217;, &#8216;thumbnail&#8217;, &#8216;excerpt&#8217;, &#8216;custom-fields&#8217;,&#8217;comments&#8217; ),<\/p>\n<p>3,\u30b3\u30e1\u30f3\u30c8\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u4f5c\u6210<\/p>\n<pre>\r\n<?php\r\n<div id=\"comments\" class=\"comments-area\">\r\n\r\n\t<?php \/\/ You can start editing here -- including this comment! ?>\r\n\r\n\t<?php if ( have_comments() ) : ?>\r\n\t\t<h2 class=\"comments-title\">\r\n\t\t\t<?php\r\n\t\t\t\tprintf( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', 'sparkling' ),\r\n\t\t\t\t\tnumber_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '<\/span>' );\r\n\t\t\t?>\r\n\t\t<\/h2>\r\n\r\n\t\t<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : \/\/ are there comments to navigate through ?>\r\n\t\t<nav id=\"comment-nav-above\" class=\"comment-navigation\" role=\"navigation\">\r\n\t\t\t<h1 class=\"screen-reader-text\"><?php esc_html_e( 'Comment navigation', 'sparkling' ); ?><\/h1>\r\n\t\t\t<div class=\"nav-previous\"><?php previous_comments_link( esc_html__( '&larr; Older Comments', 'sparkling' ) ); ?><\/div>\r\n\t\t\t<div class=\"nav-next\"><?php next_comments_link( esc_html__( 'Newer Comments &rarr;', 'sparkling' ) ); ?><\/div>\r\n\t\t<\/nav><!-- #comment-nav-above -->\r\n\t\t<?php endif; \/\/ check for comment navigation ?>\r\n\r\n\t\t<ol class=\"comment-list\">\r\n\t\t\t<?php\r\n\t\t\t\twp_list_comments( array(\r\n\t\t\t\t\t'style'      => 'ol',\r\n\t\t\t\t\t'short_ping' => true,\r\n\t\t\t\t\t'avatar_size' => 60\r\n\t\t\t\t) );\r\n\t\t\t?>\r\n\t\t<\/ol><!-- .comment-list -->\r\n\r\n\t\t<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : \/\/ are there comments to navigate through ?>\r\n\t\t<nav id=\"comment-nav-below\" class=\"comment-navigation\" role=\"navigation\">\r\n\t\t\t<h1 class=\"screen-reader-text\"><?php esc_html_e( 'Comment navigation', 'sparkling' ); ?><\/h1>\r\n\t\t\t<div class=\"nav-previous\"><?php previous_comments_link( esc_html__( '&larr; Older Comments', 'sparkling' ) ); ?><\/div>\r\n\t\t\t<div class=\"nav-next\"><?php next_comments_link( esc_html__( 'Newer Comments &rarr;', 'sparkling' ) ); ?><\/div>\r\n\t\t<\/nav><!-- #comment-nav-below -->\r\n\t\t<?php endif; \/\/ check for comment navigation ?>\r\n\r\n\t<?php endif; \/\/ have_comments() ?>\r\n\r\n\t<?php\r\n\t\t\/\/ If comments are closed and there are comments, let's leave a little note, shall we?\r\n\t\tif ( ! comments_open() &#038;&#038; '0' != get_comments_number() &#038;&#038; post_type_supports( get_post_type(), 'comments' ) ) :\r\n\t?>\r\n\t\t<p class=\"no-comments\"><?php esc_html_e( 'Comments are closed.', 'sparkling' ); ?><\/p>\r\n\t<?php endif; ?>\r\n\r\n\t<?php comment_form(); ?>\r\n\r\n<\/div><!-- #comments -->\r\n<\/pre>\n<p>4,single-\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u540d.php\u306b<br \/>\n\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30bf\u30b0\u3092\u8868\u793a\u3055\u305b\u305f\u3044\u5834\u6240\u306b\u8ffd\u52a0<\/p>\n<pre>\r\n<?php comments_template(); ?>\r\n<\/pre>\n<p>5,\u6700\u5f8c\u306b\u6771\u6e56\u306e\u65b0\u898f\u4f5c\u6210\u753b\u9762\u3067\u3001\u8868\u793a\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30c7\u30b9\u30ab\u30c3\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u8a18\u4e8b\u3067\u30b3\u30e1\u30f3\u30c8\u6b04\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002 1,WordPress\u306e\u8a2d\u5b9a\u3067\u3001 \u300c\u8a2d\u5b9a\u300d\uff1e\u300c\u30c7\u30a3\u30b9\u30ab\u30c3\u30b7\u30e7\u30f3\u300d\u3067\u300c\u65b0\u3057\u3044\u6295\u7a3f\u3078\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u8a31\u53ef\u3059\u308b \u300d\u306b\u30c1\u30a7\u30c3\u30af\u3001 2,function.php\u306b\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u306b\u30b3\u30e1\u30f3\u30c8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"","_original_post":"","footnotes":""},"categories":[1],"tags":[],"publishpress_future_action":{"enabled":false,"date":"2026-04-12 01:19:55","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category"},"_links":{"self":[{"href":"https:\/\/4koma-web.com\/coding\/wp-json\/wp\/v2\/posts\/1609"}],"collection":[{"href":"https:\/\/4koma-web.com\/coding\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/4koma-web.com\/coding\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/4koma-web.com\/coding\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4koma-web.com\/coding\/wp-json\/wp\/v2\/comments?post=1609"}],"version-history":[{"count":0,"href":"https:\/\/4koma-web.com\/coding\/wp-json\/wp\/v2\/posts\/1609\/revisions"}],"wp:attachment":[{"href":"https:\/\/4koma-web.com\/coding\/wp-json\/wp\/v2\/media?parent=1609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/4koma-web.com\/coding\/wp-json\/wp\/v2\/categories?post=1609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/4koma-web.com\/coding\/wp-json\/wp\/v2\/tags?post=1609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}