{"id":7296,"date":"2013-12-12T15:20:56","date_gmt":"2013-12-12T06:20:56","guid":{"rendered":"http:\/\/raftwood.net\/blog\/?p=7296"},"modified":"2025-04-08T13:24:36","modified_gmt":"2025-04-08T04:24:36","slug":"%ec%9b%8c%eb%93%9c%ed%94%84%eb%a0%88%ec%8a%a4-%ec%9e%90%ec%8b%9d-%ed%85%8c%eb%a7%88%ec%97%90%ec%84%9c-%ed%95%a8%ec%88%98-%ec%98%a4%eb%b2%84%eb%9d%bc%ec%9d%b4%eb%93%9c-%eb%ac%b8%ec%a0%9c","status":"publish","type":"post","link":"https:\/\/raftwood.net\/blog\/7296\/","title":{"rendered":"\uc6cc\ub4dc\ud504\ub808\uc2a4 \uc790\uc2dd \ud14c\ub9c8\uc5d0\uc11c \ud568\uc218 \uc624\ubc84\ub77c\uc774\ub4dc \ubb38\uc81c"},"content":{"rendered":"<p>2013\ub144 12\uc6d4 12\uc77c \ud604\uc7ac \uc0ac\uc6a9\uc911\uc778 \uc6cc\ub4dc\ud504\ub808\uc2a4 Hueman \ud14c\ub9c8\uc758 \uacbd\uc6b0 \ubc18\uc751\ud615 \uc6f9(responsive web) \ud14c\ub9c8\ub2e4. \uadf8\ub7f0\ub370 \uc774 \ud14c\ub9c8\ub294 \ubc18\uc751\ud615 \uc6f9 \ub3d9\uc791\uc744 \uc704\ud574\uc11c, \ub3d9\uc601\uc0c1 \ub4f1\uc744 \uc784\ubca0\ub4dc\ud560 \ub54c \uc784\ubca0\ub4dc \ucf54\ub4dc\ub97c div \ud0dc\uadf8\ub85c \uac10\uc2f8\ub294 \ud6c4\ud06c \ud544\ud130\ub97c \uc4f4\ub2e4. \uadf8\ub798\uc11c \uc720\ud29c\ube0c \ub3d9\uc601\uc0c1 \ub4f1\uc744 \uc784\ubca0\ub4dc\ud558\uba74 \ube0c\ub77c\uc6b0\uc800 \ucc3d\uc758 \ud06c\uae30\uc5d0 \ub530\ub77c \ub3d9\uc601\uc0c1 \ud06c\uae30\ub3c4 \uc790\ub3d9\uc73c\ub85c \uc870\uc808\uc774 \ub41c\ub2e4.\u00a0\uadf8\ub7f0\ub370 \uc774 \ud544\ud130\uac00 \ud2b8\uc704\ud130\uc758 \ud2b8\uc717\uc744 \uc784\ubca0\ub4dc\ud560 \ub54c\ub3c4 \ub3d9\uc791\uc744 \ud574\uc11c \uc774\ubbf8\uc9c0\uac00 \ud3ec\ud568\ub41c \ud2b8\uc717\uc744 \uc81c\ub300\ub85c \ubcf4\uc5ec\uc8fc\uc9c0 \ubabb\ud55c\ub2e4. \ud14c\ub9c8 \uc81c\uc791\uc0ac\uc5d0 \uc774\uba54\uc77c\ub3c4 \ubcf4\ub0b4\ubd24\uc9c0\ub9cc <del datetime=\"2013-12-12T06:04:09+00:00\">\uc601\uc5b4\ub97c \uc798 \ubabb\ud574\uc11c\uc778\uc9c0<\/del> \uc218\uc815\uc774 \ub418\uc9c0 \uc54a\uc544\uc11c \ubc29\ubc95\uc744 \ucc3e\uae30\ub85c \ud588\ub2e4.<\/p>\n<p>\ucc98\uc74c\uc5d0\ub294 \uc2a4\ud0c0\uc77c\uc2dc\ud2b8\uc5d0\uc11c div \ud0dc\uadf8\ub97c \uc7ac\uc815\uc758\ud558\ub824\uace0 \ud588\uc73c\ub098 \uc798 \uc548 \ub418\uc5b4\uc11c, \uc544\uc608 function.php\uc5d0\uc11c \uad00\ub828 \ud544\ud130 \ud568\uc218\ub97c \ucc3e\uc544\uc11c \uc218\uc815\uc744 \ud558\ub824 \ud588\ub2e4. \uadf8\ub7f0\ub370\u00a0\uc0ac\uc6a9\uc911\uc778 \ud14c\ub9c8\uc758 \uc2a4\ud0c0\uc77c\uc2dc\ud2b8\ub098 php \ud398\uc774\uc9c0\ub97c \uc9c1\uc811 \uc218\uc815\ud558\uba74 \ud14c\ub9c8\ub97c \uc5c5\uadf8\ub808\uc774\ub4dc\ud560 \ub54c \uc218\uc815\ub41c \ubd80\ubd84\uc774 \ub36e\uc5b4\uc368\uc9c8 \uc218 \uc788\ub2e4. \uadf8\ub798\uc11c \uc218\uc815\ub41c \ubd80\ubd84\uc744 \ubc31\uc5c5\ud574\ub46c\uc57c \ud558\uace0, \ud14c\ub9c8\ub97c \uc5c5\uadf8\ub808\uc774\ub4dc\ud558\uace0 \ub098\uba74 \uc7ac\uc801\uc6a9\ud574\uc57c \ud558\ub294 \ubd88\ud3b8\ud568\uc774 \uc788\ub2e4. \uadf8\ub7f4 \ub54c \uc720\uc6a9\ud55c \uac83\uc774 \uc790\uc2dd \ud14c\ub9c8(child theme)\uc774\uace0,\u00a0\uad00\ub828\ub41c \ub0b4\uc6a9\uc740\u00a0<a href=\"http:\/\/codex.wordpress.org\/ko:Child_Themes\" target=\"_blank\" class=\"external external_icon\" rel=\"nofollow\">\uc6cc\ub4dc\ud504\ub808\uc2a4 \ucf54\ub371\uc2a4\uc758 \uc790\uc2dd \ud14c\ub9c8 \ud56d\ubaa9<\/a>\uc744 \ucc38\uace0\ud558\uba74 \ub41c\ub2e4. \uc790\uc2dd \ud14c\ub9c8\ub97c \uc4f0\uba74, \ubd80\ubaa8 \ud14c\ub9c8\uc5d0\uc11c \ud544\uc694\ud55c \uae30\ub2a5\uc744 \ucd94\uac00\ud558\uac70\ub098 \uc7ac\uc815\uc758\ud560 \uc218 \uc788\ub2e4.<\/p>\n<p>\uadf8\ub7f0\ub370 \uc790\uc2dd \ud14c\ub9c8\uc5d0\uc11c \uc2a4\ud0c0\uc77c\uc2dc\ud2b8\ub294 \uc7ac\uc815\uc758(override, \ub36e\uc5b4\uc4f0\uae30)\uac00 \uac00\ub2a5\ud55c\ub370, functions.php\uc758 \ud568\uc218\ub294 \uc7ac\uc815\uc758\uac00 \uc548 \ub41c\ub2e4. \uadf8\ub798\uc11c \uac80\uc0c9\uc744 \ud558\ub2e4\ubcf4\ub2c8 \ud544\ud130\uc758 \uacbd\uc6b0, <a href=\"http:\/\/wordpress.stackexchange.com\/a\/7559\" target=\"_blank\" class=\"external external_icon\" rel=\"nofollow\">\uae30\uc874 \ud544\ud130 \uc801\uc6a9\uc744 \ud574\uc81c\ud558\uace0 \uc0c8\ub85c\uc6b4 \ud544\ud130\ub97c \uc801\uc6a9\ud558\ub294 \uc2dd\uc73c\ub85c \uad6c\ud604<\/a>\uc744 \ud560 \uc218 \uc788\ub2e4\ub294 \uac78 \uc54c\uac8c \ub418\uc5c8\ub2e4.\u00a0<\/p>\n<p>\uc6b0\uc120 Hueman \ud14c\ub9c8(\ubd80\ubaa8 \ud14c\ub9c8)\uc758 function.php\uc5d0\uc11c \uc784\ubca0\ub4dc \ud544\ud130\uc640 \uad00\ub828\ub41c \ub0b4\uc6a9\uc740 \uc544\ub798\uc640 \uac19\ub2e4.<\/p>\n<pre lang=\"php\">\r\n\/*  Add responsive container to embeds\r\n\/* ------------------------------------ *\/\r\nif ( ! function_exists( 'alx_embed_html' ) ) {\r\n\r\n        function alx_embed_html( $html ) {\r\n                return '\r\n<div class=\"video-container\">' . $html . '<\/div>\r\n';\r\n        }\r\n\r\n}\r\nadd_filter( 'embed_oembed_html', 'alx_embed_html', 10, 3 );\r\nadd_filter( 'video_embed_html', 'alx_embed_html' ); \/\/ Jetpack<\/pre>\n<p>\uc544\ub798\ub294 \uc790\uc2dd \ud14c\ub9c8\uc758 functions.php\ub2e4.<\/p>\n<pre lang=\"php\">\r\n\/*  Function: Modify alx_embed_html(in parent theme) *\/\r\n\/* ----------------------------------------- *\/\r\nif ( ! function_exists( 'alx_embed_html_raftwood' ) ) {\r\n\r\n        function alx_embed_html_raftwood( $html ) {\r\n                if ( strpos( $html, \"twitter-tweet\" ) !== false )\r\n                   { return $html; }\r\n                else\r\n                   { return '\r\n<div class=\"video-container\">' . $html . '<\/div>\r\n\r\n'; }\r\n        }\r\n\r\n}\r\n\r\n\/*  Function: Remove filters in parent theme and add new filters  *\/\r\n\/* -------------------------------------------------------------- *\/\r\nif ( ! function_exists( 'my_child_theme_setup' ) ) {\r\n\r\n\tfunction my_child_theme_setup( ) {\r\n\t\tremove_filter( 'embed_oembed_html', 'alx_embed_html', 10, 3 );\r\n\t\tremove_filter( 'video_embed_html', 'alx_embed_html' ); \/\/ Jetpack\r\n\t\tadd_filter( 'embed_oembed_html', 'alx_embed_html_raftwood', 10, 3 );\r\n\t\tadd_filter( 'video_embed_html', 'alx_embed_html_raftwood' ); \/\/ Jetpack\r\n\t}\r\n\r\n}\r\n\r\n\/*  Add action: Above function after setup theme  *\/\r\n\/* ---------------------------------------------- *\/\r\nadd_action( 'after_setup_theme', 'my_child_theme_setup' );<\/pre>\n<p>\ucc98\uc74c\uc5d0 \uc815\uc758\ub41c alx_embed_html_raftwood \ud568\uc218\ub294, \ubd80\ubaa8 \ud14c\ub9c8\uc758 alx_embed_html \ud568\uc218\ub97c \uc218\uc815\ud55c \uac83\uc774\ub2e4. \uc784\ubca0\ub4dc\ud55c \ub0b4\uc6a9\uc5d0 &#8216;twitter-tweet&#8217;\uc774\ub77c\ub294 \ubb38\uad6c\uac00 \ub4e4\uc5b4\uac00 \uc788\uc73c\uba74 div \ud0dc\uadf8\ub85c \uac10\uc2f8\uc9c0 \uc54a\uac8c \ud588\ub2e4. \uc774\uc5b4\uc9c0\ub294 my_child_theme_setup\uc740 \uae30\uc874 \ud544\ud130\ub97c \uc9c0\uc6b0\uace0 \uc0c8\ub85c\uc6b4 \ud544\ud130\ub97c \ucd94\uac00\ud558\ub294 \ud568\uc218\ub2e4. \ub9c8\uc9c0\ub9c9\uc73c\ub85c add_action\uc73c\ub85c \ud14c\ub9c8\uac00 \uc14b\uc5c5 \uc774\ud6c4(after_setup_theme)\uc5d0 my_child_theme_setup \ud568\uc218\ub97c \uc2e4\ud589\ud558\ub3c4\ub85d \ud588\ub2e4. <\/p>\n<p>filter\uac00 \uc544\ub2cc action\uc5d0 \uc4f0\uc774\ub294 \ud568\uc218\ub3c4 \uc704\uc640 \uc720\uc0ac\ud55c \ubc29\uc2dd\uc73c\ub85c \ubc14\uafc0 \uc218 \uc788\uc744 \uac83\uc774\ub2e4. \ub2e4\uc74c\uc5d0 \uc801\uc6a9\ud560 \uc77c\uc774 \uc788\uc73c\uba74 \ub2e4\uc2dc \ud55c \ubc88 \uc815\ub9ac\ud574 \ubcf4\uaca0\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>2013\ub144 12\uc6d4 12\uc77c \ud604\uc7ac \uc0ac\uc6a9\uc911\uc778 \uc6cc\ub4dc\ud504\ub808\uc2a4 Hueman \ud14c\ub9c8\uc758 \uacbd\uc6b0 \ubc18\uc751\ud615 \uc6f9(responsive web) \ud14c\ub9c8\ub2e4. \uadf8\ub7f0\ub370 \uc774 \ud14c\ub9c8\ub294 \ubc18\uc751\ud615 \uc6f9 \ub3d9\uc791\uc744 \uc704\ud574\uc11c, \ub3d9\uc601\uc0c1 \ub4f1\uc744 \uc784\ubca0\ub4dc\ud560 \ub54c \uc784\ubca0\ub4dc <a class=\"mh-excerpt-more\" href=\"https:\/\/raftwood.net\/blog\/7296\/\" title=\"\uc6cc\ub4dc\ud504\ub808\uc2a4 \uc790\uc2dd \ud14c\ub9c8\uc5d0\uc11c \ud568\uc218 \uc624\ubc84\ub77c\uc774\ub4dc \ubb38\uc81c\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":7181,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2796],"tags":[1779,1784,1781,6,1778,1782,325,1783,1780],"class_list":["post-7296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-2796","tag-1779","tag-1784","tag-1781","tag-6","tag-1778","tag-1782","tag-325","tag-1783","tag-1780"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/raftwood.net\/blog\/wp-content\/uploads\/2013\/11\/screenshot.png?fit=600%2C450&ssl=1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/raftwood.net\/blog\/wp-json\/wp\/v2\/posts\/7296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raftwood.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raftwood.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raftwood.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raftwood.net\/blog\/wp-json\/wp\/v2\/comments?post=7296"}],"version-history":[{"count":1,"href":"https:\/\/raftwood.net\/blog\/wp-json\/wp\/v2\/posts\/7296\/revisions"}],"predecessor-version":[{"id":541511,"href":"https:\/\/raftwood.net\/blog\/wp-json\/wp\/v2\/posts\/7296\/revisions\/541511"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/raftwood.net\/blog\/wp-json\/wp\/v2\/media\/7181"}],"wp:attachment":[{"href":"https:\/\/raftwood.net\/blog\/wp-json\/wp\/v2\/media?parent=7296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raftwood.net\/blog\/wp-json\/wp\/v2\/categories?post=7296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raftwood.net\/blog\/wp-json\/wp\/v2\/tags?post=7296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}