{"id":1963,"date":"2016-04-18T00:54:56","date_gmt":"2016-04-17T15:54:56","guid":{"rendered":"http:\/\/www.cloudot.co.jp\/?p=1963"},"modified":"2023-06-09T08:06:08","modified_gmt":"2023-06-09T08:06:08","slug":"%e6%8a%9c%e7%b2%8b%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%81%ae%e6%96%87%e5%ad%97%e6%95%b0%e5%88%b6%e9%99%90%e3%80%90%e5%88%9d%e5%bf%83%e8%80%85%e3%81%ae%e3%81%9f%e3%82%81%e3%81%aewordpress-06","status":"publish","type":"post","link":"https:\/\/www.cloudot.co.jp\/en\/journal\/1963\/","title":{"rendered":"\u629c\u7c8b\u30c6\u30ad\u30b9\u30c8\u306e\u6587\u5b57\u6570\u5236\u9650\u3010\u521d\u5fc3\u8005\u306e\u305f\u3081\u306eWORDPRESS -06-\u3011"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f \u3053\u3093\u3070\u3093\u306f \u304a\u306f\u3088\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30b6\u30a4\u30ca\u30fc\u306e\u91ce\u7530\u6ca2\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u3082\u8a18\u4e8b\u6295\u7a3f\u90e8\u5206\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u30c8\u30e9\u30a4\u3067\u3059\uff01<\/p>\n<h2>\u629c\u7c8b\u30c6\u30ad\u30b9\u30c8\u306e\u6587\u5b57\u6570\u5236\u9650<\/h2>\n<p>TOP\u30da\u30fc\u30b8\u306a\u3069\u3067\u3001\u6700\u65b0\u8a18\u4e8b\u3092\u6570\u4ef6\u8868\u793a\u3059\u308b\u306b\u3042\u305f\u308a\u3001\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u3068\u30bf\u30a4\u30c8\u30eb\u3060\u3051\u3060\u3068\u3061\u3087\u3063\u3068\u5473\u6c17\u306a\u3044\u30b5\u30a4\u30c8\u306e\u4f5c\u308a\u306e\u5834\u5408\u672c\u6587\u3082\u8f09\u305b\u305f\u308a\u3059\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u5168\u6587\u3058\u3083<strong>\u3046\u3056\u3063\u305f\u3044\u3002<\/strong><\/p>\n<p>\u305d\u3053\u3067\u672c\u6587\u306f\u4e00\u90e8\u3092\u629c\u7c8b\u3057\u3066\u63b2\u8f09\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u629c\u7c8b\u6587\u81ea\u4f53\u306f<\/p>\n<pre class=\"lang:php decode:true\">&lt;?php the_excerpt(); ?&gt;<\/pre>\n<p>\u3067\u7c21\u5358\u306b\u8868\u793a\u3067\u304d\u307e\u3059\u3002<br \/>\n\u305f\u3060\u3001\u629c\u7c8b\u30c6\u30ad\u30b9\u30c8\u6570\u304c\u5408\u308f\u306a\u3044\u2026\u3002\u3053\u308c\u3092\u7de8\u96c6\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>functions.php\u306b\u4e0b\u8a18\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002\u5834\u6240\u306f\u3069\u3053\u3067\u3082\u3044\u3044\u3088\u3046\u306a\u306e\u3067\u81ea\u5206\u306e\u308f\u304b\u308a\u3084\u3059\u3044\u3068\u3053\u308d\u3078\u3002<\/p>\n<pre class=\"lang:php decode:true\" title=\"functions.php\">\/\/&nbsp;\u629c\u7c8b\u30c6\u30ad\u30b9\u30c8\u6587\u5b57\u6570\u5236\u9650\nfunction new_excerpt_mblength($length) {\n     return 70;\n}\nadd_filter('excerpt_mblength', 'new_excerpt_mblength');<\/pre>\n<p>\u3053\u306e <span style=\"color: #b55ce0;\">return&nbsp;70;<\/span>&nbsp;\u90e8\u5206\u304c\u8868\u793a\u6587\u5b57\u6570\u306e\u6307\u5b9a\u3067\u3059\u3002<\/p>\n<p>\u30b5\u30a4\u30c8\u306b\u5408\u3046\u3088\u3046\u306b\u6587\u5b57\u6570\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p>\u8a2d\u5b9a\u81ea\u4f53\u306f\u3053\u308c\u3067\u554f\u984c\u306a\u3044\u306e\u3067\u3059\u304c\u30012\u3064\u6ce8\u610f\u70b9\u3002<\/p>\n<p>\u30fb\u521d\u671f\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d7\u30e9\u30b0\u30a4\u30f3<span style=\"color: #b55ce0;\">\u300cWP&nbsp;Multibyte&nbsp;Patch\u300d<\/span>\u3092\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p>\u30fb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308bWP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6700\u65b0\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u300cWP&nbsp;Multibyte&nbsp;Patch\u300d\u3092\u6709\u52b9\u5316\u3057\u306a\u3044\u3068\u3001functions.php\u306b\u8ffd\u52a0\u3057\u305f\u8a2d\u5b9a\u304c\u52b9\u304d\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u30de\u30b9\u30c8\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001WP\u3092\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3059\u308b\u3067\u3059\u304c\u3001\u79c1\u306e\u5834\u5408\u3053\u308c\u3092\u3057\u306a\u3044\u3068\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\u304c\u3046\u307e\u304f\u8a2d\u5b9a\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u30d0\u30b0\u304c\u307f\u3064\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>WP\u306f\u6700\u65b0\u306b\u8d8a\u3057\u305f\u3053\u3068\u306f\u306a\u3044\u3068\u601d\u3046\u306e\u3067\u3001\u6700\u521d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u6642\u306b\u5fd8\u308c\u305a\u306b\u3084\u3063\u3066\u304a\u304d\u305f\u3044\u3067\u3059\u306d\u3002<\/p>\n<h2>\u3088\u308a\u826f\u3044\u65b9\u6cd5\u3092\u767a\u898b<\/h2>\n<p>\u8272\u3005\u6a21\u7d22\u3057\u3066\u3044\u304f\u4e2d\u3067\u4e0a\u8a18\u3088\u308a\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u3092\u767a\u898b\u3057\u307e\u3057\u305f\uff01\u3053\u306e\u65b9\u6cd5\u306a\u3089functions.php\u306b\u8a18\u8ff0\u3092\u52a0\u3048\u308b\u3060\u3051\u3067\u4f5c\u52d5\uff01\u30ab\u30f3\u30bf\u30f3\uff01<\/p>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u306e\u9023\u52d5\u306f\u4e00\u5207\u306a\u3057\uff01<\/p>\n<pre class=\"lang:php decode:true\" title=\"functions.php\">\/\/&nbsp;\u629c\u7c8b\u30c6\u30ad\u30b9\u30c8\u6587\u5b57\u6570\u5236\u9650\nadd_filter('the_excerpt',&nbsp;'my_the_excerpt');\nfunction&nbsp;my_the_excerpt($postContent)&nbsp;{\n&nbsp; &nbsp; $postContent&nbsp;=&nbsp;mb_strimwidth($postContent,&nbsp;0,&nbsp;70,&nbsp;\"\u2026\",\"UTF-8\");\n&nbsp; &nbsp; return&nbsp;$postContent;\n}<\/pre>\n<p>\u3053\u3061\u3089\u306e\u30b3\u30fc\u30c9\u306e\u5834\u5408 <span style=\"color: #b55ce0;\">$postContent,&nbsp;0,&nbsp;70<\/span>&nbsp;\u3067\u8868\u793a\u6587\u5b57\u6570\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u8a18\u8f09\u3057\u3044\u3066\u308b<span style=\"color: #b55ce0;\">&#8220;\u2026&#8221;<\/span>\u306f\u6587\u5b57\u6570\u3092\u8d85\u3048\u305f\u6642\u306b\u3069\u3046\u8868\u793a\u3059\u308b\u304b\u306e\u6307\u5b9a\u3067\u3059\u3002<\/p>\n<p>\u672c\u6587\u540c\u69d8\u30bf\u30a4\u30c8\u30eb\u3082\u3082\u3061\u308d\u3093\u6587\u5b57\u5236\u9650\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true\" title=\"functions.php\">\/\/\u30bf\u30a4\u30c8\u30eb\u306e\u6587\u5b57\u5236\u9650\nadd_filter('the_title',&nbsp;'my_the_title');\nfunction&nbsp;my_the_title($title,&nbsp;$id)&nbsp;{\n&nbsp; &nbsp; $title&nbsp;=&nbsp;mb_strimwidth($title,&nbsp;0,&nbsp;36,&nbsp;\"\u2026\",\"UTF-8\");\n&nbsp; &nbsp; return&nbsp;$title;\n}<\/pre>\n<p>\u3053\u3061\u3089\u3082\u672c\u6587\u540c\u69d8 <span style=\"color: #b55ce0;\">$title,&nbsp;0,&nbsp;36<\/span> \u3067\u6587\u5b57\u6570\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6570\u5b57\u4ee5\u5916\u30b3\u30d4\u30da\u3067\u5b9f\u88c5\u3067\u304d\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u3068\u3063\u3066\u3082\u7c21\u5358\uff01\u3053\u308c\u3067\u6295\u7a3f\u8a18\u4e8b\u4e00\u89a7\u3082\u7d71\u4e00\u611f\u306e\u3042\u308b\u30c7\u30b6\u30a4\u30f3\u306b\u3067\u304d\u307e\u3059\uff01<\/p>\n<p>\u305d\u308c\u3067\u307e\u305f\u6b21\u56de\u3063\uff01<\/p>\n<h3>\u904e\u53bb\u8a18\u4e8b<\/h3>\n<p><a href=\"http:\/\/www.cloudot.co.jp\/en\/blog\/1762\/\">\u25b6\u521d\u5fc3\u8005\u306e\u305f\u3081\u306eWORDPRESS -05-<\/a><br \/>\n<a href=\"http:\/\/www.cloudot.co.jp\/en\/blog\/1561\/\">\u25b6\u521d\u5fc3\u8005\u306e\u305f\u3081\u306eWORDPRESS -04-<\/a><br \/>\n<a href=\"http:\/\/www.cloudot.co.jp\/en\/blog\/1411\/\">\u25b6\u521d\u5fc3\u8005\u306e\u305f\u3081\u306eWORDPRESS -03-<\/a><br \/>\n<a href=\"http:\/\/www.cloudot.co.jp\/en\/blog\/1185\/\">\u25b6\u521d\u5fc3\u8005\u306e\u305f\u3081\u306eWORDPRESS -02-<\/a><br \/>\n<a href=\"http:\/\/www.cloudot.co.jp\/en\/blog\/848\/\">\u25b6\u521d\u5fc3\u8005\u306e\u305f\u3081\u306eWORDPRESS -01-<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f \u3053\u3093\u3070\u3093\u306f \u304a\u306f\u3088\u3046\u3054\u3056\u3044\u307e\u3059\u3002 \u30c7\u30b6\u30a4\u30ca\u30fc\u306e\u91ce\u7530\u6ca2\u3067\u3059\u3002 \u4eca\u56de\u3082\u8a18\u4e8b\u6295\u7a3f\u90e8\u5206\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u30c8\u30e9 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":849,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[14],"tags":[],"class_list":["post-1963","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/posts\/1963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/comments?post=1963"}],"version-history":[{"count":4,"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/posts\/1963\/revisions"}],"predecessor-version":[{"id":14863,"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/posts\/1963\/revisions\/14863"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/media\/849"}],"wp:attachment":[{"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/media?parent=1963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/categories?post=1963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/tags?post=1963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}