{"id":2052,"date":"2016-04-26T18:15:38","date_gmt":"2016-04-26T09:15:38","guid":{"rendered":"http:\/\/aws2000.net\/?p=2052"},"modified":"2017-01-28T15:04:26","modified_gmt":"2017-01-28T06:04:26","slug":"wordpress%e3%81%ae%e3%82%a8%e3%83%87%e3%82%a3%e3%82%bf%e3%83%bc%e3%81%abcss%e3%82%92%e9%81%a9%e5%bf%9c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/aws2000.net\/?p=2052","title":{"rendered":"WordPress\u306e\u30a8\u30c7\u30a3\u30bf\u30fc\u306bCSS\u3092\u9069\u7528\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2063\" src=\"\/\/aws2000.net\/wp-content\/uploads\/2016\/04\/wordpress.jpg\" alt=\"wordpress\" width=\"550\" height=\"320\" srcset=\"https:\/\/aws2000.net\/wp-content\/uploads\/2016\/04\/wordpress.jpg 640w, https:\/\/aws2000.net\/wp-content\/uploads\/2016\/04\/wordpress-300x174.jpg 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p>\u6700\u8fd1\u3001Wordress\u3067\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3092\u4f5c\u308b\u4eba\u304c\u3001\u3068\u3066\u3082\u591a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u79c1\u81ea\u8eab\u3082\u3001Wordpress\u3092\u4f7f\u3044\u59cb\u3081\u3066\u30017\u5e74\u307b\u3069\u7d4c\u3061\u307e\u3059\u304c\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3082\u3057\u3084\u3059\u3044\u3057\u3001php\u304c\u66f8\u3051\u308c\u3070\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3082\u81ea\u7531\u306b\u3067\u304d\u308b\u306e\u3067\u3001\u672c\u5f53\u306b\u4f7f\u3044\u3084\u3059\u3044CMS\u3067\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001\u305d\u3093\u306aWordpress\u3067\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u304d\u3068\u304d\u3001\u5b9f\u969b\u306b\u516c\u958b\u3059\u308b\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3068\u540c\u3058\u3088\u3046\u306b\u898b\u3048\u308b\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u901a\u5e38\u3067\u306f\u3001\u3053\u3093\u306a\u611f\u3058\u3067\u3001\u6587\u5b57\u306f\u5c11\u3057\u5927\u304d\u3081\u3067\u3001\u3042\u307e\u308a\u8aad\u307f\u3084\u3059\u3044\u3068\u306f\u3044\u3048\u306a\u3044\u30d5\u30a9\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<hr \/>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2053\" src=\"\/\/aws2000.net\/wp-content\/uploads\/2016\/04\/editor1.gif\" alt=\"editor1\" width=\"550\" height=\"413\" \/><\/p>\n<hr \/>\n<p>h2\u3067\u3001\u898b\u51fa\u3057\u3092\u8a2d\u5b9a\u3057\u3066\u3082\u6587\u5b57\u304c\u5927\u304d\u304f\u306a\u308b\u3060\u3051\u3067\u3001\u5473\u6c17\u306a\u3044\u611f\u3058\u3002<\/p>\n<p>\u3053\u308c\u3092CSS \u3067\u3001\u81ea\u7531\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>CSS\u3092\u65b0\u898f\u4f5c\u6210\u3057\u3001\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u53cd\u6620\u3055\u305b\u308b<\/h2>\n<p>\u307e\u305a\u306f\u3001\u30c6\u30fc\u30de\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u4efb\u610f\u306e\u540d\u524d\u3067\u3001CSS\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001\u00a0editor-style.css \u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u540c\u3058\u304f\u30c6\u30fc\u30de\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b functions.php \u306b\u4ee5\u4e0b\u3092\u8ffd\u8a18\u3002<\/p>\n<pre><code class=\"language-php\">\/\/---------------------------------------------------------------------------\r\n\/\/ \u30a8\u30c7\u30a3\u30bf\u30fc\u306ecss\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\r\n\/\/---------------------------------------------------------------------------\r\nadd_editor_style(\"editor-style.css\");\r\n\r\nfunction custom_editor_settings( $initArray ){\r\n$initArray['body_class'] = 'editor-area';\r\nreturn $initArray;\r\n}\r\nadd_filter( 'tiny_mce_before_init', 'custom_editor_settings' );\r\n\r\nadd_editor_style(\"editor-style.css\");\r\n\r\n\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>\u3053\u308c\u3067\u3001\u30a8\u30c7\u30a3\u30bf\u30fc\uff08\u7de8\u96c6\u753b\u9762\uff09\u306b\u3001editor-style.css \u304c\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u30d5\u30a9\u30f3\u30c8\u306e\u7a2e\u985e\u3068\u6587\u5b57\u306e\u5927\u304d\u3055\u3092\u8a2d\u5b9a\u3057\u3001\u30ea\u30f3\u30af\u306e\u6642\u306e\u8272\u3001h2\u306e\u88c5\u98fe\u3092\u3059\u308b\u305f\u3081\u306eCSS\u3092\u66f8\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">body.mceContentBody {\r\n\tfont-family: \"\u30e1\u30a4\u30ea\u30aa\",\"Meiryo\",verdana,\"\u30d2\u30e9\u30ae\u30ce\u89d2\u30b4 Pro W3\",\"Hiragino Kaku Gothic Pro\",Osaka,\"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af\",\"MS PGothic\",Sans-Serif;\r\n\tfont-size: 14px;\r\n\tline-height: 1.5em;\r\n}\r\n\r\n.editor-area a {\r\n  color: #339933;\r\n  text-decoration: none;\r\n}\r\n\r\n.editor-area h2{\r\n\tmargin: 30px 0 10px;\r\n\tpadding: 3px 18px;\r\n\tbackground: #4682b4;\r\n\tcolor: #fff;\r\n\tfont-size: 1.25em;\r\n\tfont-weight: normal;\r\n}\r\n\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>\u3053\u308c\u3067\u3001\u7de8\u96c6\u753b\u9762\u306f\u3001\u3053\u3093\u306a\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr \/>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2059\" src=\"\/\/aws2000.net\/wp-content\/uploads\/2016\/04\/editor2.gif\" alt=\"editor2\" width=\"550\" height=\"413\" \/><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u5b9f\u969b\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3068\u540c\u3058\u3088\u3046\u306a\u898b\u3048\u65b9\u306b\u306a\u308c\u3070\u3001\u7de8\u96c6\u4f5c\u696d\u3082\u3084\u308a\u3084\u3059\u304f\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u3001Wordress\u3067\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3092\u4f5c\u308b\u4eba\u304c\u3001\u3068\u3066\u3082\u591a\u304f\u306a\u308a\u307e\u3057\u305f\u3002 \u79c1\u81ea\u8eab\u3082\u3001Wordpress\u3092\u4f7f\u3044\u59cb\u3081\u3066\u30017\u5e74\u307b\u3069\u7d4c\u3061\u307e\u3059\u304c\u3001\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3082\u3057\u3084\u3059\u3044\u3057\u3001php\u304c\u66f8\u3051\u308c\u3070\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3082\u81ea\u7531\u306b\u3067\u304d\u308b\u306e\u3067\u3001\u672c\u5f53\u306b\u4f7f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2063,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":{"0":"post-2052","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-wordpress"},"_links":{"self":[{"href":"https:\/\/aws2000.net\/index.php?rest_route=\/wp\/v2\/posts\/2052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aws2000.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aws2000.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aws2000.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aws2000.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2052"}],"version-history":[{"count":17,"href":"https:\/\/aws2000.net\/index.php?rest_route=\/wp\/v2\/posts\/2052\/revisions"}],"predecessor-version":[{"id":3147,"href":"https:\/\/aws2000.net\/index.php?rest_route=\/wp\/v2\/posts\/2052\/revisions\/3147"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws2000.net\/index.php?rest_route=\/wp\/v2\/media\/2063"}],"wp:attachment":[{"href":"https:\/\/aws2000.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws2000.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws2000.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}