{"id":468,"date":"2017-12-30T17:16:55","date_gmt":"2017-12-30T08:16:55","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=468"},"modified":"2020-01-08T20:46:19","modified_gmt":"2020-01-08T11:46:19","slug":"wordpress%e3%81%a7%e3%83%ad%e3%83%bc%e3%82%ab%e3%83%ab%e3%83%91%e3%82%b9%e3%81%a7css%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e8%aa%ad%e3%81%bf%e8%be%bc%e3%82%80%ef%bc%8f%e5%a4%96%e9%83%a8css","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=468","title":{"rendered":"WordPress\u3067\u5916\u90e8\u306eCSS\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3081\u306a\u3044\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5"},"content":{"rendered":"<p>\u5b50\u30c6\u30fc\u30de\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff0fcss\/main.css \u3092\u8aad\u307f\u8fbc\u307f\u305f\u3044\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u307e\u3059\u3002<\/p>\n<pre><code>function load_import_css() {\n    wp_enqueue_style( \"import_style\", get_stylesheet_directory_uri().\"\/css\/main.css\", false );\n    \/\/ wp_enqueue_style( \"import_style\", \"http:\/\/yuis.xsrv.jp\/cdn\/css\/fuumin_net.css\", false );\n}\nadd_action('wp_enqueue_scripts', 'load_import_css');\n\n<\/code><\/pre>\n<h2>wordpress\u306f\u5916\u90e8CSS\u3092\u8aad\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u306a\u3044<\/h2>\n<p>wordpress\u3067\u306f\u5916\u90e8\u306eCSS\u3092\u8aad\u307f\u8fbc\u3081\u306a\u3044\u3088\u3046\u3067\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u3001http\u304b\u3089\u306f\u3058\u307e\u308bCDN\u306eCSS\u306a\u3069\u3001\u3067\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u4e0a\u306b\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u306f\u8aad\u307f\u8fbc\u3081\u306a\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u901a\u5e38\u306f\u8aad\u307f\u8fbc\u3081\u308b\u66f8\u304d\u65b9\u3092\u3057\u3066\u3082\u3001wordpress\u3067\u306f\u8aad\u307f\u8fbc\u3093\u3067\u304f\u308c\u306a\u3044\u306e\u3067\u6ce8\u610f\u3067\u3059\u3002<\/p>\n<p>header.php\u306b\u76f4\u63a5\u66f8\u304f\u65b9\u6cd5<\/p>\n<pre><code>&lt;?php wp_head(); ?&gt;\n\n\n&lt;link rel=\"stylesheet\" href=\"http:\/\/yuis.xsrv.jp\/cdn\/css\/fuumin_net.css\" type=\"text\/css\" \/&gt;\n\n&lt;\/head&gt;\n<\/code><\/pre>\n<p>wp_enqueue_style\u3067\u30d5\u30eb\u30d1\u30b9\u3067\u8a18\u8ff0\u3059\u308b\u65b9\u6cd5<\/p>\n<pre><code>function load_import_css() {\n    \/\/ wp_enqueue_style( \"import_style\", get_stylesheet_directory_uri().\"\/css\/main.css\", false );\n    wp_enqueue_style( \"import_style\", \"http:\/\/yuis.xsrv.jp\/cdn\/css\/fuumin_net.css\", false );\n}\nadd_action('wp_enqueue_scripts', 'load_import_css');\n\n<\/code><\/pre>\n<p>\u53c2\u8003\uff1a<br \/>\n<a href=\"https:\/\/isabelcastillo.com\/error-info-messages-css\">https:\/\/isabelcastillo.com\/error-info-messages-css<\/a><\/p>\n<h2>\u8ffd\u8a18\uff1a\u5916\u90e8CSS\u3092\u8aad\u307f\u8fbc\u3081\u306a\u3044\u5834\u5408<\/h2>\n<p>\u30d5\u30eb\u30d1\u30b9\u306eCSS\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u3066\u8aad\u307f\u8fbc\u3080\u5834\u5408\u3001\u5c11\u3057\u6ce8\u610f\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>https\u306e\u30b5\u30a4\u30c8\u306e\u5834\u5408\u3001http\uff5e\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/teratail.com\/questions\/106737?whotofollow=\">wordpress\u3067http\u304b\u3089\u59cb\u307e\u308b\u5916\u90e8CSS\u3092\u8aad\u307f\u8fbc\u3080\u306b\u306f<\/a><br \/>\n[get_title https:\/\/feel-log.net\/seo\/ssl-notice-http-https\/]<\/p>\n<p>\u3053\u308c\u3067header.php\u306b\u76f4\u63a5\u66f8\u304f\u65b9\u6cd5\u306a\u3069\u3001\u3088\u308a\u30b7\u30f3\u30d7\u30eb\u306b\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u306d\u3002<\/p>\n<p>\u3069\u3046\u3057\u3066\u3082https\uff5e\u306e\u30b5\u30a4\u30c8\u3067http~\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u305f\u3044\u5834\u5408\u306f\u3001\u305d\u308c\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3059\u308b\u304b\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001\u30ed\u30fc\u30ab\u30eb\u3067\u53c2\u7167\u3059\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3067\u304d\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b50\u30c6\u30fc\u30de\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff0fcss\/main.css \u3092\u8aad\u307f\u8fbc\u307f\u305f\u3044\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u307e\u3059\u3002 function  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[53],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-7y","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/468"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=468"}],"version-history":[{"count":2,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/468\/revisions"}],"predecessor-version":[{"id":2194,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/468\/revisions\/2194"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}