{"id":5092,"date":"2011-10-26T22:45:23","date_gmt":"2011-10-26T13:45:23","guid":{"rendered":"https:\/\/kimassi.net\/zak\/?p=5092"},"modified":"2011-10-26T22:45:23","modified_gmt":"2011-10-26T13:45:23","slug":"wordpress%e3%82%92%e3%82%82%e3%81%a3%e3%81%a8%e4%bd%bf%e3%81%84%e3%82%84%e3%81%99%e3%81%8f","status":"publish","type":"post","link":"https:\/\/kimassi.net\/zak\/?p=5092","title":{"rendered":"WordPress\u3092\u3082\u3063\u3068\u4f7f\u3044\u3084\u3059\u304f"},"content":{"rendered":"<p><span style=\"color: #ff0000;\"><strong>\uff12\uff10\uff11\uff11\u5e74\uff11\uff10\u6708\uff12\uff16\u65e5<\/strong><\/span><br \/>\n\u304d\u307e\u3063\u3057\u91d1\u6ca2\u306e\u96d1\u8a18\u5e16\u3092\u3082\u3063\u3068\u4f7f\u3044\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306bWordPress\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u8ffd\u52a0\u3057\u3066\u6574\u5099\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>WP-PageNavi \u3068\u3044\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3057\u3066\uff0c\u5e0c\u671b\u306e\u30da\u30fc\u30b8\u306b\u884c\u304d\u3084\u3059\u304f\u3057\u307e\u3057\u305f\u3002<br \/>\n\u300cwp-pagenavi\u300d\u30d5\u30a9\u30eb\u30c0\u3092\u3001wp-content\/plugins\/ \u30d5\u30a9\u30eb\u30c0\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066wp-pagenavi\u3092\u6709\u52b9\u5316\u3002<br \/>\n&lt;?php if(function_exists(&#8216;wp_pagenavi&#8217;)) { wp_pagenavi(); } ; ?&gt;<br \/>\n\u3092\u8868\u793a\u3057\u305f\u3044\u5834\u6240\u306b\u633f\u5165\u3059\u308b\u3068\uff2f\uff2b\u3067\u3059\u3002<\/p>\n<p>WP-AddQuicktag\u3068\u3044\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3057\u3066\uff0c\u5b9a\u578b\u6587\u306e\u767b\u9332\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\u6587\u4e2d\u306b\u592a\u5b57\u306e\u8d64\u3044\u6587\u5b57\u3092\u633f\u5165\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\uff12\uff10\uff11\uff11\u5e74\uff11\uff11\u6708\uff13\u65e5<\/strong><\/span><br \/>\n\uff37\uff4f\uff52\uff44\uff30\uff52\uff45\uff53\uff53\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u8a18\u4e8b\u4e00\u89a7\u306b\u30b3\u30e1\u30f3\u30c8\u3082\u8868\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n<a href=\"http:\/\/ja.forums.wordpress.org\/topic\/1763\">http:\/\/ja.forums.wordpress.org\/topic\/1763<\/a><br \/>\n\u3092\u53c2\u8003\u306bindex.php\u306e\u8a18\u4e8b\u8868\u793a\u90e8\u306e\u5f8c\u308d\u306b<br \/>\n<code>&lt;?php $withcomments = true; comments_template( '\/index_comments.php' ); ?&gt;<\/code><br \/>\n\u3092\u5165\u308c\u307e\u3059\u3002<br \/>\ncomments.php\u306e\u4e0d\u5fc5\u8981\u306a\u90e8\u5206\u3092\u524a\u9664\u3057\u3066index_comments.php\u3092\u4f5c\u6210\u3057\u3066index.php\u306e\u968e\u5c64\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u5b8c\u6210\u3067\u3059\u3002<br \/>\n\u3061\u306a\u307f\u306bindex_comments.php\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n&lt;?php \/\/ Do not delete these lines<br \/>\n\u00a0\u00a0\u00a0 if (&#8216;comments.php&#8217; == basename($_SERVER[&#8216;SCRIPT_FILENAME&#8217;]))<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 die (&#8216;Please do not load this page directly. Thanks!&#8217;);<br \/>\n\u00a0\u00a0\u00a0 if (!empty($post-&gt;post_password)) { \/\/ if there&#8217;s a password<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 if ($_COOKIE[&#8216;wp-postpass_&#8217; . COOKIEHASH] != $post-&gt;post_password) {\u00a0 \/\/ and it doesn&#8217;t match the cookie<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ?&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;p&gt;This post is password protected. Enter the password to view comments.&lt;p&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;?php return;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 }<br \/>\n\u00a0\u00a0\u00a0 }<br \/>\n?&gt;<\/p>\n<p>&lt;div id=&#8221;comments&#8221;&gt;<\/p>\n<p>&lt;?php if ($comments) : ?&gt;<\/p>\n<p>\u00a0\u00a0\u00a0 &lt;div&gt;<br \/>\n\u00a0\u00a0\u00a0 &lt;?php foreach ($comments as $comment) : ?&gt;<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;div id=&#8221;comment-&lt;?php comment_ID() ?&gt;&#8221;&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;?php if ($comment-&gt;comment_approved == &#8216;0&#8217;) : ?&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;em&gt;Your comment is awaiting moderation.&lt;\/em&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;?php endif; ?&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;div&gt;&lt;?php comment_text() ?&gt;&lt;\/div&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;p&gt;Posted at &lt;?php comment_date(&#8216;Y.m.j&#8217;) ?&gt; &lt;?php comment_time() ?&gt; by &lt;?php comment_author_link() ?&gt;&lt;?php if ( $user_ID ) : ?&gt; &lt;?php endif; ?&gt;&lt;\/p&gt;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &lt;\/div&gt;<\/p>\n<p>\u00a0\u00a0\u00a0 &lt;?php endforeach; \/* end for each comment *\/ ?&gt;<br \/>\n\u00a0\u00a0\u00a0 &lt;\/div&gt;<\/p>\n<p>&lt;?php else : \/\/ this is displayed if there are no comments so far ?&gt;<\/p>\n<p>&lt;?php endif; ?&gt;<\/p>\n<p>&lt;\/div&gt;&lt;!&#8211; comments &#8211;&gt;<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uff12\uff10\uff11\uff11\u5e74\uff11\uff10\u6708\uff12\uff16\u65e5 \u304d\u307e\u3063\u3057\u91d1\u6ca2\u306e\u96d1\u8a18\u5e16\u3092\u3082\u3063\u3068\u4f7f\u3044\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306bWordPress\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u8ffd\u52a0\u3057\u3066\u6574\u5099\u3057\u307e\u3057\u305f\u3002 WP-PageNavi \u3068\u3044\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3057\u3066\uff0c\u5e0c\u671b\u306e\u30da\u30fc\u30b8\u306b\u884c\u304d\u3084\u3059\u304f\u3057\u307e\u3057\u305f\u3002 \u300cw [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[17,19],"tags":[],"class_list":["post-5092","post","type-post","status-publish","format-standard","hentry","category-17","category-19"],"_links":{"self":[{"href":"https:\/\/kimassi.net\/zak\/index.php?rest_route=\/wp\/v2\/posts\/5092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kimassi.net\/zak\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kimassi.net\/zak\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kimassi.net\/zak\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kimassi.net\/zak\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5092"}],"version-history":[{"count":0,"href":"https:\/\/kimassi.net\/zak\/index.php?rest_route=\/wp\/v2\/posts\/5092\/revisions"}],"wp:attachment":[{"href":"https:\/\/kimassi.net\/zak\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kimassi.net\/zak\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kimassi.net\/zak\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}