{"id":2804,"date":"2015-12-10T10:00:22","date_gmt":"2015-12-10T01:00:22","guid":{"rendered":"http:\/\/www.dream-net.org\/blog\/?p=2804"},"modified":"2015-12-07T11:09:23","modified_gmt":"2015-12-07T02:09:23","slug":"%e3%80%90wordpress%e3%80%91%e5%ad%90%e3%83%86%e3%83%bc%e3%83%9e%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%82%92%e3%83%ac%e3%82%b9%e3%83%9d%e3%83%b3%e3%82%b7%e3%83%96","status":"publish","type":"post","link":"https:\/\/dream-net.org\/blog\/?p=2804","title":{"rendered":"\u3010WordPress\u3011\u5b50\u30c6\u30fc\u30de\u3092\u4f7f\u3063\u3066\u30e1\u30cb\u30e5\u30fc\u3092\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u306b\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Contents<\/p><ul class=\"toc_list\"><li><a href=\"#WordPress\"><span class=\"toc_number toc_depth_1\">1<\/span> \u3010WordPress\u3011\u5b50\u30c6\u30fc\u30de\u3092\u4f7f\u3063\u3066\u30e1\u30cb\u30e5\u30fc\u3092\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u306b\u3059\u308b\u65b9\u6cd5<\/a><\/li><li><a href=\"#i\"><span class=\"toc_number toc_depth_1\">2<\/span> \u2460\u5b50\u30c6\u30fc\u30de\u3092\u4f5c\u308b<\/a><\/li><li><a href=\"#i-2\"><span class=\"toc_number toc_depth_1\">3<\/span> \u2461\u30e1\u30cb\u30e5\u30fc\u306e\u8a2d\u5b9a<\/a><\/li><li><a href=\"#i-3\"><span class=\"toc_number toc_depth_1\">4<\/span> \u2462\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3092\u7de8\u96c6<\/a><\/li><\/ul><\/div>\n<h2 style=\"color: #134985; background: #fffd73; padding:5px;\"><span id=\"WordPress\">\u3010WordPress\u3011\u5b50\u30c6\u30fc\u30de\u3092\u4f7f\u3063\u3066\u30e1\u30cb\u30e5\u30fc\u3092\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u306b\u3059\u308b\u65b9\u6cd5<\/span><\/h2>\n<p>\u524d\u56de\u3001\u5b50\u30c6\u30fc\u30de\u3092\u4f5c\u6210\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u3068\u3001\u5b50\u30c6\u30fc\u30de\u306e\u4f5c\u308a\u65b9\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u3001\u5b50\u30c6\u30fc\u30de\u3092\u5229\u7528\u3057\u3066\u3001\u30c6\u30fc\u30de\u3092\u7c21\u5358\u306b\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u3055\u305b\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.dream-net.org\/blog\/wp-content\/uploads\/2015\/10\/018.jpg\" width=\"600\" height=\"451\" \/><\/p>\n<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3067\u306f\u6a2a\u4e26\u3073\u306e\u30bf\u30d6\u578b\u30e1\u30cb\u30e5\u30fc\u3092\u3001\u30e2\u30d0\u30a4\u30eb\u3067\u306f\u7e26\u4e26\u3073\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u30b5\u30f3\u30d7\u30eb\u306b\u5229\u7528\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305f\u306e\u306f\u300cWeb Design RECIPES\u300d\u3055\u3093\u306e\u3053\u306e\u30c6\u30fc\u30de\u3002<\/p>\n<p><a href=\"http:\/\/webdesignrecipes.com\/first-time-wordpress-origin-theme\/\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.dream-net.org\/blog\/wp-content\/uploads\/2015\/10\/028.jpg\" width=\"600\" height=\"403\" \/><\/a><\/p>\n<p>\u300c<a href=\"http:\/\/webdesignrecipes.com\/first-time-wordpress-origin-theme\/\">Simple\u00d7Simple<\/a>\u300d<br \/>\n  \u305d\u306e\u540d\u306e\u3068\u304a\u308a\u3001\u3068\u3066\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u30c6\u30fc\u30de\u3067\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u6027\u304c\u629c\u7fa4\u3067\u3059\u3002<br \/>\n  \u81ea\u7531\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\n<\/p>\n<h2 style=\"color:#134985; margin-top:70px\"><span id=\"i\">\u2460\u5b50\u30c6\u30fc\u30de\u3092\u4f5c\u308b<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.dream-net.org\/blog\/wp-content\/uploads\/2015\/10\/038.jpg\" width=\"496\" height=\"370\" \/><\/p>\n<p>\u5b50\u30c6\u30fc\u30de\u3092\u4f5c\u6210\u3057\u3001\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<br \/>\n  \u5b50\u30c6\u30fc\u30de\u306e\u4f5c\u308a\u65b9\u306f\u3001\u300c<a href=\"http:\/\/www.dream-net.org\/blog\/?p=2791\" target=\"_blank\">\u3010WordPress\u3011\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3082\u554f\u984c\u306a\u3057\uff01\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u697d\u306b\u306a\u308b\u5b50\u30c6\u30fc\u30de\u306e\u4f5c\u308a\u65b9<\/a>\u300d\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2 style=\"color:#134985; margin-top:70px\"><span id=\"i-2\">\u2461\u30e1\u30cb\u30e5\u30fc\u306e\u8a2d\u5b9a<\/span><\/h2>\n<p>\u307e\u305a\u306f\u3001\u30e2\u30d0\u30a4\u30eb\u7528\u30e1\u30cb\u30e5\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n  \u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u5916\u89b3\uff1e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u3001\u65b0\u898f\u30e1\u30cb\u30e5\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.dream-net.org\/blog\/wp-content\/uploads\/2015\/10\/047.jpg\" width=\"600\" height=\"365\" \/><\/p>\n<p>\u6b21\u306b\u3001header.php\u306b\u30e2\u30d0\u30a4\u30eb\u7528\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3055\u305b\u308b\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n<xmp>\r\n<?php\r\n wp_nav_menu( array( 'theme_location' => 'primary-mobile', 'menu_class' => 'nav-menu-mobile' ) );\r\n ?> \r\n<\/xmp>\r\n<\/pre>\n<p>\u6b21\u306b\u3001functions.php\u306e\u6700\u5f8c\u306b\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u3001\u5b50\u30c6\u30fc\u30de\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n<xmp>\r\n<?php\r\n function simplesimplechild_setup() {     register_nav_menu( 'primary-mobile', __( 'Primary Mobile Menu', 'simplesimplechild' ) ); }\r\n add_action( 'after_setup_theme', 'simplesimplechild_setup' ); \r\n?>\r\n<\/xmp>\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.dream-net.org\/blog\/wp-content\/uploads\/2015\/10\/057.jpg\" width=\"579\" height=\"337\" \/><\/p>\n<p>\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u5916\u89b3\uff1e\u30e1\u30cb\u30e5\u30fc\uff1e\u4f4d\u7f6e\u306e\u7ba1\u7406\u30bf\u30d6\u3092\u898b\u3066\u307f\u308b\u3068\u3001\u30e2\u30d0\u30a4\u30eb\u7528\u30e1\u30cb\u30e5\u30fc\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u5206\u304b\u308a\u307e\u3059\u3002<br \/>\n  Primary Mobile Menu\u306b\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u30e2\u30d0\u30a4\u30eb\u7528\u30e1\u30cb\u30e5\u30fc\u3092\u5bfe\u5fdc\u3055\u305b\u307e\u3059\u3002\n<\/p>\n<h2 style=\"color:#134985; margin-top:70px\"><span id=\"i-3\">\u2462\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3092\u7de8\u96c6<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.dream-net.org\/blog\/wp-content\/uploads\/2015\/10\/065.jpg\" width=\"600\" height=\"425\" \/><\/p>\n<p>\u2461\u307e\u3067\u306e\u624b\u9806\u3067\u30b5\u30a4\u30c8\u3092\u8868\u793a\u3055\u305b\u308b\u3068\u3001\u4e0a\u306e\u3088\u3046\u306b\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7528\u30e1\u30cb\u30e5\u30fc\u3068\u30e2\u30d0\u30a4\u30eb\u7528\u306e\u30e1\u30cb\u30e5\u30fc\u304c\u4e8c\u3064\u4e26\u3073\u307e\u3059\u3002<br \/>\n  \u3053\u308c\u3092\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3067\u6574\u3048\u307e\u3059\u3002<\/p>\n<p>\u5b50\u30c6\u30fc\u30de\u306estyle.css\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<br \/>\n  \u6a2a\u5e45\u304c320px\u4ee5\u4e0b\u3067\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5207\u308a\u66ff\u3048\u307e\u3059\u3002<br \/>\n\u3082\u3063\u3068\u7d30\u304b\u304f\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30e1\u30c7\u30a3\u30a2\u30af\u30a8\u30ea\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre>\r\n<xmp>\r\n.nav-menu-mobile {\r\n\tdisplay: none;\r\n}\r\n\r\n\/* Mobiles in Potrait mode *\/\r\n\r\n @media only screen\r\n\tand (max-width : 320px) {\r\n    \r\n.nav-menu-mobile {\r\n\tdisplay: block;\r\n    }\r\n    \r\n.nav-menu-mobile {\r\n \tdisplay: block;\r\n \twidth:100%;\r\n\tmargin:0 auto;\r\n\tborder:none;\r\n    }\r\n    \r\n.nav-menu-mobile li{\r\n\twidth:95%;\r\n \tborder: #dddddd 1px solid;\r\n\tmargin:5px;\r\n    }\r\n    \r\n.nav-menu-mobile a{\r\n\twidth:100%;\r\n\tborder:none;\r\n \tpadding: 5px;\r\n    }\r\n    \r\n.menu-primary-menu-container {\r\n \tdisplay:none;\r\n    }\r\n\t}\r\n  <\/xmp>\r\n  <\/pre>\n<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3067\u306f\u30e2\u30d0\u30a4\u30eb\u7528\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u975e\u8868\u793a\u306b\u3001\u30e2\u30d0\u30a4\u30eb\u3067\u306f\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7528\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u975e\u8868\u793a\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3042\u3068\u306f\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u5fae\u8abf\u6574\u3092\u884c\u3046\u3060\u3051\u3067\u3059\u3002<br \/>\n  \u4eca\u56de\u306e\u30c6\u30fc\u30de\u306e\u5834\u5408\u3001\u89aa\u30c6\u30fc\u30de\u304c\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u306b\u5b8c\u5168\u975e\u5bfe\u5fdc\u3060\u3063\u305f\u305f\u3081\u3001\u30b3\u30f3\u30c6\u30ca\u90e8\u5206\u3001\u30e1\u30a4\u30f3\u90e8\u5206\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u90e8\u5206\u3082\u53ef\u5909\u3059\u308b\u3088\u3046\u306b\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3092\u8abf\u6574\u3057\u307e\u3057\u305f\u3002<br \/>\n  \u6700\u7d42\u7684\u306acss\u306f\u3053\u3061\u3089\u3002<\/p>\n<pre>\r\n  <xmp>\r\n@charset \"UTF-8\";\r\n\/* CSS Document *\/\r\n\r\n\/*\r\n  Theme Name:   simplesimple\u306e\u5b50\u30c6\u30fc\u30de\r\n  Theme URI:    http:\/\/example.com\/simplesimple\/\r\n  Description:  simplesimple Child Theme\r\n  Author:       Yamamoto\r\n  Template:     simplesimple\r\n  Version:      1.0.0\r\n*\/\r\n\r\n.nav-menu-mobile {\r\n        display: none;\r\n}\r\n\r\n\/* Mobiles in Potrait mode *\/\r\n\r\n@media only screen\r\n\r\nand (max-width : 320px) {\r\n    #container, .wrapper{\r\n\twidth:95% !important;\r\n    }\r\n\r\n#main{\r\n\twidth:100% !important;;\r\n    }\r\n    \r\n#sidebar{\r\n\tfloat:none;\r\n\twidth:100% !important;;\r\n    }\r\n    \r\n#searchform{\r\n\tmargin-top:10px !important;\r\n\t}\r\n   \r\n.nav-menu-mobile {\r\n\tdisplay: block;\r\n    }\r\n    \r\n.nav-menu-mobile {\r\n\tdisplay: block;\r\n \twidth:100%;\r\n\tmargin:0 auto;\r\n\tborder:none;\r\n    }\r\n    \r\n.nav-menu-mobile li{\r\n\twidth:95%;\r\n\tborder: #dddddd 1px solid;\r\n\tmargin:5px;\r\n    }\r\n    \r\n.nav-menu-mobile a{\r\n\twidth:100%;\r\n\tborder:none;\r\n\tpadding: 5px;\r\n    }\r\n    \r\n.menu-primary-menu-container {\r\n\tdisplay:none;\r\n    }\r\n    \r\n\t}\r\n  <\/xmp>\r\n  <\/pre>\n<p>\u3067\u304d\u3042\u304c\u308a\u304c\u3053\u3061\u3089\u3002<\/p>\n<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7528<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.dream-net.org\/blog\/wp-content\/uploads\/2015\/10\/075.jpg\" width=\"600\" height=\"396\" \/><\/p>\n<p>\u30e2\u30d0\u30a4\u30eb\u7528<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.dream-net.org\/blog\/wp-content\/uploads\/2015\/10\/085.jpg\" width=\"313\" height=\"501\" \/>\n<\/p>\n<p>\u7c21\u5358\u306b\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u304c\u3067\u304d\u307e\u3057\u305f\u3002<br \/>\n  style.css\u3068functions.php\u306f\u3001\u89aa\u30c6\u30fc\u30de\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3067\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3060\u3051\u306a\u306e\u3067\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u6642\u306b\u3082\u4fee\u6b63\u306e\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n  header.php\u306e\u30b3\u30fc\u30c8\u8ffd\u52a0\u90e8\u5206\u306e\u307f\u3001\u30b3\u30e1\u30f3\u30c8\u7b49\u3067\u3069\u3053\u3092\u3069\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u305f\u304b\u5206\u304b\u308a\u3084\u3059\u304f\u5370\u3092\u3064\u3051\u3066\u304a\u304f\u3068\u3044\u3044\u3067\u3059\u306d\u3002<br \/>\n\u4eca\u304a\u4f7f\u3044\u306e\u30c6\u30fc\u30de\u304c\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u975e\u5bfe\u5fdc\u3067\u3042\u308c\u3070\u3001\u8a66\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u3001\u5b50\u30c6\u30fc\u30de\u3092\u4f5c\u6210\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u3068\u3001\u5b50\u30c6\u30fc\u30de\u306e\u4f5c\u308a\u65b9\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u3001\u5b50\u30c6\u30fc\u30de\u3092\u5229\u7528\u3057\u3066\u3001\u30c6\u30fc\u30de\u3092\u7c21\u5358\u306b\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u5bfe\u5fdc\u3055\u305b\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":2801,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45,19],"tags":[],"class_list":["post-2804","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","category-wordpress"],"_links":{"self":[{"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2804"}],"version-history":[{"count":7,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2804\/revisions"}],"predecessor-version":[{"id":2810,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2804\/revisions\/2810"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/2801"}],"wp:attachment":[{"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dream-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}