{"id":14411,"date":"2024-05-28T17:34:19","date_gmt":"2024-05-28T08:34:19","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=14411"},"modified":"2024-05-28T17:34:19","modified_gmt":"2024-05-28T08:34:19","slug":"tcd%e3%83%86%e3%83%bc%e3%83%9esolaris%ef%bc%9a%e3%82%b5%e3%83%bc%e3%83%93%e3%82%b9%e3%82%a2%e3%83%bc%e3%82%ab%e3%82%a4%e3%83%96%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e6%9c%80%e5%a4%a7%e8%a1%a8%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=14411","title":{"rendered":"TCD\u30c6\u30fc\u30deSOLARIS\uff1a\u30b5\u30fc\u30d3\u30b9\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u6700\u5927\u8868\u793a\u4ef6\u6570\u3092\u4efb\u610f\u306e\u6570\u306b\u5909\u66f4\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<h2 class=\"styled_h2\">Q.\u30b5\u30fc\u30d3\u30b9\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u6700\u5927\u8868\u793a\u4ef6\u6570\u3092\u4efb\u610f\u306e\u6570\u306b\u5909\u66f4\u3067\u304d\u307e\u3059\u304b\uff1f<\/h2>\n<p>\u30c6\u30fc\u30deSOLARIS\u306e\u4ed5\u69d8\u3068\u3057\u307e\u3057\u3066\u30b5\u30fc\u30d3\u30b9\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u6700\u5927\u8868\u793a\u4ef6\u6570\u306f\uff12\u301c10\u4ef6\u3001\u3082\u3057\u304f\u306f\u5168\u3066\u306e\u8a18\u4e8b\u3092\u8868\u793a\u3055\u305b\u308b\u8a2d\u5b9a\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u25bc\u7ba1\u7406\u753b\u9762\u306e\u8a72\u5f53\u7b87\u6240\u30a4\u30e1\u30fc\u30b8<br \/>\n<img decoding=\"async\" class=\"frame\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2024\/05\/solaris_service_archive_num.jpg\" alt=\"\u5909\u66f4\u7b87\u6240\u30a4\u30e1\u30fc\u30b8\" \/><\/p>\n<p>\u25bc\u30c7\u30e2\u30b5\u30a4\u30c8\u306b\u304a\u3051\u308b\u8a72\u5f53\u7b87\u6240<br \/>\n<a class=\"e_link\" href=\"https:\/\/demo.tcd-theme.com\/tcd088\/service\/\" target=\"_brank\" rel=\"noopener\">https:\/\/demo.tcd-theme.com\/tcd088\/service\/<\/a><\/p>\n<p class=\"styled_h2\">A.\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u3067\u4efb\u610f\u306e\u6570\u306b\u5909\u66f4\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u8a72\u5f53\u7b87\u6240\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3 class=\"styled_h3\">\u30b5\u30fc\u30d3\u30b9\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u6700\u5927\u8868\u793a\u4ef6\u6570\u306e\u5909\u66f4<\/h3>\n<p>\u8a72\u5f53\u30d5\u30a1\u30a4\u30eb\uff1a<strong>functions.php<\/strong><br \/>\n\u8a72\u5f53\u7b87\u6240\uff1a<strong>1060\u884c\u76ee\u4ee5\u964d<\/strong><\/p>\n<p>\u25bc\u4fee\u6b63\u524d<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/* \u30a2\u30fc\u30ab\u30a4\u30d6\u30fb\u30ab\u30c6\u30b4\u30ea\u30fc\u30da\u30fc\u30b8\u306e\u8a18\u4e8b\u6570\u3092\u5909\u66f4 *\/\r\nfunction change_service_num( $query ) {\r\n  $options = get_design_plus_option();\r\n  if(is_mobile()){\r\n    $post_num = $options&#x5B;'archive_service_num_mobile'];\r\n  } else {\r\n    $post_num = $options&#x5B;'archive_service_num'];\r\n  }\r\n  if( !is_admin() &amp;&amp; is_post_type_archive('service') ) {\r\n    if($query-&gt;is_main_query()) {\r\n      $query-&gt;set('posts_per_page', $post_num);\r\n      return;\r\n    };\r\n  }\r\n}\r\nadd_action( 'pre_get_posts', 'change_service_num' );\r\n<\/pre>\n<p>\u25bc\u4fee\u6b63\u5f8c<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/* \u30a2\u30fc\u30ab\u30a4\u30d6\u30fb\u30ab\u30c6\u30b4\u30ea\u30fc\u30da\u30fc\u30b8\u306e\u8a18\u4e8b\u6570\u3092\u5909\u66f4 *\/\r\nfunction change_service_num( $query ) {\r\n  $options = get_design_plus_option();\r\n  if(is_mobile()){\r\n    $post_num = \u25b3\u25b3;\r\n  } else {\r\n    $post_num = \u3007\u3007;\r\n  }\r\n  if( !is_admin() &amp;&amp; is_post_type_archive('service') ) {\r\n    if($query-&gt;is_main_query()) {\r\n      $query-&gt;set('posts_per_page', $post_num);\r\n      return;\r\n    };\r\n  }\r\n}\r\nadd_action( 'pre_get_posts', 'change_service_num' );\r\n<\/pre>\n<p>\u203b\u30e2\u30d0\u30a4\u30eb\u6642\u306e\u8868\u793a\u4ef6\u6570\u306f\u25b3\u25b3\u306b\u3001PC\u753b\u89d2\u6642\u306e\u8868\u793a\u4ef6\u6570\u306f\u3007\u3007\u306b\u4efb\u610f\u306e\u6570\u5b57\u3092\u3054\u8a18\u8f09\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Q.\u30b5\u30fc\u30d3\u30b9\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u6700\u5927\u8868\u793a\u4ef6\u6570\u3092\u4efb\u610f\u306e\u6570\u306b\u5909\u66f4\u3067\u304d\u307e\u3059\u304b\uff1f \u30c6\u30fc\u30deSOLARIS\u306e\u4ed5\u69d8\u3068\u3057\u307e\u3057\u3066\u30b5\u30fc\u30d3\u30b9\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u6700\u5927\u8868\u793a\u4ef6\u6570\u306f\uff12\u301c10\u4ef6\u3001\u3082\u3057\u304f\u306f\u5168\u3066\u306e\u8a18\u4e8b\u3092\u8868\u793a\u3055\u305b\u308b\u8a2d\u5b9a\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059 [&hellip;]","protected":false},"author":23,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[832],"tags":[69,741,822,133,157],"class_list":["post-14411","post","type-post","status-publish","format-standard","hentry","category-tcd088","tag-archive-page","tag-741","tag-822","tag-133","tag-157"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/14411","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\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14411"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/14411\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}