{"id":486,"date":"2013-12-02T16:44:51","date_gmt":"2013-12-02T07:44:51","guid":{"rendered":"http:\/\/koolweb37.com\/wp\/?p=486"},"modified":"2021-07-26T12:53:56","modified_gmt":"2021-07-26T03:53:56","slug":"wordpress20131202","status":"publish","type":"post","link":"http:\/\/koolweb37.com\/wp\/2013\/12\/02\/wordpress20131202\/","title":{"rendered":"WordPress\u306e\u51fa\u52e4\u7ba1\u7406\u3067\u300c\u65e5\u4ed8\u30fb\u66dc\u65e5\u5225\u51fa\u52e4\u8868\u300d\u306e\u8868\u793a\u3092\u4f5c\u3063\u3066\u307f\u305f"},"content":{"rendered":"<div class=\"theContentWrap-ccc\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"730\" height=\"373\" src=\"http:\/\/koolweb37.com\/wp\/wp-content\/uploads\/2021\/07\/thumbnail-14.png\" alt=\"WordPress\u306e\u51fa\u52e4\u7ba1\u7406\u3067\u300c\u65e5\u4ed8\u30fb\u66dc\u65e5\u5225\u51fa\u52e4\u8868\u300d\u306e\u8868\u793a\u3092\u4f5c\u3063\u3066\u307f\u305f\" class=\"wp-image-2543\"\/><\/figure>\n\n\n<p>\u3042\u307e\u308a\u554f\u3044\u5408\u308f\u305b\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u6570\u304b\u6708\u306b\uff11\u5ea6\u307b\u3069\u304a\u554f\u5408\u305b\u9802\u304d\u307e\u3059\u306e\u3067<br \/>WordPress\u306e\u51fa\u52e4\u7ba1\u7406\u3067\u300c\u65e5\u4ed8\u30fb\u66dc\u65e5\u5225\u51fa\u52e4\u8868\u793a\u300d\u306b\u6311\u6226\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u3053\u306e\u8a18\u4e8b\u306e\u76ee\u6b21<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6aac0265a19d6\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6aac0265a19d6\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/koolweb37.com\/wp\/2013\/12\/02\/wordpress20131202\/#%E6%97%A5%E4%BB%98%E3%81%A8%E6%9B%9C%E6%97%A5%E3%81%AE%E5%8F%96%E5%BE%97\" >\u65e5\u4ed8\u3068\u66dc\u65e5\u306e\u53d6\u5f97<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/koolweb37.com\/wp\/2013\/12\/02\/wordpress20131202\/#%E6%97%A5%E4%BB%98%E3%83%BB%E6%9B%9C%E6%97%A5%E5%88%A5%E3%81%AE%E8%A1%A8%E7%A4%BA\" >\u65e5\u4ed8\u30fb\u66dc\u65e5\u5225\u306e\u8868\u793a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/koolweb37.com\/wp\/2013\/12\/02\/wordpress20131202\/#%E5%AE%8C%E6%88%90\" >\u5b8c\u6210<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"http:\/\/koolweb37.com\/wp\/2013\/12\/02\/wordpress20131202\/#%E2%96%A0%E7%AE%A1%E7%90%86%E7%94%BB%E9%9D%A2\" >\u25a0\u7ba1\u7406\u753b\u9762<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"http:\/\/koolweb37.com\/wp\/2013\/12\/02\/wordpress20131202\/#%E2%96%A0%E4%B8%80%E8%A6%A7%E7%94%BB%E9%9D%A2\" >\u25a0\u4e00\u89a7\u753b\u9762<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"http:\/\/koolweb37.com\/wp\/2013\/12\/02\/wordpress20131202\/#%E2%96%A0%E8%A9%B3%E7%B4%B0%E7%94%BB%E9%9D%A2\" >\u25a0\u8a73\u7d30\u753b\u9762<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"%E6%97%A5%E4%BB%98%E3%81%A8%E6%9B%9C%E6%97%A5%E3%81%AE%E5%8F%96%E5%BE%97\"><\/span>\u65e5\u4ed8\u3068\u66dc\u65e5\u306e\u53d6\u5f97<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u307e\u305a\u306f\u3001\u300c\u65e5\u4ed8\u3068\u66dc\u65e5\u300d\u306e\u53d6\u5f97\u306b\u3064\u3044\u3066\u8003\u3048\u307e\u3059\u3002<br \/>WordPress\u3067\u3001\u672c\u65e5\u306e\u65e5\u4ed8\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u306f\u7c21\u5358\u3067\u3059\u3002<\/p>\n<pre>&lt;?php echo date(\"Y\u5e74n\u6708j\u65e5\"); ?&gt;\n<\/pre>\n<p>\u3057\u304b\u3057\u3084\u308a\u305f\u3044\u4e8b\u306f\u3001\u6bce\u9031\u6708\u66dc\u306e\u65e5\u4ed8\u53d6\u5f97\u306a\u306e\u3067\u9055\u3046\uff01\uff01<br \/>\u3044\u308d\u3044\u308d\u3068\u8abf\u3079\u308b\u3068\u3001\u4e0b\u8a18\u3067\u53d6\u5f97\u3067\u304d\u305d\u3046\u3002<\/p>\n<pre>&lt;?php $month = date(\"n\u6708j\u65e5\", strtotime('monday',$_SERVER['REQUEST_TIME'])); echo $month.\"\uff08\".$week_info_day0[date(\"w\")].\"\uff09\"; ?&gt;\n<\/pre>\n<p>\u3067\u306f\u3001\u672c\u65e5\u306e\u65e5\u4ed8\u304b\u3089\uff11\u9031\u9593\u5206\u306e\u65e5\u4ed8\u306e\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001\u53d6\u5f97\u3057\u305f\u3044\u6708\u66dc\u65e5\u306e\u65e5\u4ed8\u306b1\u65e5\u3065\u3064\u8db3\u3057\u3066\u3044\u304f\u306e\u304c\u7c21\u5358\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<pre>&lt;?php $month = date(\"n\u6708j\u65e5\", strtotime('monday',$_SERVER['REQUEST_TIME'])); echo $month.\"\uff08\".$week_info_day0[date(\"w\")].\"\uff09\"; ?&gt;\n&lt;?php $month = date(\"n\u6708j\u65e5\",strtotime('tuesday',$_SERVER['REQUEST_TIME'])); echo $month.\"\uff08\".$week_info_day1[date(\"w\",strtotime(\"+1 day\"))].\"\uff09\"; ?&gt;\n&lt;?php $month = date(\"n\u6708j\u65e5\",strtotime('tuesday',$_SERVER['REQUEST_TIME'])); echo $month.\"\uff08\".$week_info_day1[date(\"w\",strtotime(\"+2 day\"))].\"\uff09\"; ?&gt;\n&lt;?php $month = date(\"n\u6708j\u65e5\",strtotime('tuesday',$_SERVER['REQUEST_TIME'])); echo $month.\"\uff08\".$week_info_day1[date(\"w\",strtotime(\"+3 day\"))].\"\uff09\"; ?&gt;\n&lt;?php $month = date(\"n\u6708j\u65e5\",strtotime('tuesday',$_SERVER['REQUEST_TIME'])); echo $month.\"\uff08\".$week_info_day1[date(\"w\",strtotime(\"+4 day\"))].\"\uff09\"; ?&gt;\n&lt;?php $month = date(\"n\u6708j\u65e5\",strtotime('tuesday',$_SERVER['REQUEST_TIME'])); echo $month.\"\uff08\".$week_info_day1[date(\"w\",strtotime(\"+5 day\"))].\"\uff09\"; ?&gt;\n&lt;?php $month = date(\"n\u6708j\u65e5\",strtotime('tuesday',$_SERVER['REQUEST_TIME'])); echo $month.\"\uff08\".$week_info_day1[date(\"w\",strtotime(\"+6 day\"))].\"\uff09\"; ?&gt;\n<\/pre>\n<p>\u3057\u304b\u3057\u4e0a\u8a18\u3067\u306f\u3001\u66dc\u65e5\u304c\u304b\u308f\u308b\u3068\u9806\u306b\u65e5\u4ed8\u304c\u5909\u308f\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br \/>\u3067\u304d\u308c\u3070\u3001\uff11\u9031\u9593\u3054\u3068\u306b\u3058\u3085\u3093\u3050\u308a\u8868\u793a\u3092\u5207\u308a\u66ff\u3048\u305f\u3044&#8230;<\/p>\n<p>\u3044\u308d\u3044\u308d\u3068\u8003\u3048\u305f\u7d50\u679c\u3001\u6bce\u9031\u6708\u66dc\u65e5\u306e\u65e5\u4ed8\u5165\u529b\u3057\u6301\u3061\u307e\u308f\u308b\u69d8\u306b\u3057\u307e\u3057\u305f\u3002\u3064\u3044\u3067\u306b\u66dc\u65e5\u3082\u8868\u793a<\/p>\n<pre>&lt;?php $week_info_oneweek = get_post_meta($post-&gt;ID, 'week_info_oneweek', true); $month0 = date(\"n\u6708j\u65e5\", strtotime('monday',strtotime(\"$week_info_oneweek\"))); echo $month0.\"\uff08\u6708\uff09\"; ?&gt;\n&lt;?php $month1 = date(\"n\u6708j\u65e5\",strtotime('tuesday', strtotime(\"$week_info_oneweek\"))); echo $month1.\"\uff08\u706b\uff09\"; ?&gt;\n&lt;?php $month2 = date(\"n\u6708j\u65e5\",strtotime('wednesday', strtotime(\"$week_info_oneweek\"))); echo $month2.\"\uff08\u6c34\uff09\"; ?&gt;\n&lt;?php $month3 = date(\"n\u6708j\u65e5\",strtotime('thursday', strtotime(\"$week_info_oneweek\"))); echo $month3.\"\uff08\u6728\uff09\"; ?&gt;\n&lt;?php $month4 = date(\"n\u6708j\u65e5\",strtotime('friday', strtotime(\"$week_info_oneweek\"))); echo $month4.\"\uff08\u91d1\uff09\"; ?&gt;\n&lt;?php $month5 = date(\"n\u6708j\u65e5\",strtotime('saturday', strtotime(\"$week_info_oneweek\"))); echo $month5.\"\uff08\u571f\uff09\"; ?&gt;\n&lt;?php $month6 = date(\"n\u6708j\u65e5\",strtotime('sunday', strtotime(\"$week_info_oneweek\"))); echo $month6.\"\uff08\u65e5\uff09\"; ?&gt;\n<\/pre>\n<p>\u3068\u308a\u3042\u3048\u305a\u8868\u793a\u306f\u3001OK\u307f\u305f\u3044\u3067\u3059\u3002\u304c\u3001\u3053\u306e\u65e5\u4ed8\u60c5\u5831\u3092Wordpress\u5185\u3067\u6301\u3061\u307e\u308f\u308a\u305f\u3044\u306e\u3067\u3001\u307e\u305f\u5c11\u3057\u8003\u3048\u3066\u307f\u308b\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E6%97%A5%E4%BB%98%E3%83%BB%E6%9B%9C%E6%97%A5%E5%88%A5%E3%81%AE%E8%A1%A8%E7%A4%BA\"><\/span>\u65e5\u4ed8\u30fb\u66dc\u65e5\u5225\u306e\u8868\u793a<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u65e5\u4ed8\u30fb\u66dc\u65e5\u5225\u306e\u8868\u793a\u306f\u3001jQuery-UI\u306e\u30bf\u30d6\u3092\u4f7f\u7528\u3059\u308b\u4e8b\u306b\u3057\u307e\u3059\u3002<br \/>WordPress\u3067\u306f\u3001jQuery-UI\u306e\u8aad\u307f\u8fbc\u307f\u306f\u7c21\u5358\u306b\u3067\u304d\u307e\u3059\u3002<br \/>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306eheader\u90e8\u5206\u306b\u4e0b\u8a18\u8a18\u8ff0\u3092\u8ffd\u52a0\u3057\u3001CSS\u3092\u8aad\u307f\u8fbc\u307f\u3001id\u3084class\u3092\u8ffd\u8a18\u3059\u308b\u3060\u3051\u3002<\/p>\n<pre>&lt;?php wp_enqueue_script('jquery-ui-tabs'); ?&gt;\n<\/pre>\n<h3><span class=\"ez-toc-section\" id=\"%E5%AE%8C%E6%88%90\"><\/span>\u5b8c\u6210<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u305d\u306e\u4ed6\u3001\u3044\u308d\u3044\u308d\u3068\u3084\u3063\u3066\u307f\u3066\u3067\u304d\u305f\u8868\u793a\u304c\u3001\u4e0b\u8a18\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E2%96%A0%E7%AE%A1%E7%90%86%E7%94%BB%E9%9D%A2\"><\/span>\u25a0\u7ba1\u7406\u753b\u9762<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><img decoding=\"async\" width=\"500\" height=\"255\" class=\"aligncenter size-full wp-image-970\" src=\"http:\/\/koolweb37.com\/wp\/wp-content\/uploads\/2015\/02\/20131202-1-1.png\" alt=\"20131202-1-1\" \/><\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E2%96%A0%E4%B8%80%E8%A6%A7%E7%94%BB%E9%9D%A2\"><\/span>\u25a0\u4e00\u89a7\u753b\u9762<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-489\" src=\"http:\/\/koolweb37.com\/wp\/wp-content\/uploads\/2013\/12\/20131202-2.png\" alt=\"20131202-2\" width=\"500\" height=\"255\" \/><\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E2%96%A0%E8%A9%B3%E7%B4%B0%E7%94%BB%E9%9D%A2\"><\/span>\u25a0\u8a73\u7d30\u753b\u9762<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-490\" src=\"http:\/\/koolweb37.com\/wp\/wp-content\/uploads\/2013\/12\/20131202-3.png\" alt=\"20131202-3\" width=\"500\" height=\"255\" \/><\/p>\n<p>\u81ea\u5206\u3067\u8a00\u3046\u306e\u3082\u306a\u3093\u3067\u3059\u304c\u3001\u3044\u3044\u611f\u3058\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u3069\u3046\u3067\u3057\u3087\u3046\u304b\uff1f<\/p><\/div>","protected":false},"excerpt":{"rendered":"<p>\u3042\u307e\u308a\u554f\u3044\u5408\u308f\u305b\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u6570\u304b\u6708\u306b\uff11\u5ea6\u307b\u3069\u304a\u554f\u5408\u305b\u9802\u304d\u307e\u3059\u306e\u3067WordPress\u306e\u51fa\u52e4\u7ba1\u7406\u3067\u300c\u65e5\u4ed8\u30fb\u66dc\u65e5\u5225\u51fa\u52e4\u8868\u793a\u300d\u306b\u6311\u6226\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u65e5\u4ed8\u3068\u66dc\u65e5\u306e\u53d6\u5f97 \u307e\u305a\u306f\u3001\u300c\u65e5\u4ed8\u3068\u66dc\u65e5\u300d\u306e\u53d6\u5f97\u306b\u3064\u3044\u3066\u8003\u3048\u307e\u3059\u3002WordPr [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2543,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"twitter_83535085_83535085":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u3010\u65b0\u7740\u8a18\u4e8b\u3011\u300eWordPress\u306e\u51fa\u52e4\u7ba1\u7406\u3067\u300c\u65e5\u4ed8\u30fb\u66dc\u65e5\u5225\u51fa\u52e4\u8868\u300d\u306e\u8868\u793a\u3092\u4f5c\u3063\u3066\u307f\u305f\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002 ","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[22],"tags":[143],"class_list":["post-486","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-143"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p2DQMZ-7Q","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"http:\/\/koolweb37.com\/wp\/wp-content\/uploads\/2021\/07\/thumbnail-14.png","_links":{"self":[{"href":"http:\/\/koolweb37.com\/wp\/wp-json\/wp\/v2\/posts\/486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/koolweb37.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/koolweb37.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/koolweb37.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/koolweb37.com\/wp\/wp-json\/wp\/v2\/comments?post=486"}],"version-history":[{"count":3,"href":"http:\/\/koolweb37.com\/wp\/wp-json\/wp\/v2\/posts\/486\/revisions"}],"predecessor-version":[{"id":2837,"href":"http:\/\/koolweb37.com\/wp\/wp-json\/wp\/v2\/posts\/486\/revisions\/2837"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/koolweb37.com\/wp\/wp-json\/wp\/v2\/media\/2543"}],"wp:attachment":[{"href":"http:\/\/koolweb37.com\/wp\/wp-json\/wp\/v2\/media?parent=486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/koolweb37.com\/wp\/wp-json\/wp\/v2\/categories?post=486"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/koolweb37.com\/wp\/wp-json\/wp\/v2\/tags?post=486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}