{"id":7918,"date":"2020-09-18T05:02:14","date_gmt":"2020-09-17T20:02:14","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=7918"},"modified":"2023-08-08T15:05:31","modified_gmt":"2023-08-08T06:05:31","slug":"tcd%e3%83%86%e3%83%bc%e3%83%9eunique%ef%bc%9a%e3%83%88%e3%83%83%e3%83%97%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e5%90%84%e3%82%b3%e3%83%b3%e3%83%86%e3%83%b3%e3%83%84%e3%81%ae%e9%ab%98%e3%81%95%e3%82%92","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=7918","title":{"rendered":"TCD\u30c6\u30fc\u30deUNIQUE\uff1a\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u5404\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u9ad8\u3055\u3092\u5c0f\u3055\u304f\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<h2 class=\"styled_h2\"><span>Q.<\/span>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30d3\u30eb\u30c0\u30fc\u306e\u5404\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u30dc\u30c3\u30af\u30b9\u306e\u9ad8\u3055\u3092\u5236\u4f5c\u5b9f\u7e3e\u306e\u5404\u30dc\u30c3\u30af\u30b9\u306e\u5927\u304d\u3055\u306b\u5408\u308f\u305b\u305f\u3044\u3067\u3059\u3002<\/h2>\n<p>\u25bc\u5909\u66f4\u7b87\u6240\u30a4\u30e1\u30fc\u30b8<br \/>\n<img decoding=\"async\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2020\/09\/unique-demo-693x1024.jpeg\" alt=\"\u5909\u66f4\u524d\u30a4\u30e1\u30fc\u30b8\" class=\"frame\"><\/p>\n<h2 class=\"styled_h2\"><span>A.<\/span>\u4e0b\u8a18\u306e\u65b9\u6cd5\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/h4>\n<h3 class=\"styled_h3\">1. \u300c\u6700\u8fd1\u306e\u8a18\u4e8b\u4e00\u89a7\u300d\u300c\u6700\u8fd1\u306e\u304a\u77e5\u3089\u305b\u8a18\u4e8b\u4e00\u89a7\u300d\u306e\u8868\u793a\u4ef6\u6570\u3092\u5c11\u306a\u304f\u3059\u308b<\/h3>\n<p>\u30c6\u30fc\u30de\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8a2d\u5b9a\u51fa\u6765\u308b\u6700\u5c0f\u4ef6\u6570\u306e3\u4ef6\u3067\u3082\u306f\u307f\u51fa\u3057\u3066\u3057\u307e\u3046\u306e\u30672\u4ef6\u8868\u793a\u306b\u3057\u307e\u3059\u3002<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>\u3000\u30db\u30fc\u30e0\u30da\u30fc\u30b8 (front-page.php)<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u300028\u884c\u76ee\u4ed8\u8fd1<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n$args = array('post_type' =&gt; 'post', 'posts_per_page' =&gt; $post_num, 'ignore_sticky_posts' =&gt; 1);\r\n<\/pre>\n<p>\u3000\u2193\u3000\u300c$post_num\u300d\u3092\u300c2\u300d\u306b\u5909\u66f4<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n$args = array('post_type' =&gt; 'post', 'posts_per_page' =&gt; 2, 'ignore_sticky_posts' =&gt; 1);\r\n<\/pre>\n<p><b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u300064\u884c\u76ee\u4ed8\u8fd1<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n$args = array('post_type' =&gt; 'news', 'posts_per_page' =&gt; $post_num, 'ignore_sticky_posts' =&gt; 1);\r\n<\/pre>\n<p>\u3000\u2193\u3000\u300c$post_num\u300d\u3092\u300c2\u300d\u306b\u5909\u66f4<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n$args = array('post_type' =&gt; 'news', 'posts_per_page' =&gt; 2, 'ignore_sticky_posts' =&gt; 1);\r\n<\/pre>\n<h3 class=\"styled_h3\">2. CSS\u3092\u8abf\u6574\u3059\u308b<\/h3>\n<p>\u5916\u89b3\uff1eTCD\u30c6\u30fc\u30de\u30aa\u30d7\u30b7\u30e7\u30f3\uff1e\u57fa\u672c\u8a2d\u5b9a\u306e\u30ab\u30b9\u30bf\u30e0CSS\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n@media only screen and (min-width: 1199px) {\r\n  \/*** \u6b63\u65b9\u5f62\u306b\u3059\u308b ***\/\r\n  .box_list .box:before {\r\n      padding-top: 100%;\r\n  }\r\n  .box_list .box2 {\r\n      width: 25%;\r\n  }\r\n  \/*** \u4e00\u884c\u3067\u8868\u793a\u3055\u305b\u308b ***\/\r\n  .box_list .box_inner .content{\r\n      width: 80%;\r\n  }\r\n  .box_list .index_recent_post li .title{\r\n      overflow: hidden;\r\n      white-space: nowrap;\r\n      text-overflow: ellipsis;\r\n      visibility: visible;\r\n      line-height: 2;\r\n  }\r\n  \/*** \u5de6\u4e0a\u306e\u30dc\u30c3\u30af\u30b9\u306e\u9ad8\u3055\u3092\u4f4e\u304f\u3059\u308b ***\/\r\n  .box_list .headline{\r\n      width: 70px;\r\n      height: 70px;\r\n      line-height: 70px;\r\n  }\r\n}\r\n<\/pre>\n<p>&nbsp;<br \/>\n\u25bc\u5909\u66f4\u5f8c\u306e\u30a4\u30e1\u30fc\u30b8\u3000<span style=\"font-size:80%;\">\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u7e26\u5e45\u304c1\/2\u30b5\u30a4\u30ba\uff08\u5236\u4f5c\u5b9f\u7e3e\u3068\u540c\u3058\uff09\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/span><br \/>\n<img decoding=\"async\" class=\"frame\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2020\/09\/unique_top-contents-height_after-scaled.jpg\" alt=\"\u5909\u66f4\u5f8c\u306e\u30a4\u30e1\u30fc\u30b8\" style=\"border: 1px solid #ccc;\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"Q.\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30d3\u30eb\u30c0\u30fc\u306e\u5404\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u30dc\u30c3\u30af\u30b9\u306e\u9ad8\u3055\u3092\u5236\u4f5c\u5b9f\u7e3e\u306e\u5404\u30dc\u30c3\u30af\u30b9\u306e\u5927\u304d\u3055\u306b\u5408\u308f\u305b\u305f\u3044\u3067\u3059\u3002 \u25bc\u5909\u66f4\u7b87\u6240\u30a4\u30e1\u30fc\u30b8 A.\u4e0b\u8a18\u306e\u65b9\u6cd5\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u304f\u3060\u3055\u3044\u3002 1. \u300c\u6700\u8fd1\u306e\u8a18\u4e8b\u4e00\u89a7\u300d\u300c\u6700\u8fd1\u306e\u304a\u77e5\u3089\u305b [&hellip;]","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[479],"tags":[668,66,51,55],"class_list":["post-7918","post","type-post","status-publish","format-standard","hentry","category-tcd044","tag-668","tag-top-page","tag-layout","tag-height"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/7918","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7918"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/7918\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}