{"id":1,"date":"2023-03-29T22:35:49","date_gmt":"2023-03-29T22:35:49","guid":{"rendered":"http:\/\/albedo26.com\/hakushi"},"modified":"2023-04-02T23:11:31","modified_gmt":"2023-04-02T14:11:31","slug":"about-hakushi","status":"publish","type":"post","link":"https:\/\/albedo26.com\/hakushi\/2023\/03\/29\/about-hakushi\/","title":{"rendered":"WordPress\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u300c\u767d\u7d19\u300d\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>WordPress\u3067\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u4f5c\u308a\u3001\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u6a5f\u4f1a\u3001\u3068\u3044\u3046\u306e\u306f\u4eca\u3067\u3082\u6642\u3005\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u90fd\u5ea6\u3001\u554f\u984c\u306b\u306a\u308b\u306e\u304c\u3001\u4f55\u306e\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u3092\u30d9\u30fc\u30b9\u306b\u3059\u308b\u306e\u304b\u554f\u984c\u3067\u3059\u3002<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c6\u30fc\u30de\u306f\u3001\u6700\u65b0\u306e\u6a5f\u80fd\u304c\u76db\u308a\u3060\u304f\u3055\u3093\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u898b\u3066\u3082\u4f55\u306e\u4e8b\u3060\u304b\u308f\u304b\u3089\u306a\u3044\u8a18\u8ff0\u304c\u7d50\u69cb\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b7\u30f3\u30d7\u30eb\u306a\u30c6\u30fc\u30de\u3092\u9078\u3093\u3067\u3082\u3001CSS\u306b\u7656\u304c\u3042\u3063\u305f\u308a\u3001\u3042\u307e\u308a\u4f7f\u308f\u306a\u3044\u6a5f\u80fd\u304c\u76db\u308a\u8fbc\u307e\u308c\u3066\u3044\u305f\u308a\u3067\u305d\u308c\u3089\u3092\u6574\u7406\u3059\u308b\u306e\u306b\u7d50\u69cb\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002\u306a\u3093\u3060\u304b\u3093\u3060\u3068\u305d\u308c\u3067\u51cc\u3044\u3067\u304d\u307e\u3057\u305f\u304c\u3001\u6539\u3081\u3066\u81ea\u5206\u7528\u306eWordPress\u306e\u767d\u7d19\u30c6\u30fc\u30de\u3092\u4f5c\u308d\u3046\u3068\u601d\u3044\u7acb\u3061\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/albedo26.com\/web\/54\/\">2012\u5e74\u306b\u3082\u540c\u3058\u3053\u3068<\/a>\u3092\u3084\u3063\u3066\u3001\u3057\u304b\u3082\u9014\u4e2d\u3067\u6295\u3052\u51fa\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u3082\u3046\u4e00\u5ea6\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>\u30b5\u30f3\u30d7\u30eb<\/h2>\n<p><a href=\"https:\/\/albedo26.com\/hakushi\/\" rel=\"noopener\" target=\"_blank\">https:\/\/albedo26.com\/hakushi<\/a>\/<\/p>\n<h2>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h2>\n<p><a href=\"https:\/\/albedo26.com\/hakushi\/wp-content\/uploads\/hakushi.zip\">hakushi <\/a><\/p>\n<h2>\u30d9\u30fc\u30b9\u30c6\u30fc\u30de<\/h2>\n<p>\u5143\u3005\u306e\u30d9\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u300c<a href=\"http:\/\/underscores.me\/\" target=\"_blank\" rel=\"noopener\">underscores<\/a>\u300d\u3092\u4f7f\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u300c<a href=\"http:\/\/underscores.me\/\" target=\"_blank\" rel=\"noopener\">underscores<\/a>\u300d\u3082\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u524d\u63d0\u3068\u3057\u305f\u3001WordPress\u306e\u30d9\u30fc\u30b9\u306b\u306a\u308b\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u3068\u3044\u3046\u4f4d\u7f6e\u3065\u3051\u3067\u3059\u3002\u3053\u308c\u3092\u30d9\u30fc\u30b9\u306b\u81ea\u5206\u4ed5\u69d8\u306b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/h2>\n<h3>CSS<\/h3>\n<p>CSS\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u3001\u300c<a href=\"https:\/\/getuikit.com\/\" target=\"_blank\" rel=\"noopener\">UIKit<\/a>\u300d\u306b\u3057\u307e\u3057\u305f\u3002CSS\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u6709\u540d\u306abootstrap\u306f\u3088\u304f\u77e5\u3089\u306a\u3044\u3093\u3067\u3059\u304c\u3001\u3053\u306e\u9593UIKit\u3092\u4f7f\u3063\u305f\u3089\u3059\u3054\u304f\u4fbf\u5229\u3067\u3057\u305f\u3002\u3082\u3046\u5c11\u3057\u65e5\u672c\u8a9e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u5897\u3048\u308b\u3068\u3042\u308a\u304c\u305f\u3044\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/getuikit.com\/docs\/installation\" target=\"_blank\" rel=\"noopener\">\u30d5\u30a1\u30a4\u30eb\u306fCDN\u3067\u8aad\u307f\u8fbc\u307f<\/a>\u307e\u3059\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306bUIKit\u3060\u3051\u4f7f\u3063\u3066CSS\u3092\u7d44\u3080\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>functions.php<\/p>\n<pre>\r\n  <code>\r\n  \twp_enqueue_style( 'UIKit-css','https:\/\/cdn.jsdelivr.net\/npm\/uikit@3.7.6\/dist\/css\/uikit.min.css' , '', '', 'all' );\r\n    wp_enqueue_script( 'UIKit-js','https:\/\/cdn.jsdelivr.net\/npm\/uikit@3.7.6\/dist\/js\/uikit.min.js' , '', '', true );\r\n  <\/code>\r\n<\/pre>\n<h4>\u30d6\u30ec\u30a4\u30af\u30dd\u30a4\u30f3\u30c8<\/h4>\n<p>\u30d6\u30ec\u30a4\u30af\u30dd\u30a4\u30f3\u30c8\u306f\u30d1\u30bd\u30b3\u30f3\uff08pc\uff09\u3001\u30bf\u30d6\u30ec\u30c3\u30c8\uff08tab\uff09\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\uff08sp\uff09\u306e3\u3064\u3092max-width\u3067\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>css\/_variables.scss<\/p>\n<pre>\r\n  <code>\r\n    $pc: 1024px; \/\/ PC\r\n    $tab: 680px; \/\/ \u30bf\u30d6\u30ec\u30c3\u30c8\r\n    $sp: 480px;  \/\/ \u30b9\u30de\u30db\r\n  <\/code>\r\n<\/pre>\n<p>\u4f7f\u7528\u3059\u308b\u5834\u5408\u3002<\/p>\n<p>css\/styles.scss<\/p>\n<pre>\r\n  <code>\r\n    @use 'variables' as VB;\r\n\r\n    @include VB.sp{\r\n      font-size:14px;\r\n    }\r\n  <\/code>\r\n<\/pre>\n<h3>\u30a2\u30a4\u30b3\u30f3<\/h3>\n<p>\u30a2\u30a4\u30b3\u30f3\u306f\u3001<a href=\"https:\/\/fonts.google.com\/icons?icon.style=Outlined\" target=\"_blank\" rel=\"noopener\">Google Fonts Material Icons\u306eOutlined<\/a>\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<p>UIkit\u306b\u3082\u30a2\u30a4\u30b3\u30f3\u306e\u7528\u610f\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u6570\u304c\u5c11\u306a\u3044\u306e\u3067\u3001Material Icons\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u3044\u304f\u3064\u304b\u306e\u7a2e\u985e\u304c\u3042\u308b\u306a\u304b\u3067\u3001\u5857\u308a\u6f70\u3057\u304c\u5c11\u306a\u3044\u30a2\u30a6\u30c8\u30e9\u30a4\u30f3\uff08Outlined\uff09\u3092\u9078\u3073\u307e\u3057\u305f\u3002\u305d\u306e\u4ed6\u306b\u3001\u4e38\u307f\u3092\u5e2f\u3073\u305f\u30a2\u30a4\u30b3\u30f3\u30012\u8272\u30c8\u30fc\u30f3\u306e\u30a2\u30a4\u30b3\u30f3\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>functions.php<\/p>\n<pre>\r\n  <code>\r\n  \twp_enqueue_style( 'Google-material-icons','https:\/\/fonts.googleapis.com\/icon?family=Material+Icons%7CMaterial+Icons+Outlined' , '', '', 'all' );\r\n  <\/code>\r\n<\/pre>\n<h3>\u30d5\u30a9\u30f3\u30c8<\/h3>\n<p>\u300c<a href=\"https:\/\/fonts.google.com\/\" target=\"_blank\" rel=\"noopener\">Google Fonts<\/a>\u300d\u306e\u300c<a href=\"https:\/\/fonts.google.com\/noto\/specimen\/Noto+Sans+JP\" target=\"_blank\" rel=\"noopener\">Noto Sans Japanese<\/a>\u300d\u306e400\u3001700\u3092CDN\u3067\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u521d\u671f\u72b6\u614b\u3067\u306f\u7121\u52b9\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u6709\u52b9\u306b\u3059\u308b\u5834\u5408\u306f\u3001functions.php\u306e\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\uff08\/\/\uff09\u3092\u5916\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>functions.php<\/p>\n<pre>\r\n  <code>\r\n  \t\/\/wp_enqueue_style( 'Google-fonts','https:\/\/fonts.googleapis.com\/css2?family=Noto+Sans+JP:wght@400;700&display=swap' , '', '1.0', 'all' );\r\n  <\/code>\r\n<\/pre>\n<h2><\u30e1\u30cb\u30e5\u30fc\/h2><\/p>\n<p>header-menu\u3068footer-menu\u306e\u4e8c\u3064\u304c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4e2d\u306b\u5165\u3063\u3066\u3044\u307e\u3059\u3002\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\uff3b\u5916\u89b3\uff3d > \uff3b\u30e1\u30cb\u30e5\u30fc\uff3d\u304b\u3089\u3001header-menu\u3068footer-menu\u3092\u4f5c\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u4f7f\u7528\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089wp_nav_menu\u3092\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>header.php<\/p>\n<pre>\r\n  <code>\r\n\t$hakushi_menu = array(\r\n\t\t'menu' => 'header-menu',\r\n\t\t'theme_location' => 'header-menu',\r\n\t\t'container' => 'div',\r\n\t\t'container_class' => 'uk-hidden-touch',\r\n\t\t'menu_id'        => 'header-menu',\r\n\t\t'menu_class' => 'uk-flex uk-list',\r\n\t);\r\n\twp_nav_menu( $hakushi_menu );\r\n  <\/code>\r\n<\/pre>\n<p>footer.php<\/p>\n<pre>\r\n  <code>\r\n\t$hakushi_menu = array(\r\n\t\t'menu' => 'header-menu',\r\n\t\t'theme_location' => 'header-menu',\r\n\t\t'container' => 'div',\r\n\t\t'container_class' => 'uk-hidden-touch',\r\n\t\t'menu_id'        => 'header-menu',\r\n\t\t'menu_class' => 'uk-flex uk-list',\r\n\t);\r\n\twp_nav_menu( $hakushi_menu );\r\n  <\/code>\r\n<\/pre>\n<h2>\u30d5\u30a1\u30a4\u30eb\u69cb\u6210<\/h2>\n<p>\u6e96\u5099\u4e2d<\/p>\n<h2>\u30ea\u30ea\u30fc\u30b9<\/h2>\n<dl>\n<dt>2021\/10\/31<\/dt>\n<dd>\u6700\u521d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3002\u8272\u3005\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u306f\u3042\u308b\u3051\u3069\u3001\u3068\u308a\u3042\u3048\u305a\u516c\u958b\u3057\u3066\u3057\u307e\u304a\u3046\u3002<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u3067\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u4f5c\u308a\u3001\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u6a5f\u4f1a\u3001\u3068\u3044\u3046\u306e\u306f\u4eca\u3067\u3082\u6642\u3005\u3042\u308a\u307e\u3059\u3002 \u305d\u306e\u90fd\u5ea6\u3001\u554f\u984c\u306b\u306a\u308b\u306e\u304c\u3001\u4f55\u306e\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u3092\u30d9\u30fc\u30b9\u306b\u3059\u308b\u306e\u304b\u554f\u984c\u3067\u3059\u3002 \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c6\u30fc\u30de\u306f\u3001\u6700\u65b0\u306e\u6a5f\u80fd\u304c\u76db [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/albedo26.com\/hakushi\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/albedo26.com\/hakushi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/albedo26.com\/hakushi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/albedo26.com\/hakushi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/albedo26.com\/hakushi\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":7,"href":"https:\/\/albedo26.com\/hakushi\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":33,"href":"https:\/\/albedo26.com\/hakushi\/wp-json\/wp\/v2\/posts\/1\/revisions\/33"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/albedo26.com\/hakushi\/wp-json\/wp\/v2\/media\/5"}],"wp:attachment":[{"href":"https:\/\/albedo26.com\/hakushi\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/albedo26.com\/hakushi\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/albedo26.com\/hakushi\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}