{"id":134,"date":"2022-04-11T09:25:53","date_gmt":"2022-04-11T00:25:53","guid":{"rendered":"http:\/\/swatect.com\/?p=134"},"modified":"2022-04-11T11:50:47","modified_gmt":"2022-04-11T02:50:47","slug":"%ed%99%88%ed%8e%98%ec%9d%b4%ec%a7%80-%ec%a0%9c%ec%9e%91-%ec%84%a4%ec%a0%95","status":"publish","type":"post","link":"https:\/\/swatect.com\/?p=134","title":{"rendered":"\ud648\ud398\uc774\uc9c0 \uc81c\uc791 \uc124\uc815"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>\ud55c\uae00 \uc6cc\ub4dc\ud504\ub808\uc2a4 : <a href=\"https:\/\/wordpress.com\/ko\/support\/\">\uc9c0\uc6d0 (wordpress.com)<\/a><\/li><li>\uc6cc\ub4dc\ud504\ub808\uc2a4 \ub514\ubca8\ub85c\ud37c : <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/\">Functions | WordPress Developer Resources<\/a><\/li><\/ul>\n\n\n\n<p>\ube14\ub85d \uc0ac\uc6a9\ubc95 \ub4f1\uc758 \uae30\ubcf8\uc801\uc778 \ub0b4\uc6a9\uc740 \ud55c\uae00 \uc9c0\uc6d0\uc5d0 \uac70\uc758 \ub0b4\uc6a9\uc774 \ub2e4 \uc788\uace0, \ub9ac\uc18c\uc2a4 \uc218\uc815\ud560 \ub54c php \ud568\uc218 \ub4f1 \ucc3e\uc544\ubcfc \ub54c\ub294 \ub514\ubca8\ub85c\ud37c \uc0ac\uc774\ud2b8\uc5d0\uc11c \uac80\uc0c9\ud558\uba74 \ub098\uc628\ub2e4.<\/p>\n\n\n\n<p>\uc77c\ub2e8 \ub098\ub294 \uce74\ud14c\uace0\ub9ac\ub97c \ub20c\ub800\uc744 \ub54c \uc0c1\ub2e8\uc5d0 &#8216;\uce74\ud14c\uace0\ub9ac : \uc77c\uc0c1&#8217; \uc774\ub7f0 \uc2dd\uc73c\ub85c \ub098\uc624\ub294 \uac78 &#8216;\uc77c\uc0c1&#8217; \ub9cc \ub098\uc624\uac8c \ud558\uac70\ub098 \uc544\uc608 \uc5c6\uc560\uace0 \uc2f6\uc5c8\ub294\ub370. \uc5c6\uc560\ub824\uba74 archive.php \uc5d0\uc11c the_archive_title \ud568\uc218\ub97c \ucc3e\uc544 \uc544\ub798 \ub514\uc2a4\ud06c\ub9bd\uc158\uae4c\uc9c0 \uac19\uc774 \ub0a0\ub824\uc8fc\uba74 \uc544\uc608 \uc5c6\uc5b4\uc9c0\uace0, \uc77c\uc0c1\ub9cc \ub098\uc624\uac8c \ud558\ub824\uba74 \uc6cc\ub4dc\ud504\ub808\uc2a4 \uc790\uccb4\uc758 php \ud568\uc218\uac00 \uc815\uc758 \ub418\uc5b4\uc788\ub294 wp-includes\/general-template.php \ub85c \ub4e4\uc5b4\uac00\uc11c \ud574\ub2f9 \ud568\uc218\uc758 &#8216;category :&#8217; \ub97c \ub0a0\ub824\uc8fc\uba74 \ub41c\ub2e4. \ud568\uc218 \uac80\uc0c9\ud560 \ub54c \uc635\uc158 \ubc0f \ud3f4\ub354 \uc704\uce58 \uae4c\uc9c0 \ub2e4 \uc54c\ub824\uc900\ub2e4.<\/p>\n\n\n\n<p>\ud558\ub2e8 \uc18c\uc15c \ub9c1\ud06c\ub294 \ub9c1\ud06c\uc5d0 \ub530\ub77c \uc544\uc774\ucf58\uc774 \uc790\ub3d9 \uc0dd\uc131\ub428. secondary menu\uc5d0\uc11c \uc870\uc815\ud560 \uac83. \uba54\uc77c\uc740 mailto:<\/p>\n\n\n\n<p>\ube14\ub85d \uc0dd\uc131\uc2dc \uc591\ucabd 2\uac1c\ub85c \ub098\ub258\ub294 \uceec\ub7fc \uc0dd\uc131\ud6c4 \uacb9\uce58\ub294 \uc124\uc815 \uc544\ub798 \uc704\ub85c \uacf5\ubc31 \ub123\uc5b4\uc918\uc11c \uac04\uaca9 \uc870\uc815<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>.archive header span {display:none;}<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">function prefix_category_title( $title ) {\n    if ( is_category() ) {\n        $title = single_cat_title( '', false );\n    }\n    return $title;\n}\nadd_filter( 'get_the_archive_title', 'prefix_category_title' );\n\n\n.category .page-header {\n\toverflow: hidden;\n}\n.category .page-title {\n\tmargin-left: -4.7em;\n}\n\nfunction my_theme_archive_title( $title ) {\r\n    if ( is_category() ) {\r\n        $title = single_cat_title( '', false );\r\n    } elseif ( is_tag() ) {\r\n        $title = single_tag_title( '', false );\r\n    } elseif ( is_author() ) {\r\n        $title = '&lt;span class=\"vcard\">' . get_the_author() . '&lt;\/span>';\r\n    } elseif ( is_post_type_archive() ) {\r\n        $title = post_type_archive_title( '', false );\r\n    } elseif ( is_tax() ) {\r\n        $title = single_term_title( '', false );\r\n    }\r\n  \r\n    return $title;\r\n}\r\n \r\nadd_filter( 'get_the_archive_title', 'my_theme_archive_title' );<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\ud55c\uae00 \uc6cc\ub4dc\ud504\ub808\uc2a4 : \uc9c0\uc6d0 (wordpress.com) \uc6cc\ub4dc\ud504\ub808\uc2a4 \ub514\ubca8\ub85c\ud37c : Functions | WordPress Developer Resources \ube14\ub85d \uc0ac\uc6a9\ubc95 \ub4f1\uc758 \uae30\ubcf8\uc801\uc778 \ub0b4\uc6a9\uc740 \ud55c\uae00 \uc9c0\uc6d0\uc5d0 \uac70\uc758 \ub0b4\uc6a9\uc774 \ub2e4 \uc788\uace0, \ub9ac\uc18c\uc2a4 \uc218\uc815\ud560 \ub54c php \ud568\uc218 \ub4f1 \ucc3e\uc544\ubcfc \ub54c\ub294 \ub514\ubca8\ub85c\ud37c \uc0ac\uc774\ud2b8\uc5d0\uc11c \uac80\uc0c9\ud558\uba74 \ub098\uc628\ub2e4. \uc77c\ub2e8 \ub098\ub294 \uce74\ud14c\uace0\ub9ac\ub97c \ub20c\ub800\uc744 \ub54c \uc0c1\ub2e8\uc5d0 &#8216;\uce74\ud14c\uace0\ub9ac : \uc77c\uc0c1&#8217; \uc774\ub7f0 \uc2dd\uc73c\ub85c \ub098\uc624\ub294 \uac78 &#8216;\uc77c\uc0c1&#8217; \ub9cc \ub098\uc624\uac8c \ud558\uac70\ub098 \uc544\uc608 \uc5c6\uc560\uace0&hellip; <a class=\"more-link\" href=\"https:\/\/swatect.com\/?p=134\"><span class=\"screen-reader-text\">\ud648\ud398\uc774\uc9c0 \uc81c\uc791 \uc124\uc815<\/span> \uacc4\uc18d \uc77d\uae30<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-134","post","type-post","status-publish","format-standard","hentry","category-1","entry"],"_links":{"self":[{"href":"https:\/\/swatect.com\/index.php?rest_route=\/wp\/v2\/posts\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swatect.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swatect.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swatect.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swatect.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=134"}],"version-history":[{"count":5,"href":"https:\/\/swatect.com\/index.php?rest_route=\/wp\/v2\/posts\/134\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/swatect.com\/index.php?rest_route=\/wp\/v2\/posts\/134\/revisions\/192"}],"wp:attachment":[{"href":"https:\/\/swatect.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swatect.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swatect.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}