{"id":2444,"date":"2016-06-05T20:20:48","date_gmt":"2016-06-05T11:20:48","guid":{"rendered":"http:\/\/www.cloudot.co.jp\/?p=2444"},"modified":"2022-10-12T02:41:01","modified_gmt":"2022-10-12T02:41:01","slug":"%e5%9b%ba%e5%ae%9a%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%a7%e6%8a%95%e7%a8%bf%e3%81%ae%e4%b8%80%e8%a6%a7%e8%a1%a8%e7%a4%ba%e3%81%ae%e5%ae%9f%e8%a3%85%e3%80%90%e5%88%9d%e5%bf%83%e8%80%85%e3%81%ae%e3%81%9f","status":"publish","type":"post","link":"https:\/\/www.cloudot.co.jp\/en\/journal\/2444\/","title":{"rendered":"\u56fa\u5b9a\u30da\u30fc\u30b8\u3067\u6295\u7a3f\u306e\u4e00\u89a7\u8868\u793a\u306e\u5b9f\u88c5\u3010\u521d\u5fc3\u8005\u306e\u305f\u3081\u306eWORDPRESS -07-\u3011"},"content":{"rendered":"<p><!--<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-849 size-full\" src=\"http:\/\/www.cloudot.co.jp\/wp-content\/uploads\/2022\/08\/blogkv01.jpg\" alt=\"\u30c7\u30b6\u30a4\u30ca\u30fc\u306e\u30ef\u30fc\u30c9\u30d7\u30ec\u30b9\u5b9f\u88c5\u30ed\u30b0\" width=\"960\" height=\"400\">\n&nbsp;\n\u30c7\u30b6\u30a4\u30ca\u30fc\u306e\u91ce\u7530\u6ca2\u3067\u3059\u3002\n\n&nbsp;\n\n-->\u4eca\u56de\u306f\u56fa\u5b9a\u30da\u30fc\u30b8\u3067\u306e\u6295\u7a3f\u4e00\u89a7\u3092\u4f5c\u6210\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u6295\u7a3f\u306e\u4e00\u89a7\u306e\u30da\u30fc\u30b8\u306f\u30d6\u30ed\u30b0\u5c02\u7528\u30b5\u30a4\u30c8\u3067\u306f\u306a\u304f\u4f01\u696d\u30b5\u30a4\u30c8\u306e\u65b0\u7740\u60c5\u5831\u306a\u3069\u3067WP\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306b\u306f\u591a\u304f\u6d3b\u7528\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u4eca\u56de\u3054\u7d39\u4ecb\u3059\u308b\u65b9\u6cd5\u306f\u56fa\u5b9a\u30da\u30fc\u30b8\u3067\u306e\u8868\u793a\u306a\u306e\u3067\u3001\u3042\u308b\u7a0b\u5ea6\u306e\u4e00\u89a7\u60c5\u5831\u306a\u3089\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5316\u3057\u3066\u4f7f\u3063\u3066\u3044\u3051\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<\/p>\n<h2>\u56fa\u5b9a\u30da\u30fc\u30b8\u7528\u4e00\u89a7\u8868\u793aPHP<\/h2>\n<p>\u307e\u305a\u306f\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306ePHP\u304c\u56fa\u5b9a\u30da\u30fc\u30b8\u3067\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<pre class=\"lang:php decode:true\" title=\"\u56fa\u5b9a\u30da\u30fc\u30b8\">&lt;?php\n$paged = (int) get_query_var('paged');\n$args = array(\n    'posts_per_page' =&gt; 4,\n    'paged' =&gt; $paged,\n    'orderby' =&gt; 'post_date',\n    'order' =&gt; 'DESC',\n    'post_type' =&gt; 'post',\n    'post_status' =&gt; 'publish'\n);\n$the_query = new WP_Query($args);\nif ( $the_query-&gt;have_posts() ) :\n    while ( $the_query-&gt;have_posts() ) : $the_query-&gt;the_post();\n        get_template_part( 'bloglist', get_post_format() );\n    endwhile;\nendif;\nwp_reset_postdata();\n?&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>\u7c21\u5358\u306b\u30b3\u30fc\u30c9\u306e\u8aac\u660e\u3092\u3059\u308b\u30684\u884c\u76ee\u306e<span style=\"color: #b55ce0;\">posts_per_page<\/span>\u306f\u8868\u793a\u3059\u308b\u8a18\u4e8b\u306e\u4ef6\u6570\u3067\u3059\u3002<\/p>\n<p>\u79c1\u306f4\u4ef6\u3068\u8a2d\u5b9a\u3057\u3066\u3042\u308a\u307e\u3059\u304c\u30015\u4ef6\u76ee\u4ee5\u4e0a\u306e\u8a18\u4e8b\u306f\u30da\u30fc\u30b8\u30f3\u30b0\u3092\u8a2d\u5b9a\u3057\u3066\u30da\u30fc\u30b8\u9001\u308a\u306b\u3066\u8868\u793a\u3055\u305b\u308b\u4e88\u5b9a\u3067\u3059\u3002\u30da\u30fc\u30b8\u30f3\u30b0\u306b\u3064\u3044\u3066\u306f\u6b21\u56de\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u3054\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u57fa\u672c\u7684\u306b\u306f\u30b3\u30d4\u30da\u3067\u5b9f\u88c5\u3067\u304d\u307e\u3059\u304c\u30011\u3064\u6ce8\u610f\u70b9\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u306f14\u884c\u76ee\u306b\u3042\u308b<span style=\"color: #b55ce0;\">get_template_part<\/span>\u3068\u8a00\u3046\u95a2\u6570\u3067\u3059\u3002<br \/>\n\u4e0a\u8a18\u306e\u79c1\u306e\u5834\u5408\u306f<span style=\"color: #b55ce0;\">bloglist<\/span>\u3068\u3044\u3046\u5f15\u304d\u6570\u304c\u305d\u308c\u306b\u3042\u305f\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e<span style=\"color: #b55ce0;\">bloglist<\/span>\u3067\u30ea\u30d4\u30fc\u30c8\u3055\u305b\u308b\u8a18\u4e8b\u306e\u4e2d\u8eab\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u304a\u5bdf\u3057\u306e\u901a\u308a\u3001\u3053\u306e\u30ea\u30d4\u30fc\u30c8\u3055\u305b\u308b\u4e2d\u8eab\u3092\u4f5c\u6210\u3057\u3066\u3044\u306a\u3044\u3068\u3001\u4e0a\u8a18\u306ePHP\u30b3\u30fc\u30c9\u3092\u5165\u308c\u3066\u3082\u4f55\u3082\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002<br \/>\n<span style=\"color: #b55ce0;\">bloglist<\/span>\u3068\u8a00\u3046\u540d\u524d\u306f\u4efb\u610f\u3067\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<\/p>\n<h2>\u8a18\u4e8b\u3092\u8868\u793a\u3055\u305b\u308b\u4e00\u89a7\u30da\u30fc\u30b8\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4f5c\u6210<\/h2>\n<p>\u3067\u306f\u4e0a\u8a18\u3067\u8aac\u660e\u3057\u305f<span style=\"color: #b55ce0;\">bloglist<\/span>\u306e\u4e2d\u8eab\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u79c1\u306f\u4e0a\u8a18PHP\u30b3\u30fc\u30c9\u3092<span style=\"color: #b55ce0;\"> ul <\/span>\u30bf\u30b0\u3067\u62ec\u308a\u3001\u4e2d\u306e\u30ea\u30b9\u30c8\u3092\u30ea\u30d4\u30fc\u30c8\u3055\u305b\u3066\u8a18\u4e8b\u4e00\u89a7\u3092\u5236\u4f5c\u3057\u307e\u3057\u305f\u3002<br \/>\n\u307e\u305a\u306f<span style=\"color: #b55ce0;\">get_template_part<\/span>\u3067\u547c\u3073\u51fa\u3057\u3066\u3044\u308b\u540c\u3058\u540d\u524d\u306ePHP\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u3057\u304f\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002\u4eca\u56de\u306f<span style=\"color: #b55ce0;\">bloglist.php<\/span>\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306ePHP\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u306f\u81f3\u3063\u3066\u30b7\u30f3\u30d7\u30eb\u3067\u30ea\u30d4\u30fc\u30c8\u3055\u305b\u305f\u3044\u30ea\u30b9\u30c8\u306e\u4e2d\u8eab\u3092html\u30b3\u30fc\u30c9\u3067\u8a18\u8ff0\u3059\u308b\u3060\u3051\u3067\u3059\u3002 PHP\u30b3\u30fc\u30c9\u306f\u4e00\u5207\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u56fa\u5b9a\u30da\u30fc\u30b8\u3068\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b<span style=\"color: #b55ce0;\">bloglist.php<\/span>\u3092\u4fdd\u5b58\u3059\u308c\u3070\u5b8c\u6210\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>bloglist.php\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/p>\n<pre class=\"lang:xhtml decode:true\" title=\"bloglist.php\">&lt;li&gt;\n&lt;?php the_post_thumbnail(); ?&gt;\n&lt;p class=&quot;date&quot;&gt;&lt;?php the_time('Y.n.j'); ?&gt;&lt;\/p&gt;\n&lt;h3&gt;&lt;?php the_title(); ?&gt;&lt;\/h3&gt;\n&lt;p&gt;&lt;?php the_excerpt(); ?&gt;&lt;\/p&gt;\n&lt;p&gt;&lt;a href=&quot;\/en\/&lt;\/?php the_permalink(); ?&gt;&quot;&gt;Read More&lt;\/a&gt;&lt;\/p&gt;\n&lt;\/li&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>\u5b8c\u6210\u3057\u305f\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u3054\u7d39\u4ecb\uff08\u30b5\u30f3\u30d7\u30eb\uff09<\/h2>\n<p>\u6700\u5f8c\u306b\u5b8c\u6210\u3057\u305f\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002\uff08\u30da\u30fc\u30b8\u30f3\u30b0\u4ed8\u304d\uff09<\/p>\n<p>\u4e0b\u90e8\u306b\u633f\u5165\u3055\u308c\u3066\u3044\u308b\u30da\u30fc\u30b8\u30f3\u30b0\u7528\u306ePHP\u30b3\u30fc\u30c9\u306f\u307e\u305f\u6b21\u306e\u6a5f\u4f1a\u306b\u8a18\u4e8b\u306b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:xhtml decode:true\" title=\"\u56fa\u5b9a\u30da\u30fc\u30b8\">&lt;?php get_header(); ?&gt;\n&lt;section&gt;\n\t&lt;ul class=&quot;blog&quot;&gt;\n\t\t&lt;?php\n\t\t$paged = (int) get_query_var('paged');\n\t\t$args = array(\n\t\t\t'posts_per_page' =&gt; 4,\n\t\t\t'paged' =&gt; $paged,\n\t\t\t'orderby' =&gt; 'post_date',\n\t\t\t'order' =&gt; 'DESC',\n\t\t\t'post_type' =&gt; 'post',\n\t\t\t'post_status' =&gt; 'publish'\n\t\t);\n\t\t$the_query = new WP_Query($args);\n\t\tif ( $the_query-&gt;have_posts() ) :\n\t\t\twhile ( $the_query-&gt;have_posts() ) : $the_query-&gt;the_post();\n\t\t\t\tget_template_part( 'bloglist', get_post_format() );\n\t\t\tendwhile;\n\t\tendif;\n\t\twp_reset_postdata();\n\t\t?&gt;\n\t&lt;\/ul&gt;\n\n\t&lt;div class=&quot;paging&quot;&gt;\n\t\t&lt;?php\n\t\tif ($the_query-&gt;max_num_pages &gt; 1) {\n\t\t\techo paginate_links(array(\n\t\t\t\t'base' =&gt; get_pagenum_link(1) . '%_%',\n\t\t\t\t'format' =&gt; '\/page\/%#%\/',\n\t\t\t\t'current' =&gt; max(1, $paged),\n\t\t\t\t'total' =&gt; $the_query-&gt;max_num_pages\n\t\t\t));\n\t\t}\n\t\twp_reset_postdata();\n\t\t?&gt;\n\t&lt;\/div&gt;\n\n&lt;\/section&gt;\n&lt;?php get_sidebar(); ?&gt;\n&lt;?php get_footer(); ?&gt;\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u56fa\u5b9a\u30da\u30fc\u30b8\u3067\u4e00\u89a7\u3092\u4f5c\u6210\u3057\u3066\u898b\u305f\u3044\u65b9\u306f\u662f\u975e\u3054\u53c2\u8003\u304f\u3060\u3055\u3044\u3002<br \/>\n\u4e0a\u8a18\u3067\u3061\u3087\u3063\u3068\u30c1\u30e9\u8a00\u3044\u307e\u3057\u305f\u304c\u3001\u6b21\u56de\u306f\u56fa\u5b9a\u3067\u306e\u30da\u30fc\u30b8\u30f3\u30b0\u8a2d\u5b9a\u306b\u3064\u3044\u3066 \u66f8\u3044\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\uff01\uff08\u4e88\u5b9a\uff01\uff09<\/p>\n<p>&nbsp;<\/p>\n<p>\u305d\u308c\u3067\u306f\u307e\u305f\u6b21\u56de\u3063\uff89\uff7c<\/p>\n<p>&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<\/p>\n<h3>\u904e\u53bb\u8a18\u4e8b<\/h3>\n<p><a href=\"http:\/\/www.cloudot.co.jp\/en\/blog\/1963\/\">\u25b6\u521d\u5fc3\u8005\u306e\u305f\u3081\u306eWORDPRESS -06-<\/a><br \/>\n<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>\u4eca\u56de\u306f\u56fa\u5b9a\u30da\u30fc\u30b8\u3067\u306e\u6295\u7a3f\u4e00\u89a7\u3092\u4f5c\u6210\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002 \u6295\u7a3f\u306e\u4e00\u89a7\u306e\u30da\u30fc\u30b8\u306f\u30d6\u30ed\u30b0\u5c02\u7528\u30b5\u30a4\u30c8\u3067\u306f\u306a\u304f\u4f01\u696d\u30b5\u30a4 [&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,15],"tags":[],"class_list":["post-2444","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-ui-ux"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/posts\/2444","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=2444"}],"version-history":[{"count":3,"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/posts\/2444\/revisions"}],"predecessor-version":[{"id":13172,"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/posts\/2444\/revisions\/13172"}],"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=2444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/categories?post=2444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudot.co.jp\/en\/wp-json\/wp\/v2\/tags?post=2444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}