{"id":4971,"date":"2022-04-19T08:00:21","date_gmt":"2022-04-18T23:00:21","guid":{"rendered":"https:\/\/baigie.me\/officialblog\/?p=4971"},"modified":"2025-01-07T12:05:31","modified_gmt":"2025-01-07T03:05:31","slug":"wordpress-tips-1","status":"publish","type":"post","link":"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/","title":{"rendered":"WordPress\u306e\u7ba1\u7406\u753b\u9762\u3092\u4f7f\u3044\u3084\u3059\u304f\u3059\u308b\u7c21\u5358\u30ab\u30b9\u30bf\u30de\u30a4\u30ba18\u9078"},"content":{"rendered":"<p>WordPress\u306f\u6a5f\u80fd\u3068\u3057\u3066\u5b9f\u88c5\u3067\u304d\u306a\u3044\u3082\u306e\u306f\u306a\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u3001\u3068\u601d\u3048\u308b\u304f\u3089\u3044\u81ea\u7531\u5ea6\u304c\u9ad8\u304f\u591a\u6a5f\u80fd\u306aCMS\u3067\u3059\u3002\u4e00\u65b9\u3067\u591a\u6a5f\u80fd\u3067\u3042\u308b\u304c\u6545\u306b\u7ba1\u7406\u753b\u9762\u306e\u30e1\u30cb\u30e5\u30fc\u3082\u591a\u304f\u3001\u30b5\u30a4\u30c8\u306b\u3088\u3063\u3066\u306f\u4f7f\u3063\u3066\u3044\u306a\u3044\u6a5f\u80fd\u306a\u306e\u306b\u5c0e\u7dda\u304c\u6b8b\u3063\u3066\u3044\u305f\u308a\u3001\u8a2d\u5b9a\u753b\u9762\u306b\u5230\u9054\u3059\u308b\u307e\u3067\u968e\u5c64\u304c\u6df1\u304b\u3063\u305f\u308a\u3001\u64cd\u4f5c\u304c\u8907\u96d1\u3060\u3068\u30e6\u30fc\u30b6\u30fc\u306b\u4f7f\u3044\u306b\u304f\u3044\u7ba1\u7406\u753b\u9762\u3060\u3068\u601d\u308f\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u79c1\u304c\u666e\u6bb5\u306e\u5236\u4f5c\u3067\u3088\u304f\u884c\u3046WordPress\u306e\u7ba1\u7406\u753b\u9762\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001\u72ec\u81ea\u3067\u5b9f\u88c5\u3059\u308b\u3082\u306e\u3068\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5c0e\u5165\u3057\u3066\u5b9f\u73fe\u3059\u308b\u3082\u306e\u3092\u5408\u308f\u305b\u306618\u500b\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3068\u89e3\u8aac\u3092\u4ea4\u3048\u306a\u304c\u3089\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u3060\u3051\u3067\u306a\u304f\u30c7\u30b6\u30a4\u30ca\u30fc\u3084\u30c7\u30a3\u30ec\u30af\u30bf\u30fc\u306e\u65b9\u3082\u300c\u3053\u3093\u306a\u3053\u3068\u304c\u3067\u304d\u308b\u3093\u3060\u300d\u3068\u77e5\u3063\u3066\u304a\u304f\u3060\u3051\u3067\u3001\u3088\u308a\u4f7f\u3044\u3084\u3059\u3044\u7ba1\u7406\u753b\u9762\u306b\u4ed5\u4e0a\u3052\u3066\u3044\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_75 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u76ee\u6b21<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ff569303ffe\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\" style='display:none' id=\"ez-toc-cssicon-toggle-item-69ff569303ffe\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae1-%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e3%83%ad%e3%82%b4%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b\" >\u305d\u306e1. \u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8\u306e\u30ed\u30b4\u3092\u5909\u66f4\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae2-%e3%83%98%e3%83%83%e3%83%80%e3%83%bc%e3%81%ae%e4%b8%8d%e8%a6%81%e3%81%aa%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%82%92%e9%9d%9e%e8%a1%a8%e7%a4%ba%e3%81%ab%e3%81%99%e3%82%8b\" >\u305d\u306e2. \u30d8\u30c3\u30c0\u30fc\u306e\u4e0d\u8981\u306a\u30e1\u30cb\u30e5\u30fc\u3092\u975e\u8868\u793a\u306b\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae3-%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ab%e3%83%aa%e3%83%b3%e3%82%af%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b\" >\u305d\u306e3. \u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u30ea\u30f3\u30af\u3092\u8ffd\u52a0\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae4-%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ae%e3%83%aa%e3%83%b3%e3%82%af%e3%81%ae%e3%83%a9%e3%83%99%e3%83%ab%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b\" >\u305d\u306e4. \u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u30ea\u30f3\u30af\u306e\u30e9\u30d9\u30eb\u3092\u5909\u66f4\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae5-%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ae%e4%b8%a6%e3%81%b3%e9%a0%86%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b\" >\u305d\u306e5. \u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u4e26\u3073\u9806\u3092\u5909\u66f4\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae6-%e3%83%80%e3%83%83%e3%82%b7%e3%83%a5%e3%83%9c%e3%83%bc%e3%83%89%e3%81%ab%e7%8b%ac%e8%87%aa%e3%81%aehtml%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b\" >\u305d\u306e6. \u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u72ec\u81ea\u306eHTML\u3092\u8868\u793a\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae7-%e6%8a%95%e7%a8%bf%e3%82%92%e3%83%89%e3%83%a9%e3%83%83%e3%82%b0%ef%bc%86%e3%83%89%e3%83%ad%e3%83%83%e3%83%97%e3%81%a7%e4%b8%a6%e3%81%b9%e6%9b%bf%e3%81%88%e3%82%89%e3%82%8c%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b\" >\u305d\u306e7. \u6295\u7a3f\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3067\u4e26\u3079\u66ff\u3048\u3089\u308c\u308b\u3088\u3046\u306b\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae8-%e6%8a%95%e7%a8%bf%e3%82%92%e8%a4%87%e8%a3%bd%e3%81%a7%e3%81%8d%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b\" >\u305d\u306e8. \u6295\u7a3f\u3092\u8907\u88fd\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae9-%e3%83%96%e3%83%ad%e3%83%83%e3%82%af%e3%82%a8%e3%83%87%e3%82%a3%e3%82%bf%e3%83%bc%e3%81%abcss%e3%82%92%e9%81%a9%e7%94%a8%e3%81%99%e3%82%8b\" >\u305d\u306e9. \u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306bCSS\u3092\u9069\u7528\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae10-%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%81%abcss%e3%82%92%e9%81%a9%e7%94%a8%e3%81%99%e3%82%8b\" >\u305d\u306e10. \u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306bCSS\u3092\u9069\u7528\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae11-%e3%82%a8%e3%83%87%e3%82%a3%e3%82%bf%e3%83%bc%e3%81%ae%e8%87%aa%e5%8b%95%e4%bf%9d%e5%ad%98%e6%99%82%e9%96%93%e3%82%92%e5%bb%b6%e9%95%b7%e3%81%99%e3%82%8b\" >\u305d\u306e11. \u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u81ea\u52d5\u4fdd\u5b58\u6642\u9593\u3092\u5ef6\u9577\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae12-%e4%b8%8d%e8%a6%81%e3%81%aa%e3%83%96%e3%83%ad%e3%83%83%e3%82%af%e3%82%92%e4%b8%80%e8%a6%a7%e3%81%8b%e3%82%89%e9%9d%9e%e8%a1%a8%e7%a4%ba%e3%81%ab%e3%81%99%e3%82%8b\" >\u305d\u306e12. \u4e0d\u8981\u306a\u30d6\u30ed\u30c3\u30af\u3092\u4e00\u89a7\u304b\u3089\u975e\u8868\u793a\u306b\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae13-%e7%b9%b0%e3%82%8a%e8%bf%94%e3%81%97%e4%bd%bf%e3%81%86%e3%83%91%e3%83%bc%e3%83%84%e3%82%92%e5%86%8d%e5%88%a9%e7%94%a8%e3%83%96%e3%83%ad%e3%83%83%e3%82%af%e3%81%a8%e3%81%97%e3%81%a6%e7%99%bb%e9%8c%b2%e3%81%99%e3%82%8b\" >\u305d\u306e13. \u7e70\u308a\u8fd4\u3057\u4f7f\u3046\u30d1\u30fc\u30c4\u3092\u518d\u5229\u7528\u30d6\u30ed\u30c3\u30af\u3068\u3057\u3066\u767b\u9332\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae14-%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e9%9d%9e%e8%a1%a8%e7%a4%ba%e3%81%ab%e3%81%99%e3%82%8b\" >\u305d\u306e14. \u89aa\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u8a2d\u5b9a\u3092\u975e\u8868\u793a\u306b\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae15-%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%81%ab%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b\" >\u305d\u306e15. \u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u8a2d\u5b9a\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae16-%e4%b8%80%e8%88%ac%e8%a8%ad%e5%ae%9a%e3%81%ab%e7%8b%ac%e8%87%aa%e3%81%ae%e5%85%a5%e5%8a%9b%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b\" >\u305d\u306e16. \u4e00\u822c\u8a2d\u5b9a\u306b\u72ec\u81ea\u306e\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae17-%e3%83%97%e3%83%ad%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%81%ab%e7%8b%ac%e8%87%aa%e3%81%ae%e5%85%a5%e5%8a%9b%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b\" >\u305d\u306e17. \u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u306b\u72ec\u81ea\u306e\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%9d%e3%81%ae18-%e3%82%b5%e3%82%a4%e3%83%88%e3%81%ae%e3%82%b0%e3%83%ad%e3%83%8a%e3%83%93%e3%82%92%e7%ae%a1%e7%90%86%e7%94%bb%e9%9d%a2%e3%81%a7%e7%b7%a8%e9%9b%86%e3%81%a7%e3%81%8d%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b\" >\u305d\u306e18. \u30b5\u30a4\u30c8\u306e\u30b0\u30ed\u30ca\u30d3\u3092\u7ba1\u7406\u753b\u9762\u3067\u7de8\u96c6\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/baigie.me\/officialblog\/2022\/04\/19\/wordpress-tips-1\/#%e3%81%95%e3%81%84%e3%81%94%e3%81%ab\" >\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae1-%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e3%83%ad%e3%82%b4%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e1. \u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8\u306e\u30ed\u30b4\u3092\u5909\u66f4\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4ee5\u4e0b\u306e\u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8\u306eWordPress\u30ed\u30b4\u3068\u30ea\u30f3\u30af\u5148\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u30ed\u30b4\u5909\u66f4\u524d.png\" alt=\"\" width=\"375\" height=\"486\" \/><\/p>\n<h3>a. \u30ed\u30b4\u753b\u50cf\u3092\u5909\u66f4\u3059\u308b<\/h3>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ed\u30b0\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u30ed\u30b4\u90e8\u5206\u306e<code>&lt;a&gt;<\/code>\u30bf\u30b0\u306b\u80cc\u666f\u753b\u50cf\u3092\u6307\u5b9a\u3059\u308b\u95a2\u6570\u3092<code>login_head<\/code>\u30d5\u30c3\u30af\u3067\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u3001<code>functions.php<\/code>\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<code>background-image<\/code>\u3067\u30ed\u30b4\u753b\u50cf\u306e\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u80cc\u666f\u753b\u50cf\u3067\u306e\u6307\u5b9a\u306a\u306e\u3067\u8981\u7d20\u306b\u5e45\u3068\u9ad8\u3055\u3082\u6307\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-html\">function custom_login_logo() {\r\n?&gt;\r\n\u00a0 &lt;style type=\"text\/css\"&gt;\r\n\u00a0 \u00a0 #login h1 a {\r\n\u00a0 \u00a0 \u00a0 display: block;\r\n\u00a0 \u00a0 \u00a0 background-repeat: no-repeat;\r\n\u00a0 \u00a0 \u00a0 background-size: cover;\r\n\u00a0 \u00a0 \u00a0 background-image: url(\/path\/to\/logo.svg);\r\n\u00a0 \u00a0 \u00a0 width: 200px;\r\n\u00a0 \u00a0 \u00a0 height: 60px;\r\n\u00a0 \u00a0 }\r\n\u00a0 &lt;\/style&gt;\r\n&lt;?php\r\n}\r\nadd_action( 'login_head', 'custom_login_logo' );<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ed\u30b4\u753b\u50cf\u304c\u5909\u66f4\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u30ed\u30b4\u5909\u66f4\u5f8c.png\" alt=\"\" width=\"375\" height=\"486\" \/><\/p>\n<h3>b. \u30ed\u30b4\u30af\u30ea\u30c3\u30af\u6642\u306e\u9077\u79fb\u5148\u3092\u5909\u66f4\u3059\u308b<\/h3>\n<p>\u30ed\u30b4\u306f\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f<a href=\"https:\/\/ja.wordpress.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/ja.wordpress.org\/<\/a>\u306b\u9077\u79fb\u3057\u3066\u3044\u307e\u3044\u307e\u3059\u3002\u305b\u3063\u304b\u304f\u30ed\u30b4\u3092\u5909\u3048\u305f\u306e\u306b\u30ea\u30f3\u30af\u5148\u304c\u3053\u306e\u307e\u307e\u3067\u306f\u30df\u30b9\u30de\u30c3\u30c1\u306a\u306e\u3067\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092<code>functions.php<\/code>\u306b\u52a0\u3048\u3066\u30ea\u30f3\u30af\u5148\u3092\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-php\">function custom_login_logo_url() {\r\n\u00a0 return get_bloginfo( 'url' );\r\n}\r\nadd_filter( 'login_headerurl', 'custom_login_logo_url' );\r\n<\/code><\/pre>\n<p>\u3061\u306a\u307f\u306b\u3053\u3053\u3067\u306f\u7ba1\u7406\u753b\u9762\u306e\u8a2d\u5b9a\uff1e\u4e00\u822c\u306e\u300c\u30b5\u30a4\u30c8\u30a2\u30c9\u30ec\u30b9\uff08URL\uff09\u300d\u306b\u5165\u529b\u3057\u305fURL\u3092\u30ea\u30f3\u30af\u5148\u3068\u3059\u308b\u305f\u3081\u306b<code>get_bloginfo( 'url' )<\/code>\u306e\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u7ba1\u7406\u753b\u9762\u4e0a\u3067\u30e6\u30fc\u30b6\u30fc\u304c\u597d\u304d\u306aURL\u306b\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae2-%e3%83%98%e3%83%83%e3%83%80%e3%83%bc%e3%81%ae%e4%b8%8d%e8%a6%81%e3%81%aa%e3%83%a1%e3%83%8b%e3%83%a5%e3%83%bc%e3%82%92%e9%9d%9e%e8%a1%a8%e7%a4%ba%e3%81%ab%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e2. \u30d8\u30c3\u30c0\u30fc\u306e\u4e0d\u8981\u306a\u30e1\u30cb\u30e5\u30fc\u3092\u975e\u8868\u793a\u306b\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u30d8\u30c3\u30c0\u30fc\u30e1\u30cb\u30e5\u30fc.png\" alt=\"\" width=\"682\" height=\"107\" \/><\/p>\n<p>\u30d8\u30c3\u30c0\u30fc\u306b\u3082\u69d8\u3005\u306a\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\u304c\u8a2d\u7f6e\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30b3\u30e1\u30f3\u30c8\u6a5f\u80fd\u306a\u3069\u3092\u4f7f\u308f\u306a\u3044\u5834\u5408\u3001\u7121\u52b9\u306a\u306e\u306b\u5c0e\u7dda\u304c\u6b8b\u3063\u3066\u8a2d\u5b9a\u753b\u9762\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u77db\u76fe\u3057\u305f\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u30d8\u30c3\u30c0\u30fc\u306e\u4e0d\u8981\u306a\u30e1\u30cb\u30e5\u30fc\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\u6b21\u306e\u3088\u3046\u306b<code>admin_bar_menu<\/code>\u306b\u30d5\u30c3\u30af\u3055\u305b\u305f\u95a2\u6570\u5185\u3067<code>$wp_admin_bar-&gt;remove_menu( '\u5f15\u6570' );<\/code>\u3068\u3059\u308b\u3053\u3068\u3067\u5404\u30e1\u30cb\u30e5\u30fc\u3092\u975e\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function remove_admin_bar( $wp_admin_bar ) {\r\n\u00a0 $wp_admin_bar-&gt;remove_menu( '\u5f15\u65701' );\r\n  $wp_admin_bar-&gt;remove_menu( '\u5f15\u65702' );\r\n}\r\nadd_action( 'admin_bar_menu', 'remove_admin_bar' );\r\n<\/code><\/pre>\n<p>\u5f15\u6570\u3068\u3057\u3066\u6e21\u3059\u5024\u3092\u5909\u3048\u308b\u3053\u3068\u3067\u3001\u3069\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u304b\u3092\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002\u975e\u8868\u793a\u306b\u3059\u308b\u30e1\u30cb\u30e5\u30fc\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306f<code>$wp_admin_bar-&gt;remove_menu( '\u5f15\u6570' );<\/code>\u3092\u30e1\u30cb\u30e5\u30fc\u306e\u6570\u3060\u3051\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b0\u30eb\u30fc\u30d7\u3054\u3068\u975e\u8868\u793a\u306b\u3059\u308b\u304b\u3001\u500b\u5225\u306b\u30e1\u30cb\u30e5\u30fc\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u304b\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070WordPress\u30ed\u30b4\u306b\u30de\u30a6\u30b9\u3092\u30db\u30d0\u30fc\u3059\u308b\u3068\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u5f15\u6570\u306b\u300cwp-logo\u300d\u3092\u6307\u5b9a\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3068WordPress\u30ed\u30b4\u3068\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u304c\u307e\u308b\u3054\u3068\u975e\u8868\u793a\u306b\u306a\u308a\u307e\u3059\u3002\u5404\u30e1\u30cb\u30e5\u30fc\u3092\u30b0\u30eb\u30fc\u30d7\u3054\u3068\u306b\u8868\u793a\u306b\u3059\u308b\u5834\u5408\u306e\u5f15\u6570\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<table class=\"-horizontal\">\n<tbody>\n<tr>\n<th>WordPress\u30ed\u30b4\u30b0\u30eb\u30fc\u30d7<\/th>\n<td>wp-logo<\/td>\n<\/tr>\n<tr>\n<th>\u30b5\u30a4\u30c8\u540d\u30b0\u30eb\u30fc\u30d7<\/th>\n<td>site-name<\/td>\n<\/tr>\n<tr>\n<th>\u66f4\u65b0\u30b0\u30eb\u30fc\u30d7<\/th>\n<td>updates<\/td>\n<\/tr>\n<tr>\n<th>\u30b3\u30e1\u30f3\u30c8\u30b0\u30eb\u30fc\u30d7<\/th>\n<td>comments<\/td>\n<\/tr>\n<tr>\n<th>\u65b0\u898f\u6295\u7a3f\u30b0\u30eb\u30fc\u30d7<\/th>\n<td>new-content<\/td>\n<\/tr>\n<tr>\n<th>\u30e6\u30fc\u30b6\u30fc\u30b0\u30eb\u30fc\u30d7<\/th>\n<td>my-account<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4ee5\u4e0b\u306f\u500b\u5225\u306b\u30e1\u30cb\u30e5\u30fc\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u5834\u5408\u306e\u5f15\u6570\u3067\u3059\u3002\u30b0\u30eb\u30fc\u30d7\u3054\u3068\u306b\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>a. WordPress\u30ed\u30b4\u30b0\u30eb\u30fc\u30d7<\/h3>\n<p>WordPress\u30ed\u30b4\u306e\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u5185\u306e\u8a2d\u5b9a\u5024\u3067\u3059\u3002<\/p>\n<table class=\"-horizontal\">\n<tbody>\n<tr>\n<th>WordPress\u306b\u3064\u3044\u3066<\/th>\n<td>about<\/td>\n<\/tr>\n<tr>\n<th>WordPress.org<\/th>\n<td>wporg<\/td>\n<\/tr>\n<tr>\n<th>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3<\/th>\n<td>documentation<\/td>\n<\/tr>\n<tr>\n<th>\u30b5\u30dd\u30fc\u30c8<\/th>\n<td>support-forums<\/td>\n<\/tr>\n<tr>\n<th>\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af<\/th>\n<td>feedback<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>b. \u30b5\u30a4\u30c8\u540d\u30b0\u30eb\u30fc\u30d7<\/h3>\n<p>\u30b5\u30a4\u30c8\u540d\u306e\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306b\u306f\u300c\u30b5\u30a4\u30c8\u3092\u8868\u793a\u300d\u3057\u304b\u30ea\u30f3\u30af\u304c\u306a\u3044\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3068\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u30b5\u30a4\u30c8\u540d\u30b0\u30eb\u30fc\u30d7\u306e\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3.png\" alt=\"\" width=\"184\" height=\"77\" \/><\/p>\n<table class=\"-horizontal\">\n<tbody>\n<tr>\n<th>\u30b5\u30a4\u30c8\u3092\u8868\u793a<\/th>\n<td>view-site<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>c. \u65b0\u898f\u6295\u7a3f\u30b0\u30eb\u30fc\u30d7<\/h3>\n<p>\u300c\u65b0\u898f\u300d\u306e\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u5185\u306e\u8a2d\u5b9a\u5024\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u65b0\u898f\u6295\u7a3f\u30b0\u30eb\u30fc\u30d7\u306e\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3.png\" alt=\"\" width=\"184\" height=\"158\" \/><\/p>\n<table class=\"-horizontal\">\n<tbody>\n<tr>\n<th>\u6295\u7a3f<\/th>\n<td>new-post<\/td>\n<\/tr>\n<tr>\n<th>\u30e1\u30c7\u30a3\u30a2<\/th>\n<td>new-media<\/td>\n<\/tr>\n<tr>\n<th>\u56fa\u5b9a\u30da\u30fc\u30b8<\/th>\n<td>new-page<\/td>\n<\/tr>\n<tr>\n<th>Block<\/th>\n<td>new-block_lab<\/td>\n<\/tr>\n<tr>\n<th>\u30e6\u30fc\u30b6\u30fc<\/th>\n<td>new-user<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>d. \u30e6\u30fc\u30b6\u30fc\u30b0\u30eb\u30fc\u30d7<\/h3>\n<p>\u53f3\u5074\u306e\u300c\u3053\u3093\u306b\u3061\u306f\u3001\u25cb\u25cb\u3055\u3093\u300d\u306b\u30db\u30d0\u30fc\u3059\u308b\u3068\u8868\u793a\u3055\u308c\u308b\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u5185\u3082\u3001\u30a2\u30a4\u30b3\u30f3\u753b\u50cf\u4ee5\u5916\u3067\u8981\u7d20\u3054\u3068\u306b\u8868\u793a\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u30e6\u30fc\u30b6\u30fc\u30b0\u30eb\u30fc\u30d7\u306e\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3.png\" alt=\"\" width=\"276\" height=\"151\" \/><\/p>\n<table class=\"-horizontal\">\n<tbody>\n<tr>\n<th>\u30e6\u30fc\u30b6\u30fc\u540d<\/th>\n<td>user-info<\/td>\n<\/tr>\n<tr>\n<th>\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u7de8\u96c6<\/th>\n<td>edit-profile<\/td>\n<\/tr>\n<tr>\n<th>\u30ed\u30b0\u30a2\u30a6\u30c8<\/th>\n<td>logout<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae3-%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ab%e3%83%aa%e3%83%b3%e3%82%af%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e3. \u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u30ea\u30f3\u30af\u3092\u8ffd\u52a0\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u72ec\u81ea\u306e\u8ffd\u52a0\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u3088\u304f\u4f7f\u3046\u8a2d\u5b9a\u753b\u9762\u3092\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u8868\u793a\u3057\u3066\u304a\u304f\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u5909\u66f4\u524d\u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u56f3-1.png\" alt=\"\" width=\"720\" height=\"581\" \/><\/p>\n<p><code>functions.php<\/code>\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function add_custom_menu() {\r\n\u00a0 add_menu_page(\r\n\u00a0 \u00a0 '\u8a18\u4e8b\u30ab\u30c6\u30b4\u30ea\u30fc', \/\/ \u2460\u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb\r\n  \u00a0 '\u8a18\u4e8b\u30ab\u30c6\u30b4\u30ea\u30fc', \/\/ \u2461\u30e9\u30d9\u30eb\r\n  \u00a0 'manage_options', \/\/ \u2462\u8868\u793a\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\r\n\u00a0 \u00a0 'edit-tags.php?taxonomy=category', \/\/ \u2463\u30b9\u30e9\u30c3\u30b0\u540d\r\n  \u00a0 '', \/\/ \u2464\u9077\u79fb\u5f8c\u306b\u5b9f\u884c\u3059\u308b\u95a2\u6570\r\n\u00a0 \u00a0 'dashicons-category', \/\/ \u2465\u30a2\u30a4\u30b3\u30f3\r\n  \u00a0 '13' \/\/ \u2466\u8868\u793a\u4f4d\u7f6e\r\n\u00a0 );\r\n}\r\nadd_action('admin_menu', 'add_custom_menu');\r\n<\/code><\/pre>\n<p>\u30b5\u30a4\u30c9\u30d0\u30fc\u3078\u306e\u8ffd\u52a0\u306f<code>add_menu_page()<\/code>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u306e\u95a2\u6570\u306b\u306f7\u500b\u3082\u5f15\u6570\u3092\u6e21\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4e0a\u304b\u3089\u9806\u306b\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<table class=\"-horizontal -spblock\">\n<tbody>\n<tr>\n<th>\u2460\u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>\u30ea\u30f3\u30af\u5148\u30da\u30fc\u30b8\u306e\u30bf\u30a4\u30c8\u30eb\u30bf\u30b0\u306b\u8868\u793a\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u2461\u30e9\u30d9\u30eb<\/th>\n<td>\u7ba1\u7406\u753b\u9762\u306e\u30b5\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306b\u8868\u793a\u3059\u308b\u30e9\u30d9\u30eb\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u2462\u8868\u793a\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650<\/th>\n<td>\u30bb\u30c3\u30c8\u3057\u305f\u6a29\u9650\u30ec\u30d9\u30eb\u3092\u6e80\u305f\u3059\u30e6\u30fc\u30b6\u30fc\u306b\u3060\u3051\u3053\u306e\u8ffd\u52a0\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u2463\u30b9\u30e9\u30c3\u30b0\u540d<\/th>\n<td>\u3053\u306e\u8ffd\u52a0\u30e1\u30cb\u30e5\u30fc\u306b\u30ea\u30f3\u30af\u5148\u3068\u3057\u3066\u8a2d\u5b9a\u3059\u308b\u30da\u30fc\u30b8\u306e\u30b9\u30e9\u30c3\u30b0\u540d\u3002\u300cedit-tags.php\u300d\u3068\u6307\u5b9a\u3057\u305f\u5834\u5408\u306f\u300chttps:\/\/\u30c9\u30e1\u30a4\u30f3\u540d\/wp-admin\/edit-tags.php\u300d\u306b\u30ea\u30f3\u30af\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u2464\u9077\u79fb\u5f8c\u306b\u5b9f\u884c\u3059\u308b\u95a2\u6570<\/th>\n<td>\u30ea\u30f3\u30af\u5148\u30da\u30fc\u30b8\u3092\u8868\u793a\u3057\u305f\u3068\u304d\u306b\u5b9f\u884c\u3055\u308c\u308b\u95a2\u6570\u3002\u4f55\u3082\u5b9f\u884c\u3057\u306a\u3044\u5834\u5408\u306f\u7a7a\u306b\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u2465\u30a2\u30a4\u30b3\u30f3<\/th>\n<td>\u7ba1\u7406\u753b\u9762\u306e\u30b5\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306b\u8868\u793a\u3059\u308b\u30a2\u30a4\u30b3\u30f3\u3002\u300c\u753b\u50cfURL\u300d\u300cBase64\u5909\u63db\u5f8c\u30c6\u30ad\u30b9\u30c8\u300d\u300cWP\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u30a2\u30a4\u30b3\u30f3\u540d\u300d\u306e\u3044\u305a\u308c\u304b\u3067\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002WP\u306e\u30a2\u30a4\u30b3\u30f3\u306f<a href=\"https:\/\/developer.wordpress.org\/resource\/dashicons\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089<\/a>\u3067\u691c\u7d22\u3067\u304d\u307e\u3059\u3002<a href=\"https:\/\/developer.wordpress.org\/resource\/dashicons\/\" target=\"_blank\" rel=\"noopener noreferrer\"><\/a><\/td>\n<\/tr>\n<tr>\n<th>\u2466\u8868\u793a\u4f4d\u7f6e<\/th>\n<td>\u7ba1\u7406\u753b\u9762\u306e\u30b5\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u3067\u3053\u306e\u8ffd\u52a0\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b\u4f4d\u7f6e\u3002\u5927\u304d\u3044\u6570\u5b57\u307b\u3069\u4e0b\u306e\u65b9\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3053\u308c\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u300c\u8a18\u4e8b\u30ab\u30c6\u30b4\u30ea\u30fc\u300d\u3068\u3044\u3046\u30e1\u30cb\u30e5\u30fc\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u8a18\u4e8b\u30ab\u30c6\u30b4\u30ea\u30fc\u304c\u8ffd\u52a0\u3055\u308c\u305f\u56f3.png\" alt=\"\" width=\"180\" height=\"289\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae4-%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ae%e3%83%aa%e3%83%b3%e3%82%af%e3%81%ae%e3%83%a9%e3%83%99%e3%83%ab%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e4. \u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u30ea\u30f3\u30af\u306e\u30e9\u30d9\u30eb\u3092\u5909\u66f4\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u5909\u66f4\u524d\u306e\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u56f3-1.png\" alt=\"\" width=\"720\" height=\"581\" \/><\/p>\n<p>\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u5404\u30e1\u30cb\u30e5\u30fc\u306e\u30e9\u30d9\u30eb\u3092\u5909\u66f4\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u300c\u30e1\u30c7\u30a3\u30a2\u300d\u3092\u300c\u753b\u50cf\u30fb\u30d5\u30a1\u30a4\u30eb\u300d\u306b\u7f6e\u304d\u63db\u3048\u3066\u300c\u4f55\u306e\u30e1\u30cb\u30e5\u30fc\u306a\u306e\u304b\u300d\u3092\u30a4\u30e1\u30fc\u30b8\u3057\u3084\u3059\u304f\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u30e1\u30cb\u30e5\u30fc\u306e\u60c5\u5831\u306f\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306e<code>$menu<\/code>\u3068<code>$submenu<\/code>\u3068\u3044\u3046\u914d\u5217\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u305d\u306e\u5024\u3092\u4e0a\u66f8\u304d\u3059\u308b\u5f62\u3067\u5909\u66f4\u3057\u307e\u3059\u3002\u307e\u305a\u306f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u5168\u6587\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function change_menu_label() {\r\n  global $menu, $submenu;\r\n  $menu[10][0] = '\u753b\u50cf\u30fb\u30d5\u30a1\u30a4\u30eb';\r\n  $submenu['upload.php'][5][0] = '\u753b\u50cf\u30fb\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7';\r\n  $submenu['upload.php'][10][0] = '\u753b\u50cf\u30fb\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0';\r\n}\r\nadd_action( 'admin_menu', 'change_menu_label' );<\/code><\/pre>\n<p><code>admin_menu<\/code>\u306b\u30d5\u30c3\u30af\u3057\u3066\u914d\u5217\u3092\u4e0a\u66f8\u304f\u51e6\u7406\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u306f\u5e38\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30e1\u30cb\u30e5\u30fc\uff08<code>$menu<\/code>\uff09\u3068\u3001\u30db\u30d0\u30fc\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\uff08<code>$submenu<\/code>\uff09\u304c\u3042\u308b\u306e\u3067\u7f6e\u304d\u63db\u3048\u305f\u3044\u30e9\u30d9\u30eb\u306e\u5834\u6240\u306b\u5fdc\u3058\u3066\u4e0a\u66f8\u304d\u3059\u308b\u914d\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6b21\u306b\u305d\u308c\u305e\u308c\u306e\u914d\u5217\u306e\u4e2d\u8eab\u3092\u5b9f\u969b\u306b\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<code>$menu[10][0]<\/code>\u306a\u3069\u304c\u4f55\u3092\u6307\u3057\u3066\u3044\u308b\u304b\u308f\u304b\u308b\u306f\u305a\u3067\u3059\u3002\u307e\u305a\u306f\u89aa\u968e\u5c64\u306b\u3042\u305f\u308b<code>$menu<\/code>\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">array() {\r\n\u00a0 [2] =&gt; array() {\r\n\u00a0 \u00a0 [0] =&gt; \"\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\",\r\n\u00a0 \u00a0 [1] =&gt; \"read\",\r\n\u00a0 \u00a0 [2] =&gt; \"index.php\",\r\n\u00a0 \u00a0 [3] =&gt; \"\",\r\n\u00a0 \u00a0 [4] =&gt; \u00a0\"menu-top menu-top-first menu-icon-dashboard\",\r\n\u00a0 \u00a0 [5] =&gt; \u00a0\"menu-dashboard\",\r\n\u00a0 \u00a0 [6] =&gt; \u00a0\"dashicons-dashboard\"\r\n  },\r\n\u00a0 [10] =&gt; array() {\r\n\u00a0 \u00a0 [0] =&gt; \"\u30e1\u30c7\u30a3\u30a2\",\r\n\u00a0 \u00a0 [1] =&gt; \"upload_files\",\r\n\u00a0 \u00a0 [2] =&gt; \"upload.php\",\r\n\u00a0 \u00a0 [3] =&gt; \"\",\r\n\u00a0 \u00a0 [4] =&gt; \"menu-top menu-icon-media\",\r\n\u00a0 \u00a0 [5] =&gt; \"menu-media\",\r\n\u00a0 \u00a0 [6] =&gt; \"dashicons-admin-media\"\r\n  },\r\n\u00a0 ...\r\n}\r\n<\/code><\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b<code>$menu<\/code>\u306f\u4e8c\u6b21\u5143\u914d\u5217\u3067\u3001<code>$menu[10][0]<\/code>\u306f\u300c\u30e1\u30c7\u30a3\u30a2\u300d\u306b\u3042\u305f\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u300c\u753b\u50cf\u30fb\u30d5\u30a1\u30a4\u30eb\u300d\u306b\u4e0a\u66f8\u304d\u3057\u3066\u5909\u66f4\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u6b21\u306b\u5b50\u968e\u5c64\u306b\u3042\u305f\u308b<code>$submenu<\/code>\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">array() {\r\n\u00a0 [\"index.php\"] =&gt; array() {\r\n\u00a0 \u00a0 [0] =&gt; array() {\r\n\u00a0 \u00a0 \u00a0 [0] =&gt; \"\u30db\u30fc\u30e0\",\r\n\u00a0 \u00a0 \u00a0 [1] =&gt; \"read\",\r\n\u00a0 \u00a0 \u00a0 [2] =&gt; \"index.php\"\r\n\u00a0 \u00a0 },\r\n\u00a0 \u00a0 ...\r\n\u00a0 },\r\n\u00a0 [\"upload.php\"] =&gt; array() {\r\n\u00a0 \u00a0 [5] =&gt; array() {\r\n\u00a0 \u00a0 \u00a0 [0] =&gt; \"\u30e9\u30a4\u30d6\u30e9\u30ea\",\r\n\u00a0 \u00a0 \u00a0 [1] =&gt; \"upload_files\",\r\n\u00a0 \u00a0 \u00a0 [2] =&gt; \"upload.php\"\r\n\u00a0 \u00a0 },\r\n\u00a0 \u00a0 [10] =&gt; array() {\r\n\u00a0 \u00a0 \u00a0 [0] =&gt; \"\u65b0\u898f\u8ffd\u52a0\",\r\n\u00a0 \u00a0 \u00a0 [1] =&gt; \"upload_files\",\r\n\u00a0 \u00a0 \u00a0 [2] =&gt; \"media-new.php\"\r\n\u00a0 \u00a0 }\r\n\u00a0 },\r\n\u00a0 ...\r\n}\r\n<\/code><\/pre>\n<p><code>$menu<\/code>\u3068\u4f3c\u3066\u3044\u307e\u3059\u304c\u7b2c\u4e00\u968e\u5c64\u306bphp\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u30ad\u30fc\u3068\u3057\u3066\u5165\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<code>$submenu['upload.php'][5][0] = '\u753b\u50cf\u30fb\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7';<\/code>\u306f\u300c\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u7f6e\u304d\u63db\u3048\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u300c\u30e1\u30c7\u30a3\u30a2\u300d\u3068\u3044\u3046\u30e9\u30d9\u30eb\u304c\u7f6e\u304d\u63db\u308f\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u300c\u30e1\u30c7\u30a3\u30a2\u300d\u304c\u300c\u753b\u50cf\u30fb\u30d5\u30a1\u30a4\u30eb\u300d\u306b\u7f6e\u304d\u63db\u308f\u3063\u305f\u56f3-1.png\" alt=\"\" width=\"180\" height=\"289\" \/><\/p>\n<p>\u300c\u30e1\u30c7\u30a3\u30a2\u300d\u4ee5\u5916\u306b\u3082\u3053\u308c\u3089\u306e\u914d\u5217\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u30e1\u30cb\u30e5\u30fc\u3067\u3042\u308c\u3070\u3001\u30ea\u30f3\u30af\u5148\u306e\u30d1\u30b9\u3001\u30e1\u30cb\u30e5\u30fc\u8981\u7d20\u306b\u4ed8\u4e0e\u3055\u308c\u308b\u30af\u30e9\u30b9\u30fbid\u3001\u30a2\u30a4\u30b3\u30f3\u306a\u3069\u3082\u5909\u66f4\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002\u914d\u5217\u306e\u60c5\u5831\u306f\u81a8\u5927\u306a\u306e\u3067<code>var_dump( $menu )<\/code>\u306a\u3069\u3067\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae5-%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ae%e4%b8%a6%e3%81%b3%e9%a0%86%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e5. \u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u4e26\u3073\u9806\u3092\u5909\u66f4\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u30e1\u30cb\u30e5\u30fc\u306e\u4e26\u3073\u9806\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5165\u308c\u66ff\u3048\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u30b5\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u4e26\u3079\u66ff\u3048-1.png\" alt=\"\" width=\"390\" height=\"385\" \/><\/p>\n<p>\u307e\u305a\u306f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u5168\u6587\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function sort_side_menu( $menu_order ) {\r\n\u00a0 return array(\r\n\u00a0 \u00a0 \"index.php\", \/\/ \u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\r\n\u00a0 \u00a0 \"edit.php\", \/\/ \u6295\u7a3f\r\n\u00a0 \u00a0 \"edit.php?post_type=page\", \/\/ \u56fa\u5b9a\u30da\u30fc\u30b8\r\n\u00a0 \u00a0 \"separator1\", \/\/ \u533a\u5207\u308a\u7dda1\r\n\u00a0 \u00a0 \"upload.php\", \/\/ \u30e1\u30c7\u30a3\u30a2\r\n\u00a0 \u00a0 \"edit-comments.php\", \/\/ \u30b3\u30e1\u30f3\u30c8\r\n\u00a0 \u00a0 \"separator2\", \/\/ \u533a\u5207\u308a\u7dda2\r\n\u00a0 \u00a0 \"themes.php\", \/\/ \u5916\u89b3\r\n\u00a0 \u00a0 \"plugins.php\", \/\/ \u30d7\u30e9\u30b0\u30a4\u30f3\r\n\u00a0 \u00a0 \"users.php\", \/\/ \u30e6\u30fc\u30b6\u30fc\r\n\u00a0 \u00a0 \"tools.php\", \/\/ \u30c4\u30fc\u30eb\r\n\u00a0 \u00a0 \"options-general.php\", \/\/ \u8a2d\u5b9a\r\n\u00a0 \u00a0 \"separator-last\" \/\/ \u533a\u5207\u308a\u7dda\uff08\u6700\u5f8c\uff09\r\n\u00a0 );\r\n}\r\nadd_filter( 'custom_menu_order', '__return_true' );\r\nadd_filter( 'menu_order', 'sort_side_menu' );<\/code><\/pre>\n<p>\u30b5\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u306e\u4e26\u3073\u9806\u306f\u4e0a\u8a18\u3067\u306f<code>$menu_order<\/code>\u914d\u5217\u3067\u7ba1\u7406\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u914d\u5217\u306e\u4e2d\u8eab\u3092\u5165\u308c\u66ff\u3048\u3066\u4e26\u3079\u66ff\u3048\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002<\/p>\n<p><code>custom_menu_order<\/code>\u3068<code>menu_order<\/code>\u306e2\u3064\u306e\u30d5\u30c3\u30af\u3092\u5229\u7528\u3057\u3066\u51e6\u7406\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u307e\u305a\u6700\u521d\u306e<code>custom_menu_order<\/code>\u3068\u3044\u3046\u30d5\u30c3\u30af\u3067\u306f\u3001\u7b2c2\u5f15\u6570\u304c\u300c__return_true\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u3067WordPress\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u308b<code>__return_true()<\/code>\u95a2\u6570\u3092\u5b9f\u884c\u3057\u3001true\u3092\u8fd4\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3067WordPress\u5074\u306b\u300c\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u4e26\u3073\u9806\u3092\u5909\u66f4\u3057\u307e\u3059\u300d\u3068\u901a\u544a\u3059\u308b\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001<code>menu_order<\/code>\u30d5\u30c3\u30af\u3067<code>sort_side_menu()<\/code>\u95a2\u6570\u3092\u5b9f\u884c\u3057\u5909\u66f4\u5f8c\u306e\u4e26\u3073\u9806\u3092\u5b9a\u7fa9\u3057\u305f\u914d\u5217\u3092return\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b5\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u304c\u4e26\u3079\u66ff\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u30b5\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u4e26\u3079\u66ff\u3048\u5f8c.png\" alt=\"\" width=\"180\" height=\"464\" \/><\/p>\n<p>\u3061\u306a\u307f\u306b<code>$menu_order<\/code>\u306e\u4e26\u3079\u66ff\u3048\u524d\u306e\u4e2d\u8eab\u306f<code>sort_side_menu()<\/code>\u95a2\u6570\u5185\u3067<code>var_dump( $menu_order )<\/code>\u3068\u3059\u308b\u3053\u3068\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u4e26\u3073\u9806\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-html\">array(\r\n\u00a0 \"index.php\", \/\/ \u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\r\n\u00a0 \"separator1\", \/\/ \u533a\u5207\u308a\u7dda1\r\n\u00a0 \"edit.php\", \/\/ \u6295\u7a3f\r\n\u00a0 \"upload.php\", \/\/ \u30e1\u30c7\u30a3\u30a2\r\n\u00a0 \"edit.php?post_type=page\", \/\/ \u56fa\u5b9a\u30da\u30fc\u30b8\r\n\u00a0 \"edit-comments.php\", \/\/ \u30b3\u30e1\u30f3\u30c8\r\n\u00a0 \"separator2\", \/\/ \u533a\u5207\u308a\u7dda2\r\n\u00a0 \"themes.php\", \/\/ \u5916\u89b3\r\n\u00a0 \"plugins.php\", \/\/ \u30d7\u30e9\u30b0\u30a4\u30f3\r\n\u00a0 \"users.php\", \/\/ \u30e6\u30fc\u30b6\u30fc\r\n\u00a0 \"tools.php\", \/\/ \u30c4\u30fc\u30eb\r\n\u00a0 \"options-general.php\", \/\/ \u8a2d\u5b9a\r\n\u00a0 \"separator-last\" \/\/ \u533a\u5207\u308a\u7dda\uff08\u6700\u5f8c\uff09\r\n)\r\n<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae6-%e3%83%80%e3%83%83%e3%82%b7%e3%83%a5%e3%83%9c%e3%83%bc%e3%83%89%e3%81%ab%e7%8b%ac%e8%87%aa%e3%81%aehtml%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e6. \u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u72ec\u81ea\u306eHTML\u3092\u8868\u793a\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30e6\u30fc\u30b6\u30fc\u304c\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u6700\u521d\u306b\u8868\u793a\u3055\u308c\u308b\u306e\u306f\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3067\u3059\u3002\u305b\u3063\u304b\u304f\u306a\u306e\u3067\u30de\u30cb\u30e5\u30a2\u30eb\u3078\u306e\u30ea\u30f3\u30af\u3092\u8868\u793a\u3059\u308b\u306a\u3069\u3057\u3066\u3001\u3053\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u6709\u52b9\u6d3b\u7528\u3057\u307e\u3057\u3087\u3046\u3002\u3053\u3053\u3067\u306f\u3001\u30de\u30cb\u30e5\u30a2\u30eb\u3084\u8a2d\u5b9a\u753b\u9762\u3078\u306e\u30ea\u30f3\u30af\u30dc\u30bf\u30f3\u3092\u8868\u793a\u3059\u308b\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u306e\u3092\u4f8b\u306b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e3\u30b9\u30c6\u30c3\u30d7\u3067\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol class=\"-alphabet\">\n<li style=\"text-align: left\">\u4e0d\u8981\u306a\u30d6\u30ed\u30c3\u30af\u3092\u6d88\u3059<\/li>\n<li style=\"text-align: left\">\u65b0\u3057\u3044\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u8ffd\u52a0\u3059\u308b<\/li>\n<li style=\"text-align: left\">\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306b\u8868\u793a\u3059\u308bHTML\u3092\u5b9a\u7fa9\u3059\u308b<\/li>\n<\/ol>\n<h3>a. \u4e0d\u8981\u306a\u30d6\u30ed\u30c3\u30af\u3092\u6d88\u3059<\/h3>\n<p>\u7ba1\u7406\u753b\u9762\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6982\u8981\u3084\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u3068\u3044\u3063\u305f\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u304c\u4e26\u3093\u3067\u3044\u307e\u3059\u304c\u3001\u4f7f\u308f\u306a\u3044\u3082\u306e\u3082\u591a\u3044\u3067\u3059\u3002\u307e\u305a\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>remove_meta_box()<\/code>\u3067\u4e0d\u8981\u306a\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306f\u975e\u8868\u793a\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-php\">function remove_dashboard_widget() {\r\n  remove_meta_box( 'dashboard_site_health', 'dashboard', 'normal' ); \/\/ \u30b5\u30a4\u30c8\u30d8\u30eb\u30b9\u30b9\u30c6\u30fc\u30bf\u30b9\r\n  remove_meta_box( 'dashboard_right_now', 'dashboard', 'normal' ); \/\/ \u6982\u8981\r\n  remove_meta_box( 'dashboard_activity', 'dashboard', 'normal' ); \/\/ \u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\r\n  remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' ); \/\/ \u30af\u30a4\u30c3\u30af\u30c9\u30e9\u30d5\u30c8\r\n  remove_meta_box( 'dashboard_primary', 'dashboard', 'side' ); \/\/ WordPress \u30a4\u30d9\u30f3\u30c8\u3068\u30cb\u30e5\u30fc\u30b9\r\n  remove_action( 'welcome_panel', 'wp_welcome_panel' ); \/\/ \u30a6\u30a7\u30eb\u30ab\u30e0\u30d1\u30cd\u30eb\r\n}\r\nadd_action( 'wp_dashboard_setup', 'remove_dashboard_widget' );\r\n<\/code><\/pre>\n<p>\u3061\u306a\u307f\u306b\u6700\u5f8c\u306b\u8a18\u8ff0\u3057\u3066\u3044\u308b\u30a6\u30a7\u30eb\u30ab\u30e0\u30d1\u30cd\u30eb\u3060\u3051\u306f<code>remove_action()<\/code>\u95a2\u6570\u3067\u975e\u8868\u793a\u306b\u3057\u307e\u3059\u3002\u3053\u306e\u30a6\u30a7\u30eb\u30ab\u30e0\u30d1\u30cd\u30eb\u306f\u7ba1\u7406\u8005\u6a29\u9650\u3092\u6301\u3063\u305f\u30e6\u30fc\u30b6\u30fc\u306b\u3057\u304b\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<h3>b. \u65b0\u3057\u3044\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u8ffd\u52a0\u3059\u308b<\/h3>\n<p>\u72ec\u81ea\u306e\u30dc\u30bf\u30f3\u306a\u3069\u3092\u8868\u793a\u3059\u308b\u9818\u57df\u3068\u3057\u3066\u300c\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u300d\u3092\u65b0\u898f\u8ffd\u52a0\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b2\u3064\u306e\u95a2\u6570\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function add_dashboard_widgets() {\r\n  wp_add_dashboard_widget(\r\n    'quick_action_dashboard_widget', \/\/ \u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306e\u30b9\u30e9\u30c3\u30b0\u540d\r\n    '\u30af\u30a4\u30c3\u30af\u30a2\u30af\u30b7\u30e7\u30f3', \/\/ \u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306b\u8868\u793a\u3059\u308b\u30bf\u30a4\u30c8\u30eb\r\n    'dashboard_widget_function' \/\/ \u5b9f\u884c\u3059\u308b\u95a2\u6570\r\n  );\r\n}\r\nadd_action( 'wp_dashboard_setup', 'add_dashboard_widgets' );\r\n\r\nfunction dashboard_widget_function() {\r\n  \/\/ \u3053\u3053\u306b\u8868\u793a\u3057\u305f\u3044HTML\u3092\u66f8\u304f\r\n}<\/code><\/pre>\n<p><code>wp_dashboard_setup<\/code>\u306b\u30d5\u30c3\u30af\u3055\u305b\u308b\u3053\u3068\u3067\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u65b0\u898f\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002\u5185\u90e8\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b<code>wp_add_dashboard_widget()<\/code>\u306e\u5f15\u6570\u306f\u30b3\u30e1\u30f3\u30c8\u306e\u3068\u304a\u308a\u3067\u3059\u3002<code>dashboard_widget_function()<\/code>\u306b\u3064\u3044\u3066\u306f\u6b21\u306e\u7ae0\u3067\u8aac\u660e\u3057\u307e\u3059\u3002\u3053\u3053\u307e\u3067\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u304c\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u8ffd\u52a0\u5f8c.png\" alt=\"\" width=\"720\" height=\"362\" \/><\/p>\n<h3>c. \u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306b\u8868\u793a\u3059\u308bHTML\u3092\u5b9a\u7fa9\u3059\u308b<\/h3>\n<p>\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u5185\u306b\u8868\u793a\u3057\u305f\u3044HTML\u3092\u5148\u307b\u3069\u306e<code>dashboard_widget_function()<\/code>\u306e\u4e2d\u306b\u66f8\u3044\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u3053\u3053\u3067\u306f\u30de\u30cb\u30e5\u30a2\u30eb\u3092\u958b\u304f\u30ea\u30f3\u30af\u30dc\u30bf\u30f3\u3068\u3001\u30c6\u30fc\u30de\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u753b\u9762\u3078\u306e\u30ea\u30f3\u30af\u30dc\u30bf\u30f3\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-html\">function dashboard_widget_function() {\r\n  ?&gt;\r\n  &lt;ul class=\"quick-action\"&gt;\r\n    &lt;li&gt;\r\n      &lt;a href=\"https:\/\/example.com\" target=\"_blank\" class=\"quick-action-button\"&gt;\r\n        &lt;span class=\"dashicons-before dashicons-book\"&gt;&lt;\/span&gt;\r\n        \u30de\u30cb\u30e5\u30a2\u30eb\u3092\u898b\u308b\r\n      &lt;\/a&gt;\r\n    &lt;\/li&gt;\r\n    &lt;?php if ( current_user_can( 'administrator' ) ) : ?&gt;\r\n      &lt;li&gt;\r\n        &lt;a href=\"&lt;?php echo admin_url() . 'customize.php'; ?&gt;\" class=\"quick-action-button\"&gt;\r\n          &lt;span class=\"dashicons-before dashicons-admin-customizer\"&gt;&lt;\/span&gt;\r\n          \u30b5\u30a4\u30c8\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\r\n        &lt;\/a&gt;\r\n      &lt;\/li&gt;\r\n    &lt;?php endif; ?&gt;\r\n  &lt;\/ul&gt;\r\n  &lt;?php\r\n}<\/code><\/pre>\n<p>\u300c\u30b5\u30a4\u30c8\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u300d\u30dc\u30bf\u30f3\u3092<code>if ( current_user_can( 'administrator' ) )<\/code>\u3067\u62ec\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u7ba1\u7406\u8005\u6a29\u9650\u3092\u4e0e\u3048\u3089\u308c\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306b\u306e\u307f\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u9650\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>CSS\u306f\u300cdashboard.css\u300d\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u30b9\u30bf\u30a4\u30eb\u3092\u8a18\u8ff0\u3057\u307e\u3057\u3087\u3046\u3002<code>functions.php<\/code>\u3067\u4ee5\u4e0b\u306e\u3088\u3046<code>admin_print_styles-index.php<\/code>\u3068\u3044\u3046\u30d5\u30c3\u30af\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3067\u3060\u3051\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function enqueue_dashboard_styles() {\r\n\u00a0 wp_enqueue_style( 'dashboard_styles', get_template_directory_uri() . '\/assets\/css\/dashboard.css' );\r\n}\r\nadd_action( 'admin_print_styles-index.php', 'enqueue_dashboard_styles' );\r\n<\/code><\/pre>\n<p>\u3053\u3053\u307e\u3067\u306e\u4f5c\u696d\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8HTML\u8ffd\u52a0\u5f8c.png\" alt=\"\" width=\"720\" height=\"362\" \/><\/p>\n<p>\u6700\u5f8c\u306b\u3001\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306b\u8868\u793a\u3057\u3066\u304a\u304f\u3068\u4fbf\u5229\u306a\u5404\u7a2e\u8a2d\u5b9a\u753b\u9762\u3078\u306e\u30ea\u30f3\u30af\u3092\u53c2\u8003\u307e\u3067\u306b\u8868\u306b\u307e\u3068\u3081\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<table class=\"-horizontal\">\n<tbody>\n<tr>\n<th>\u6295\u7a3f\uff1e\u65b0\u898f\u8ffd\u52a0<\/th>\n<td>admin_url() . &#8216;post-new.php&#8217;<\/td>\n<\/tr>\n<tr>\n<th>\u30e6\u30fc\u30b6\u30fc\uff1e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb<\/th>\n<td>admin_url() . &#8216;profile.php&#8217;<\/td>\n<\/tr>\n<tr>\n<th>\u5916\u89b3\uff1e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/th>\n<td>admin_url() . &#8216;customize.php&#8217;<\/td>\n<\/tr>\n<tr>\n<th>\u5916\u89b3\uff1e\u30e1\u30cb\u30e5\u30fc<\/th>\n<td>admin_url() . &#8216;customize.php?autofocus[panel]=nav_menus&#8217;<\/td>\n<\/tr>\n<tr>\n<th>\u6295\u7a3f\uff1e\u6295\u7a3f\u4e00\u89a7<\/th>\n<td>admin_url() . &#8216;edit.php&#8217;<\/td>\n<\/tr>\n<tr>\n<th>\u8a2d\u5b9a\uff1e\u4e00\u822c<\/th>\n<td>admin_url() . &#8216;options-general.php&#8217;<\/td>\n<\/tr>\n<tr>\n<th>\u8a2d\u5b9a\uff1e\u6295\u7a3f\u8a2d\u5b9a<\/th>\n<td>admin_url() . &#8216;options-writing.php&#8217;<\/td>\n<\/tr>\n<tr>\n<th>\u8a2d\u5b9a\uff1e\u8868\u793a\u8a2d\u5b9a<\/th>\n<td>admin_url() . &#8216;options-reading.php&#8217;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae7-%e6%8a%95%e7%a8%bf%e3%82%92%e3%83%89%e3%83%a9%e3%83%83%e3%82%b0%ef%bc%86%e3%83%89%e3%83%ad%e3%83%83%e3%83%97%e3%81%a7%e4%b8%a6%e3%81%b9%e6%9b%bf%e3%81%88%e3%82%89%e3%82%8c%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e7. \u6295\u7a3f\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3067\u4e26\u3079\u66ff\u3048\u3089\u308c\u308b\u3088\u3046\u306b\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u4e26\u3079\u66ff\u3048DD.gif\" alt=\"\" width=\"860\" height=\"396\" \/><\/p>\n<p>\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u4e0a\u3067\u6295\u7a3f\u3092\u4efb\u610f\u306e\u9806\u5e8f\u3067\u8868\u793a\u3059\u308b\u5834\u5408\u3001\u7ba1\u7406\u753b\u9762\u306e\u6295\u7a3f\u4e00\u89a7\u306e\u4e26\u3073\u9806\u3092\u53cd\u6620\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u65e5\u4ed8\u3067\u30bd\u30fc\u30c8\u3055\u308c\u3001\u4e26\u3079\u66ff\u3048\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u3053\u3053\u3067\u306f\u6295\u7a3f\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3067\u4e26\u3079\u66ff\u3048\u3089\u308c\u308b\u3088\u3046\u306b\u300c<a href=\"https:\/\/wordpress.org\/plugins\/intuitive-custom-post-order\/\" target=\"_blank\" rel=\"noopener noreferrer\">Intuitive Custom Post Order<\/a>\u300d\u3068\u3044\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u300c\u8a2d\u5b9a\uff1e\u4e26\u3079\u66ff\u3048\u8a2d\u5b9a\u300d\u3067\u4e26\u3079\u66ff\u3048\u3092\u6709\u52b9\u5316\u3057\u305f\u3044\u6295\u7a3f\u306b\u30c1\u30a7\u30c3\u30af\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u4e26\u3079\u66ff\u3048\u8a2d\u5b9a-1.png\" alt=\"\" width=\"720\" height=\"653\" \/><\/p>\n<p>\u6709\u52b9\u5316\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6295\u7a3f\u4e00\u89a7\u753b\u9762\u3067\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3067\u6295\u7a3f\u3092\u4e26\u3079\u66ff\u3048\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae8-%e6%8a%95%e7%a8%bf%e3%82%92%e8%a4%87%e8%a3%bd%e3%81%a7%e3%81%8d%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e8. \u6295\u7a3f\u3092\u8907\u88fd\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4f5c\u6210\u6e08\u307f\u306e\u6295\u7a3f\u3092\u8907\u88fd\u3057\u3066\u3001\u305d\u308c\u3092\u30d9\u30fc\u30b9\u306b\u5225\u306e\u6295\u7a3f\u3092\u4f5c\u6210\u3057\u305f\u3044\u3068\u3044\u3046\u5834\u9762\u306f\u610f\u5916\u3068\u591a\u3044\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u30d7\u30e9\u30b0\u30a4\u30f3\u300c<a href=\"https:\/\/ja.wordpress.org\/plugins\/duplicate-post\/\" target=\"_blank\" rel=\"noopener noreferrer\">Yoast Duplicate Post<\/a>\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u8907\u88fd\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u6295\u7a3f\u4e00\u89a7\u753b\u9762\u3067\u8907\u88fd\u3057\u305f\u3044\u6295\u7a3f\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u5408\u308f\u305b\u3066\u300c\u8907\u88fd\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3060\u3051\u3067\u6295\u7a3f\u304c\u8907\u88fd\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u8907\u88fd.png\" alt=\"\" width=\"548\" height=\"125\" \/><\/p>\n<p>\u3061\u306a\u307f\u306b\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u3067\u306f\u8907\u88fd\u3092\u6709\u52b9\u5316\u3059\u308b\u8a2d\u5b9a\u3092\u884c\u308f\u306a\u3044\u3068\u8907\u88fd\u3067\u304d\u307e\u305b\u3093\u3002\u8a2d\u5b9a\uff1eDuplicate Post\u304b\u3089\u8a2d\u5b9a\u753b\u9762\u3092\u958b\u304d\u3001\u300c\u6a29\u9650\u300d\u306e\u30bf\u30d6\u306e\u300c\u3053\u308c\u3089\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u5bfe\u3057\u3066\u6709\u52b9\u5316\u300d\u3067\u8907\u88fd\u6a5f\u80fd\u3092\u6709\u52b9\u5316\u3057\u305f\u3044\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u306b\u30c1\u30a7\u30c3\u30af\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u8907\u88fd\u8a2d\u5b9a-1.png\" alt=\"\" width=\"720\" height=\"582\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae9-%e3%83%96%e3%83%ad%e3%83%83%e3%82%af%e3%82%a8%e3%83%87%e3%82%a3%e3%82%bf%e3%83%bc%e3%81%abcss%e3%82%92%e9%81%a9%e7%94%a8%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e9. \u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306bCSS\u3092\u9069\u7528\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/CSS\u304c\u9069\u7528\u3055\u308c\u305f\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u56f3.png\" alt=\"\" width=\"720\" height=\"515\" \/><\/p>\n<p>\u30a8\u30c7\u30a3\u30bf\u30fc\u5185\u90e8\u306bCSS\u3092\u9069\u7528\u3059\u308b\u5834\u5408\u306f<code>enqueue_block_editor_assets<\/code>\u3068\u3044\u3046\u30d5\u30c3\u30af\u3092\u5229\u7528\u3057\u307e\u3059\u3002\u8aad\u307f\u8fbc\u307f\u81ea\u4f53\u306f<code>wp_enqueue_style()<\/code>\u3068\u3044\u3046\u95a2\u6570\u3092\u7528\u3044\u307e\u3059\u3002\u5f15\u6570\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function add_my_editor_styles() {\r\n\u00a0 wp_enqueue_style(\r\n    'editor-style', \/\/ \u30cf\u30f3\u30c9\u30eb\u540d\r\n    get_template_directory_uri() . '\/assets\/css\/editor_style.css' ); \/\/ CSS\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\r\n}\r\nadd_action( 'enqueue_block_editor_assets', 'add_my_editor_styles' );\r\n<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae10-%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%81%abcss%e3%82%92%e9%81%a9%e7%94%a8%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e10. \u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306bCSS\u3092\u9069\u7528\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/CSS\u304c\u9069\u7528\u3055\u308c\u305f\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u56f3-1.png\" alt=\"\" width=\"720\" height=\"546\" \/><\/p>\n<p>\u6295\u7a3f\u753b\u9762\u306e\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u898b\u3084\u3059\u304f\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u5165\u529b\u5fc5\u9808\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u64ec\u4f3c\u8981\u7d20\u3092\u99c6\u4f7f\u3057\u3066\u76ee\u7acb\u3064\u3088\u3046\u306b\u3059\u308b\u306e\u3082\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u6295\u7a3f\u306e\u7de8\u96c6\u753b\u9762\u3060\u3051\u306b\u9650\u5b9a\u3057\u3066CSS\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>functions.php<\/code>\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function enqueue_post_styles() {\r\n  global $pagenow;\r\n  if ( $pagenow == 'post.php' || $pagenow == 'post-new.php' || $pagenow == 'edit.php' ) {\r\n    wp_enqueue_style(\r\n      'post_styles', \/\/ \u30cf\u30f3\u30c9\u30eb\u540d\r\n      get_template_directory_uri() . '\/assets\/css\/post.css' \/\/ CSS\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\r\n    );\r\n  }\r\n}\r\nadd_action( 'admin_enqueue_scripts', 'enqueue_post_styles' );\r\n<\/code><\/pre>\n<p><code>$pagenow<\/code>\u3068\u3044\u3046\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3067\u5224\u5225\u3057\u307e\u3059\u3002\u3053\u306e\u5909\u6570\u306b\u306f\u8868\u793a\u753b\u9762\u306eURL\u672b\u5c3e\u304c\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u6295\u7a3f\u753b\u9762\u3067\u3042\u308c\u3070\u300cpost.php\u300d\u300cpost-new.php\u300d\u300cedit.php\u300d\u3068\u306a\u308b\u306e\u3067\u3044\u305a\u308c\u304b\u306b\u8a72\u5f53\u3057\u305f\u5834\u5408\u306bCSS\u306e\u8aad\u307f\u8fbc\u307f\u51e6\u7406\u3092\u884c\u3046\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u30d5\u30c3\u30af\u3092\u4f7f\u3044\u5206\u3051\u3066\u753b\u9762\u3054\u3068\u306b\u51e6\u7406\u3092\u9650\u5b9a\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<code>admin_print_styles-****.php<\/code>\u3068\u3044\u3046\u3088\u3046\u306b\u30d5\u30c3\u30af\u540d\u306e\u672b\u5c3e\u306b\u8aad\u307f\u8fbc\u307e\u305b\u305f\u3044\u30da\u30fc\u30b8\u306eURL\u672b\u5c3e\u3092\u3064\u306a\u3052\u3066\u4f7f\u3044\u307e\u3059\u3002\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u30d5\u30c3\u30af\u3067\u9650\u5b9a\u3059\u308b\u65b9\u6cd5\u306b\u66f8\u304d\u63db\u3048\u308b\u3068\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function enqueue_post_styles() {\r\n  wp_enqueue_style(\r\n    'post_styles', \/\/ \u30cf\u30f3\u30c9\u30eb\u540d\r\n    get_template_directory_uri() . '\/assets\/css\/post.css' \/\/ CSS\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\r\n  );\r\n}\r\nadd_action( 'admin_print_styles-post.php', 'enqueue_post_styles' );\r\nadd_action( 'admin_print_styles-post-new.php', 'enqueue_post_styles' );\r\nadd_action( 'admin_print_styles-edit.php', 'enqueue_post_styles' );\r\n<\/code><\/pre>\n<p>\u3042\u3068\u306f\u8aad\u307f\u8fbc\u3093\u3060<code>post.css<\/code>\u306b\u30b9\u30bf\u30a4\u30eb\u3092\u8a18\u8ff0\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u4f7f\u7528\u3059\u308b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u3088\u3063\u3066HTML\u69cb\u9020\u306f\u7570\u306a\u308b\u306e\u3067\u5177\u4f53\u7684\u306a\u30b9\u30bf\u30a4\u30eb\u306e\u8a18\u8ff0\u306f\u5272\u611b\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u3053\u306e\u65b9\u6cd5\u3092\u4f7f\u3048\u3070\u7ba1\u7406\u753b\u9762\u306e\u3042\u3089\u3086\u308b\u5834\u6240\u306bCSS\u3092\u9069\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u306e\u3067\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30b9\u30bf\u30a4\u30eb\u306e\u8abf\u6574\u3092\u884c\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae11-%e3%82%a8%e3%83%87%e3%82%a3%e3%82%bf%e3%83%bc%e3%81%ae%e8%87%aa%e5%8b%95%e4%bf%9d%e5%ad%98%e6%99%82%e9%96%93%e3%82%92%e5%bb%b6%e9%95%b7%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e11. \u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u81ea\u52d5\u4fdd\u5b58\u6642\u9593\u3092\u5ef6\u9577\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u81ea\u52d5\u4fdd\u5b58\u30a2\u30e9\u30fc\u30c8-1.png\" alt=\"\" width=\"720\" height=\"448\" \/><\/p>\n<p>\u6295\u7a3f\u3092\u7de8\u96c6\u3057\u3066\u3044\u308b\u3068\u66f4\u65b0\u30dc\u30bf\u30f3\u3092\u62bc\u3055\u306a\u304f\u3066\u3082\u81ea\u52d5\u4fdd\u5b58\u6a5f\u80fd\u306b\u3088\u3063\u306610\u79d2\u3054\u3068\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u4e00\u898b\u89aa\u5207\u306a\u6a5f\u80fd\u306a\u306e\u3067\u3059\u304c\u3001\u4f59\u8a08\u306b\u30ea\u30d3\u30b8\u30e7\u30f3\uff08\u4fdd\u5b58\u3059\u308b\u3054\u3068\u306b\u5fa9\u5143\u7528\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3059\u308b\u6a5f\u80fd\uff09\u304c\u4f5c\u6210\u3055\u308c\u3001\u4e0a\u90e8\u306b\u300c\u65b0\u3057\u3044\u30ea\u30d3\u30b8\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u300d\u306a\u3069\u306e\u901a\u77e5\u304c\u51fa\u3066\u9b31\u9676\u3057\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>functions.php<\/code>\u306b\u8a18\u8ff0\u3057\u3066\u81ea\u52d5\u4fdd\u5b58\u306e\u9593\u9694\u3092\u5ef6\u9577\u3057\u3001\u4e8b\u5b9f\u4e0a\u7121\u52b9\u306b\u3059\u308b\u306e\u304c\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-php\">function change_autosave_interval( $editor_settings ) {\r\n\u00a0 $editor_settings[ 'autosaveInterval' ] = 3600; \/\/ 3600\u79d2=1\u6642\u9593\r\n\u00a0 return $editor_settings;\r\n}\r\nadd_filter( 'block_editor_settings', 'change_autosave_interval' );\r\n<\/code><\/pre>\n<p><code>block_editor_settings<\/code>\u30d5\u30c3\u30af\u3092\u5229\u7528\u3057\u3001\u5f15\u6570\u306e\u914d\u5217<code>$editor_settings<\/code>\u306e<code>autosaveInterval<\/code>\u306e\u5024\u3092\u4e0a\u66f8\u304d\u3057\u307e\u3059\u3002\u5358\u4f4d\u306f\u79d2\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae12-%e4%b8%8d%e8%a6%81%e3%81%aa%e3%83%96%e3%83%ad%e3%83%83%e3%82%af%e3%82%92%e4%b8%80%e8%a6%a7%e3%81%8b%e3%82%89%e9%9d%9e%e8%a1%a8%e7%a4%ba%e3%81%ab%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e12. \u4e0d\u8981\u306a\u30d6\u30ed\u30c3\u30af\u3092\u4e00\u89a7\u304b\u3089\u975e\u8868\u793a\u306b\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u65b0\u898f\u30d6\u30ed\u30c3\u30af\u4e00\u89a7.png\" alt=\"\" width=\"333\" height=\"733\" \/><\/p>\n<p>\u8ffd\u52a0\u3059\u308b\u30d6\u30ed\u30c3\u30af\u4e00\u89a7\u306b\u306f\u4f7f\u308f\u306a\u3044\u3088\u3046\u306a\u3082\u306e\u3082\u591a\u304f\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30b9\u30bf\u30a4\u30eb\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u306a\u304f\u3066\u4f7f\u3048\u306a\u3044\u30d6\u30ed\u30c3\u30af\u306f\u975e\u8868\u793a\u306b\u3057\u305f\u65b9\u304c\u3059\u3063\u304d\u308a\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u3082\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u7279\u5b9a\u306e\u30d6\u30ed\u30c3\u30af\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u306b\u306fJS\u3067\u975e\u8868\u793a\u306b\u3059\u308b\u30d6\u30ed\u30c3\u30af\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f<code>remove-block.js<\/code>\u3068\u3044\u3046JS\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u305d\u308c\u3092<code>functions.php<\/code>\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function enqueue_custom_script() {\r\n  wp_enqueue_script(\r\n    'remove_block', \/\/ \u30cf\u30f3\u30c9\u30eb\u540d\r\n    get_template_directory_uri() . '\/js\/remove-block.js', \/\/ JS\u306e\u30d1\u30b9\r\n    array() \/\/ \u4f9d\u5b58\u95a2\u4fc2\u306e\u30b9\u30af\u30ea\u30d7\u30c8\uff08jQuery\u306a\u3069\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u6307\u5b9a\u53ef\uff09\r\n  );\r\n}\r\nadd_action( 'enqueue_block_editor_assets', 'enqueue_custom_script' );<\/code><\/pre>\n<p><code>enqueue_block_editor_assets<\/code>\u3068\u3044\u3046\u30d5\u30c3\u30af\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306bJS\u3092\u8aad\u307f\u8fbc\u3081\u307e\u3059\u3002\u8aad\u307f\u8fbc\u3093\u3060<code>remove-block.js<\/code>\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u975e\u8868\u793a\u306b\u3059\u308b\u30d6\u30ed\u30c3\u30af\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-js\">wp.domReady(() =&gt; {\r\n  \/\/ \u901a\u5e38\u30d6\u30ed\u30c3\u30af\r\n  wp.blocks.unregisterBlockType( 'core\/paragraph' ); \/\/ \u6bb5\u843d\r\n  wp.blocks.unregisterBlockType( 'core\/heading' ); \/\/ \u898b\u51fa\u3057\r\n  ...\r\n\r\n  \/\/ \u57cb\u3081\u8fbc\u307f\u30d6\u30ed\u30c3\u30af\r\n  wp.blocks.unregisterBlockVariation( 'core\/embed', 'youtube' ); \/\/ Youtube\r\n  ...\r\n});\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306b\u300c\u901a\u5e38\u306e\u30d6\u30ed\u30c3\u30af\u300d\u3068\u300c\u57cb\u3081\u8fbc\u307f\u30d6\u30ed\u30c3\u30af\u300d\u3067\u7528\u3044\u308b\u95a2\u6570\u3068\u5f15\u6570\u306e\u5f62\u5f0f\u304c\u7570\u306a\u308a\u307e\u3059\u3002\u3069\u3093\u306a\u5f15\u6570\u3092\u6e21\u305b\u3070\u305d\u308c\u305e\u308c\u306e\u30d6\u30ed\u30c3\u30af\u3092\u975e\u8868\u793a\u306b\u3067\u304d\u308b\u304b\u306f\u4ee5\u4e0b\u306e\u8868\u306b\u307e\u3068\u3081\u3066\u3044\u308b\u306e\u3067\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u306a\u304a\u3001\u57cb\u3081\u8fbc\u307f\u30d6\u30ed\u30c3\u30af\u3092\u975e\u8868\u793a\u306b\u3059\u308b<code>unregisterBlockVariation()<\/code>\u306f\u7b2c\u4e00\u5f15\u6570<code>core\/embed<\/code>\u306f\u5e38\u306b\u56fa\u5b9a\u3067\u3001\u7b2c\u4e8c\u5f15\u6570\u3060\u3051\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<h4>\u30c6\u30ad\u30b9\u30c8<\/h4>\n<table class=\"-horizontal\">\n<thead>\n<tr>\n<th>\u30d6\u30ed\u30c3\u30af\u540d<\/th>\n<th>\u30ad\u30fc\u540d<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u6bb5\u843d<\/th>\n<td>core\/paragraph<\/td>\n<\/tr>\n<tr>\n<th>\u898b\u51fa\u3057<\/th>\n<td>core\/heading<\/td>\n<\/tr>\n<tr>\n<th>\u30ea\u30b9\u30c8<\/th>\n<td>core\/list<\/td>\n<\/tr>\n<tr>\n<th>\u5f15\u7528<\/th>\n<td>core\/quote<\/td>\n<\/tr>\n<tr>\n<th>\u30af\u30e9\u30b7\u30c3\u30af<\/th>\n<td>core\/freeform<\/td>\n<\/tr>\n<tr>\n<th>\u30b3\u30fc\u30c9<\/th>\n<td>core\/code<\/td>\n<\/tr>\n<tr>\n<th>\u6574\u5f62\u6e08\u307f\u30c6\u30ad\u30b9\u30c8<\/th>\n<td>core\/preformatted<\/td>\n<\/tr>\n<tr>\n<th>\u30d7\u30eb\u30af\u30aa\u30fc\u30c8<\/th>\n<td>core\/pullquote<\/td>\n<\/tr>\n<tr>\n<th>\u30c6\u30fc\u30d6\u30eb<\/th>\n<td>core\/table<\/td>\n<\/tr>\n<tr>\n<th>\u8a69<\/th>\n<td>core\/verse<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u30e1\u30c7\u30a3\u30a2<\/h4>\n<table class=\"-horizontal\">\n<thead>\n<tr>\n<th>\u30d6\u30ed\u30c3\u30af\u540d<\/th>\n<th>\u30ad\u30fc\u540d<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u753b\u50cf<\/th>\n<td>core\/image<\/td>\n<\/tr>\n<tr>\n<th>\u30ae\u30e3\u30e9\u30ea\u30fc<\/th>\n<td>core\/gallery<\/td>\n<\/tr>\n<tr>\n<th>\u97f3\u58f0<\/th>\n<td>core\/audio<\/td>\n<\/tr>\n<tr>\n<th>\u30ab\u30d0\u30fc<\/th>\n<td>core\/cover<\/td>\n<\/tr>\n<tr>\n<th>\u30d5\u30a1\u30a4\u30eb<\/th>\n<td>core\/file<\/td>\n<\/tr>\n<tr>\n<th>\u30e1\u30c7\u30a3\u30a2\u3068\u30c6\u30ad\u30b9\u30c8<\/th>\n<td>core\/media-text<\/td>\n<\/tr>\n<tr>\n<th>\u52d5\u753b<\/th>\n<td>core\/video<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u30c7\u30b6\u30a4\u30f3<\/h4>\n<table class=\"-horizontal\">\n<thead>\n<tr>\n<th>\u30d6\u30ed\u30c3\u30af\u540d<\/th>\n<th>\u30ad\u30fc\u540d<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u30dc\u30bf\u30f3<\/th>\n<td>core\/buttons<\/td>\n<\/tr>\n<tr>\n<th>\u30ab\u30e9\u30e0<\/th>\n<td>core\/columns<\/td>\n<\/tr>\n<tr>\n<th>\u30b0\u30eb\u30fc\u30d7<\/th>\n<td>core\/group<\/td>\n<\/tr>\n<tr>\n<th>\u884c<\/th>\n<td>core\/group-row<\/td>\n<\/tr>\n<tr>\n<th>\u7d9a\u304d<\/th>\n<td>core\/more<\/td>\n<\/tr>\n<tr>\n<th>\u30da\u30fc\u30b8\u533a\u5207\u308a<\/th>\n<td>core\/nextpage<\/td>\n<\/tr>\n<tr>\n<th>\u533a\u5207\u308a<\/th>\n<td>core\/separator<\/td>\n<\/tr>\n<tr>\n<th>\u30b9\u30da\u30fc\u30b5\u30fc<\/th>\n<td>core\/spacer<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8<\/h4>\n<table class=\"-horizontal\">\n<thead>\n<tr>\n<th>\u30d6\u30ed\u30c3\u30af\u540d<\/th>\n<th>\u30ad\u30fc\u540d<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u30a2\u30fc\u30ab\u30a4\u30d6<\/th>\n<td>core\/archives<\/td>\n<\/tr>\n<tr>\n<th>\u30ab\u30ec\u30f3\u30c0\u30fc<\/th>\n<td>core\/calendar<\/td>\n<\/tr>\n<tr>\n<th>\u30ab\u30c6\u30b4\u30ea\u30fc<\/th>\n<td>core\/categories<\/td>\n<\/tr>\n<tr>\n<th>\u30ab\u30b9\u30bf\u30e0HTML<\/th>\n<td>core\/html<\/td>\n<\/tr>\n<tr>\n<th>\u6700\u65b0\u306e\u30b3\u30e1\u30f3\u30c8<\/th>\n<td>core\/latest-comments<\/td>\n<\/tr>\n<tr>\n<th>\u6700\u65b0\u306e\u6295\u7a3f<\/th>\n<td>core\/latest-posts<\/td>\n<\/tr>\n<tr>\n<th>\u56fa\u5b9a\u30da\u30fc\u30b8\u30ea\u30b9\u30c8<\/th>\n<td>core\/page-list<\/td>\n<\/tr>\n<tr>\n<th>RSS<\/th>\n<td>core\/rss<\/td>\n<\/tr>\n<tr>\n<th>\u691c\u7d22<\/th>\n<td>core\/search<\/td>\n<\/tr>\n<tr>\n<th>\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9<\/th>\n<td>core\/shortcode<\/td>\n<\/tr>\n<tr>\n<th>\u30bd\u30fc\u30b7\u30e3\u30eb\u30a2\u30a4\u30b3\u30f3<\/th>\n<td>core\/social-links<\/td>\n<\/tr>\n<tr>\n<th>\u30bf\u30b0\u30af\u30e9\u30a6\u30c9<\/th>\n<td>core\/tag-cloud<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u30c6\u30fc\u30de<\/h4>\n<table class=\"-horizontal\">\n<thead>\n<tr>\n<th>\u30d6\u30ed\u30c3\u30af\u540d<\/th>\n<th>\u30ad\u30fc\u540d<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3<\/th>\n<td>core\/navigation<\/td>\n<\/tr>\n<tr>\n<th>\u30b5\u30a4\u30c8\u30ed\u30b4<\/th>\n<td>core\/site-logo<\/td>\n<\/tr>\n<tr>\n<th>\u30b5\u30a4\u30c8\u306e\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>core\/site-title<\/td>\n<\/tr>\n<tr>\n<th>\u30b5\u30a4\u30c8\u306e\u30ad\u30e3\u30c3\u30c1\u30d5\u30ec\u30fc\u30ba<\/th>\n<td>core\/site-tagline<\/td>\n<\/tr>\n<tr>\n<th>\u6295\u7a3f\u4e00\u89a7<\/th>\n<td>core\/query<\/td>\n<\/tr>\n<tr>\n<th>\u6295\u7a3f\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>core\/post-title<\/td>\n<\/tr>\n<tr>\n<th>\u6295\u7a3f\u306e\u629c\u7c8b<\/th>\n<td>core\/post-excerpt<\/td>\n<\/tr>\n<tr>\n<th>\u6295\u7a3f\u306e\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf<\/th>\n<td>core\/post-featured-image<\/td>\n<\/tr>\n<tr>\n<th>\u6295\u7a3f\u30b3\u30f3\u30c6\u30f3\u30c4<\/th>\n<td>core\/post-content<\/td>\n<\/tr>\n<tr>\n<th>\u6295\u7a3f\u8005<\/th>\n<td>core\/post-author<\/td>\n<\/tr>\n<tr>\n<th>\u6295\u7a3f\u65e5<\/th>\n<td>core\/post-date<\/td>\n<\/tr>\n<tr>\n<th>\u6295\u7a3f\u30ab\u30c6\u30b4\u30ea\u30fc<\/th>\n<td>core\/post-terms<br \/>\n\u203b\u300c\u6295\u7a3f\u30bf\u30b0\u300d\u3082\u540c\u6642\u306b\u975e\u8868\u793a\u306b\u306a\u308a\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<th>\u6295\u7a3f\u30bf\u30b0<\/th>\n<td>core\/post-terms<br \/>\n\u203b\u300c\u6295\u7a3f\u30ab\u30c6\u30b4\u30ea\u30fc\u300d\u3082\u540c\u6642\u306b\u975e\u8868\u793a\u306b\u306a\u308a\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<th>\u6b21\u306e\u6295\u7a3f<\/th>\n<td>core\/post-navigation-link<br \/>\n\u203b\u300c\u524d\u306e\u6295\u7a3f\u300d\u3082\u540c\u6642\u306b\u975e\u8868\u793a\u306b\u306a\u308a\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<th>\u524d\u306e\u6295\u7a3f<\/th>\n<td>core\/post-navigation-link<br \/>\n\u203b\u300c\u6b21\u306e\u6295\u7a3f\u300d\u3082\u540c\u6642\u306b\u975e\u8868\u793a\u306b\u306a\u308a\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<th>\u6295\u7a3f\u30b3\u30e1\u30f3\u30c8<\/th>\n<td>core\/post-comments<\/td>\n<\/tr>\n<tr>\n<th>\u30ed\u30b0\u30a4\u30f3 \/ \u30ed\u30b0\u30a2\u30a6\u30c8<\/th>\n<td>core\/loginout<\/td>\n<\/tr>\n<tr>\n<th>\u30bf\u30fc\u30e0\u306e\u8aac\u660e<\/th>\n<td>core\/term-description<\/td>\n<\/tr>\n<tr>\n<th>\u30a2\u30fc\u30ab\u30a4\u30d6\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>core\/query-title<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u57cb\u3081\u8fbc\u307f<\/h4>\n<table class=\"-horizontal\">\n<thead>\n<tr>\n<th>\u30d6\u30ed\u30c3\u30af\u540d<\/th>\n<th>\u30ad\u30fc\u540d<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<th>\u57cb\u3081\u8fbc\u307f<\/th>\n<td>\u203b\u300c\u57cb\u3081\u8fbc\u307f\u300d\u30d6\u30ed\u30c3\u30af\u3060\u3051\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u65b9\u6cd5\u306f\u306a\u3044\u3088\u3046\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<th>Twitter<\/th>\n<td>twitter<\/td>\n<\/tr>\n<tr>\n<th>YouTube<\/th>\n<td>youtube<\/td>\n<\/tr>\n<tr>\n<th>WordPress<\/th>\n<td>wordpress<\/td>\n<\/tr>\n<tr>\n<th>SoundCloud<\/th>\n<td>soundcloud<\/td>\n<\/tr>\n<tr>\n<th>Spotify<\/th>\n<td>spotify<\/td>\n<\/tr>\n<tr>\n<th>Flickr<\/th>\n<td>flickr<\/td>\n<\/tr>\n<tr>\n<th>Vimeo<\/th>\n<td>vimeo<\/td>\n<\/tr>\n<tr>\n<th>Animoto<\/th>\n<td>animoto<\/td>\n<\/tr>\n<tr>\n<th>Cloudup<\/th>\n<td>cloudup<\/td>\n<\/tr>\n<tr>\n<th>Crowdsignal<\/th>\n<td>crowdsignal<\/td>\n<\/tr>\n<tr>\n<th>Dailymotion<\/th>\n<td>dailymotion<\/td>\n<\/tr>\n<tr>\n<th>Imgur<\/th>\n<td>imgur<\/td>\n<\/tr>\n<tr>\n<th>Issuu<\/th>\n<td>issuu<\/td>\n<\/tr>\n<tr>\n<th>Kickstarter<\/th>\n<td>kickstarter<\/td>\n<\/tr>\n<tr>\n<th>Mixcloud<\/th>\n<td>mixcloud<\/td>\n<\/tr>\n<tr>\n<th>Reddit<\/th>\n<td>reddit<\/td>\n<\/tr>\n<tr>\n<th>ReverbNation<\/th>\n<td>reverbnation<\/td>\n<\/tr>\n<tr>\n<th>Screencast<\/th>\n<td>screencast<\/td>\n<\/tr>\n<tr>\n<th>Scribd<\/th>\n<td>scribd<\/td>\n<\/tr>\n<tr>\n<th>Slideshare<\/th>\n<td>slideshare<\/td>\n<\/tr>\n<tr>\n<th>SmugMug<\/th>\n<td>smugmug<\/td>\n<\/tr>\n<tr>\n<th>Speaker Deck<\/th>\n<td>speaker-deck<\/td>\n<\/tr>\n<tr>\n<th>TikTok<\/th>\n<td>tiktok<\/td>\n<\/tr>\n<tr>\n<th>TED<\/th>\n<td>ted<\/td>\n<\/tr>\n<tr>\n<th>Tumblr<\/th>\n<td>tumblr<\/td>\n<\/tr>\n<tr>\n<th>VideoPress<\/th>\n<td>videopress<\/td>\n<\/tr>\n<tr>\n<th>WordPress.tv<\/th>\n<td>wordpress-tv<\/td>\n<\/tr>\n<tr>\n<th>Amazon Kindle<\/th>\n<td>amazon-kindle<\/td>\n<\/tr>\n<tr>\n<th>Pinterest<\/th>\n<td>pinterest<\/td>\n<\/tr>\n<tr>\n<th>Wolfram Cloud<\/th>\n<td>wolfram-cloud<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae13-%e7%b9%b0%e3%82%8a%e8%bf%94%e3%81%97%e4%bd%bf%e3%81%86%e3%83%91%e3%83%bc%e3%83%84%e3%82%92%e5%86%8d%e5%88%a9%e7%94%a8%e3%83%96%e3%83%ad%e3%83%83%e3%82%af%e3%81%a8%e3%81%97%e3%81%a6%e7%99%bb%e9%8c%b2%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e13. \u7e70\u308a\u8fd4\u3057\u4f7f\u3046\u30d1\u30fc\u30c4\u3092\u518d\u5229\u7528\u30d6\u30ed\u30c3\u30af\u3068\u3057\u3066\u767b\u9332\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u300c\u518d\u5229\u7528\u30d6\u30ed\u30c3\u30af\u300d\u3068\u3044\u3046\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308b\u3068\u3001\u8907\u6570\u306e\u30da\u30fc\u30b8\u306b\u767b\u5834\u3059\u308b\u3088\u3046\u306a\u30d1\u30fc\u30c4\u3092\u7e70\u308a\u8fd4\u3057\u4f7f\u3048\u308b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3068\u3057\u3066\u767b\u9332\u3057\u3001\u4e2d\u306e\u6587\u7ae0\u3084\u753b\u50cf\u3060\u3051\u66f8\u304d\u63db\u3048\u3066\u4f55\u5ea6\u3082\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5439\u304d\u51fa\u3057\u306e\u30d1\u30fc\u30c4\u3092\u518d\u5229\u7528\u30d6\u30ed\u30c3\u30af\u3068\u3057\u3066\u767b\u9332\u3059\u308b\u3068\u30a8\u30c7\u30a3\u30bf\u30fc\u4e0a\u3067\u753b\u50cf\u3084\u6587\u7ae0\u3092\u5dee\u3057\u66ff\u3048\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/1_finish.png\" alt=\"\" width=\"860\" height=\"258\" \/><\/p>\n<p>\u30a8\u30c7\u30a3\u30bf\u30fc\u4e0a\u3067\u30d6\u30ed\u30c3\u30af\u3092\u7d44\u307f\u5408\u308f\u305b\u3066CSS\u306e\u30af\u30e9\u30b9\u540d\u3092\u4ed8\u4e0e\u3057\u305f\u308a\u3001\u5c02\u7528\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u8a18\u8ff0\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u304b\u3063\u305f\u308a\u3068\u82e5\u5e72\u624b\u9806\u306f\u591a\u3044\u3067\u3059\u304c\u3001\u305d\u306e\u4e00\u65b9\u3067\u5b9f\u969b\u306e\u30da\u30fc\u30b8\u3067\u306e\u898b\u305f\u76ee\u901a\u308a\u306e\u7de8\u96c6\u304c\u3067\u304d\u308b\u305f\u3081\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u3059\u308b\u3068\u304b\u306a\u308a\u4fbf\u5229\u306a\u6a5f\u80fd\u3067\u3059\u3002\u8a73\u3057\u3044\u624b\u9806\u306f\u4ee5\u524d\u306b\u79c1\u304c\u57f7\u7b46\u3057\u305f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"p-link-module\"><a class=\"p-link-module__inner\" href=\"https:\/\/baigie.me\/officialblog\/2022\/01\/20\/how-to-use-reusable-block\/\" target=\"_blank\" rel=\"noopener noreferrer\"> <span class=\"p-link-module__title\">WordPress\u306e\u30da\u30fc\u30b8\u7de8\u96c6\u3092\u3088\u308a\u52b9\u7387\u5316\u3067\u304d\u308b\u300c\u518d\u5229\u7528\u30d6\u30ed\u30c3\u30af\u6a5f\u80fd\u300d\u3092\u77e5\u3063\u3066\u307e\u3059\u304b\uff1f | knowledge \/ baigie<\/span><span class=\"p-link-module__url\">baigie.me<\/span><\/p>\n<div class=\"p-link-module__img\" style=\"background-image: url('https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/01\/how-to-use-reusable-block.png?1649214558')\"><\/div>\n<p><\/a><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae14-%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e9%9d%9e%e8%a1%a8%e7%a4%ba%e3%81%ab%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e14. \u89aa\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u8a2d\u5b9a\u3092\u975e\u8868\u793a\u306b\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u89aa\u30ab\u30c6\u30b4\u30ea\u30fc-1.png\" alt=\"\" width=\"720\" height=\"517\" \/><\/p>\n<p>\u6295\u7a3f\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u65b0\u898f\u8ffd\u52a0\u30fb\u7de8\u96c6\u3059\u308b\u969b\u3001\u305d\u308c\u305e\u308c\u306b\u89aa\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u89aa\u5b50\u95a2\u4fc2\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u304c\u4e0d\u8981\u306a\u5834\u9762\u3082\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u65b0\u898f\u8ffd\u52a0\u30fb\u7de8\u96c6\u753b\u9762\u306e\u4e21\u65b9\u3067\u89aa\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u8a2d\u5b9a\u3092\u975e\u8868\u793a\u306b\u3057\u307e\u3057\u3087\u3046\u3002\u307e\u305a\u306f<code>functions.php<\/code>\u306bCSS\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function add_edit_tags_page_styles() {\r\n\u00a0 wp_enqueue_style(\r\n    'edit_tags_page_styles', \/\/ \u30cf\u30f3\u30c9\u30eb\u540d\r\n    get_template_directory_uri() . '\/assets\/css\/edit-tags.css' \/\/ CSS\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\r\n  );\r\n}\r\nadd_action( 'admin_print_styles-edit-tags.php', 'add_edit_tags_page_styles' );\r\n<\/code><\/pre>\n<p>\u300c\u305d\u306e10. \u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306bCSS\u3092\u9069\u7528\u3059\u308b\u300d\u3067\u7d39\u4ecb\u3057\u305f\u30d5\u30c3\u30af\u540d\u3067\u7279\u5b9a\u306e\u753b\u9762\u3060\u3051\u3067\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u7528\u3044\u307e\u3059\u3002<code>admin_print_styles-edit-tags.php<\/code>\u3068\u3059\u308b\u3053\u3068\u3067\u30ab\u30c6\u30b4\u30ea\u30fc\u7de8\u96c6\u753b\u9762\uff08URL\u672b\u5c3e\u304c<code>edit-tags.php<\/code>\uff09\u3067\u3060\u3051\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><code>edit-tags.css<\/code>\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b9\u30bf\u30a4\u30eb\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-css\">.form-field.term-parent-wrap {\r\n  display: none;\r\n}\r\n\r\n.form-field.term-description-wrap {\r\n  display: none;\r\n}<\/code><\/pre>\n<p>\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u65b0\u898f\u8ffd\u52a0\u30fb\u7de8\u96c6\u753b\u9762\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5404\u5165\u529b\u9805\u76ee\u306e\u89aa\u8981\u7d20\u306f<code>.form-field<\/code>\u3068\u3044\u3046\u30af\u30e9\u30b9\u304c\u632f\u3089\u308c\u3066\u304a\u308a\u3001\u300c\u89aa\u30ab\u30c6\u30b4\u30ea\u30fc\u300d\u306f<code>.term-parent-wrap<\/code>\u3068\u3044\u3046\u72ec\u81ea\u306e\u30af\u30e9\u30b9\u304c\u632f\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u3053\u308c\u3092\u6307\u5b9a\u3057\u3066\u975e\u8868\u793a\u306b\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u3053\u3053\u3067\u306f\u305d\u306e\u4e0b\u306e\u300c\u8aac\u660e\u300d\u306e\u9805\u76ee\u3082\u540c\u69d8\u306b\u3057\u3066\u975e\u8868\u793a\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u89aa\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u975e\u8868\u793a.png\" alt=\"\" width=\"474\" height=\"361\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae15-%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%81%ab%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e15. \u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u8a2d\u5b9a\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u8a2d\u5b9a\u753b\u9762\u30c8\u30c3\u30d7\u3067\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u4e0b\u3057\u305f\u56f3-1.png\" alt=\"\" width=\"720\" height=\"844\" \/><\/p>\n<p>\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u8a2d\u5b9a\u753b\u9762\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u3053\u3067\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3068\u826f\u3044\u306e\u306f\u30ab\u30c6\u30b4\u30ea\u30fc\u4e00\u89a7\u30da\u30fc\u30b8\u306e\u30bf\u30a4\u30c8\u30eb\u30bf\u30b0\u3068\u3044\u3063\u305f\u8a2d\u5b9a\u5024\u3067\u3057\u3087\u3046\u3002\u6b21\u306e3\u30b9\u30c6\u30c3\u30d7\u3067\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol class=\"-alphabet\">\n<li>\u30ab\u30c6\u30b4\u30ea\u30fc\u65b0\u898f\u8ffd\u52a0\u753b\u9762\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u3059\u308b<\/li>\n<li>\u30ab\u30c6\u30b4\u30ea\u30fc\u7de8\u96c6\u753b\u9762\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u3059\u308b<\/li>\n<li>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u3092\u4fdd\u5b58\u3059\u308b<\/li>\n<\/ol>\n<h3>a. \u30ab\u30c6\u30b4\u30ea\u30fc\u65b0\u898f\u8ffd\u52a0\u753b\u9762\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u3059\u308b<\/h3>\n<p>\u307e\u305a\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u30bb\u30c3\u30c8\u3059\u308b\u60c5\u5831\u3092\u914d\u5217\u5f62\u5f0f\u3067\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30bf\u30a4\u30d7\u3001\u30e9\u30d9\u30eb\u306b\u8868\u793a\u3059\u308b\u6587\u5b57\u5217\u3001\u30b9\u30e9\u30c3\u30b0\u540d\u3001\u8aac\u660e\u6587\u306e4\u3064\u3092\u5b9a\u7fa9\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002\u8907\u6570\u306e\u95a2\u6570\u304b\u3089\u53c2\u7167\u3059\u308b\u306e\u3067\u5171\u901a\u3067\u53c2\u7167\u3067\u304d\u308b\u3068\u3053\u308d\u306b\u5b9a\u7fa9\u3057\u3066\u304a\u304f\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">$custom_field = [\r\n  'type' =&gt; 'text',\r\n  'label' =&gt; '\u30bf\u30a4\u30c8\u30eb\u30bf\u30b0',\r\n  'slug' =&gt; 'term_meta_title',\r\n  'description' =&gt; '\u3053\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u4e00\u89a7\u30da\u30fc\u30b8\u3067\u4f7f\u7528\u3059\u308b\u30bf\u30a4\u30c8\u30eb\u30bf\u30b0\u306e\u5185\u5bb9\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u672a\u5165\u529b\u306e\u5834\u5408\u306f\u30ab\u30c6\u30b4\u30ea\u30fc\u540d\u304c\u81ea\u52d5\u3067\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002'\r\n];<\/code><\/pre>\n<p>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u3059\u3079\u304d\u8a2d\u5b9a\u30da\u30fc\u30b8\u306f\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u300c\u65b0\u898f\u8ffd\u52a0\u753b\u9762\u300d\u3068\u300c\u7de8\u96c6\u753b\u9762\u300d\u306e2\u3064\u304c\u3042\u308a\u307e\u3059\u3002\u7de8\u96c6\u753b\u9762\u3067\u306fDB\u306b\u4fdd\u5b58\u3057\u3066\u3042\u308b\u5024\u304c\u3042\u308b\u304b\u3069\u3046\u304b\u3068\u3044\u3063\u305f\u5224\u5225\u304c\u5fc5\u8981\u3067\u3084\u3084\u3053\u3057\u3044\u306e\u3067\u3001\u307e\u305a\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u69cb\u6210\u306e\u65b0\u898f\u8ffd\u52a0\u753b\u9762\u306b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u3059\u308b\u65b9\u304b\u3089\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u4ee5\u4e0b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-html\">function generate_add_form_term_cf_html( $tag ) {\r\n  global $custom_field;\r\n  $slug = $custom_field[ 'slug' ];\r\n?&gt;\r\n  &lt;div class=\"form-field term-&lt;?php echo $slug; ?&gt;-wrap\"&gt;\r\n    &lt;label for=\"&lt;?php echo $slug; ?&gt;\"&gt;&lt;?php echo $custom_field[ 'label' ]; ?&gt;&lt;\/label&gt;\r\n    &lt;input\r\n      name=\"&lt;?php echo $slug; ?&gt;\"\r\n      id=\"&lt;?php echo $slug; ?&gt;\"\r\n      type=\"text\"\r\n      value=\"\"\r\n      size=\"40\"\r\n    &gt;\r\n    &lt;p&gt;&lt;?php echo $custom_field[ 'description' ]; ?&gt;&lt;\/p&gt;\r\n  &lt;\/div&gt;\r\n&lt;?php\r\n}\r\nadd_action ( 'category_add_form_fields', 'generate_add_form_term_cf_html');<\/code><\/pre>\n<p><code>category_add_form_fields<\/code>\u306b\u30d5\u30c3\u30af\u3057\u3066\u51fa\u529b\u3059\u308bHTML\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002HTML\u69cb\u9020\u306f\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u65b0\u898f\u8ffd\u52a0\u753b\u9762\u306b\u3042\u308b\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u771f\u4f3c\u3066\u3044\u307e\u3059\u3002\u30b7\u30f3\u30d7\u30eb\u306b<code>&lt;label&gt;<\/code>\u3001<code>&lt;input&gt;<\/code>\u3001\u8aac\u660e\u6587\u3092\u8868\u793a\u3059\u308b<code>&lt;p&gt;<\/code>\u3068\u3044\u3046\u69cb\u6210\u3067\u3059\u3002\u5148\u7a0b\u5b9a\u7fa9\u3057\u305f<code>$custom_field<\/code>\u914d\u5217\u306e<code>slug<\/code>\u306e\u5024\u3092\u53c2\u7167\u3057\u3001class\u540d\u3001name\u5c5e\u6027\u3001id\u3068\u3057\u3066\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<h3>b. \u30ab\u30c6\u30b4\u30ea\u30fc\u7de8\u96c6\u753b\u9762\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u3059\u308b<\/h3>\n<p>\u7de8\u96c6\u753b\u9762\u306b\u8868\u793a\u3059\u308bHTML\u3082\u5b9a\u7fa9\u3057\u307e\u3057\u3087\u3046\u3002\u3053\u3061\u3089\u3067\u306f<code>category_edit_form_fields<\/code>\u306b\u30d5\u30c3\u30af\u3055\u305b\u307e\u3059\u3002\u65b0\u898f\u8ffd\u52a0\u753b\u9762\u3068\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306f\u307b\u307c\u540c\u3058\u3067\u3059\u304c\u3001\u7de8\u96c6\u753b\u9762\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u969b\u306f\u65e2\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u5024\u3092\u767b\u9332\u6e08\u307f\u306e\u72b6\u6cc1\u3082\u8003\u3048\u3089\u308c\u308b\u305f\u3081\u3001\u767b\u9332\u6e08\u307f\u306e\u5024\u304c\u3042\u308b\u5834\u5408\u306f<code>&lt;input&gt;<\/code>\u306evalue\u5c5e\u6027\u306b\u305d\u306e\u5024\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u5024\u306f<code>get_term_meta()<\/code>\u3068\u3044\u3046\u95a2\u6570\u306b\u305d\u306e\u30ab\u30c6\u30b4\u30ea\u306eID\u3001\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30b9\u30e9\u30c3\u30b0\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-html\">function generate_edit_form_term_cf_html( $tag ) {\r\n  global $custom_field;\r\n  $slug = $custom_field[ 'slug' ];\r\n?&gt;\r\n  &lt;tr class=\"form-field term-&lt;?php echo $slug; ?&gt;-wrap\"&gt;\r\n    &lt;th scope=\"row\"&gt;\r\n      &lt;label for=\"&lt;?php echo $slug; ?&gt;\"&gt;&lt;?php echo $custom_field[ 'label' ]; ?&gt;&lt;\/label&gt;\r\n    &lt;\/th&gt;\r\n    &lt;td&gt;\r\n      &lt;input\r\n        name=\"&lt;?php echo $slug; ?&gt;\"\r\n        id=\"&lt;?php echo $slug; ?&gt;\"\r\n        type=\"text\"\r\n        value=\"&lt;?php echo esc_html( get_term_meta( $tag-&gt;term_id, $slug, true ) ); ?&gt;\"\r\n        size=\"40\"\r\n      &gt;\r\n      &lt;p class=\"description\"&gt;&lt;?php echo $custom_field[ 'description' ]; ?&gt;&lt;\/p&gt;\r\n    &lt;\/td&gt;\r\n  &lt;\/tr&gt;\r\n&lt;?php\r\n}\r\nadd_action ( 'category_edit_form_fields', 'generate_edit_form_term_cf_html' );<\/code><\/pre>\n<h3>c. \u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u3092\u4fdd\u5b58\u3059\u308b<\/h3>\n<p>\u6700\u5f8c\u306b\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u5165\u529b\u3055\u308c\u305f\u5024\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u767b\u9332\u3059\u308b\u51e6\u7406\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u767b\u9332\u3059\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u306f\u4ee5\u4e0b\u306e2\u56de\u3067\u3059\u3002\u305d\u308c\u305e\u308c\u306b\u30d5\u30c3\u30af\u3055\u305b\u3066\u767b\u9332\u3059\u308b\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u65b0\u898f\u8ffd\u52a0\u753b\u9762\u3067\u300c\u8ffd\u52a0\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u6642\uff08<code>create_term<\/code>\u30d5\u30c3\u30af\uff09<\/li>\n<li>\u7de8\u96c6\u753b\u9762\u3067\u300c\u66f4\u65b0\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u6642\uff08<code>edited_term<\/code>\u30d5\u30c3\u30af\uff09<\/li>\n<\/ul>\n<p>\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5165\u529b\u5024\u306f<code>$_POST[$slug]<\/code>\u3067\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u5024\u3092<code>update_term_meta(\u30ab\u30c6\u30b4\u30ea\u30fcID, \u30b9\u30e9\u30c3\u30b0, \u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u5165\u529b\u5024)<\/code>\u3092\u5b9f\u884c\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u767b\u9332\u3057\u307e\u3059\u3002\u4e00\u65b9\u3067\u3001\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u7a7a\u306e\u5834\u5408\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u767b\u9332\u3057\u305f\u5024\u3082\u7a7a\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081<code>delete_term_meta(\u30ab\u30c6\u30b4\u30ea\u30fcID, \u30b9\u30e9\u30c3\u30b0)<\/code>\u3092\u5b9f\u884c\u3057\u3066\u5024\u3092\u524a\u9664\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function save_term_cf( $term_id ) {\r\n  global $custom_field;\r\n  $slug = $custom_field[ 'slug' ];\r\n  $val = $_POST[ $slug ];\r\n  if ( !empty( $_POST[ $slug ] ) ) {\r\n    update_term_meta( $term_id, $slug, $val );\r\n  } else {\r\n    delete_term_meta( $term_id, $slug );\r\n  }\r\n};\r\nadd_action ( 'create_term', 'save_term_cf' );\r\nadd_action ( 'edited_term', 'save_term_cf' );<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae16-%e4%b8%80%e8%88%ac%e8%a8%ad%e5%ae%9a%e3%81%ab%e7%8b%ac%e8%87%aa%e3%81%ae%e5%85%a5%e5%8a%9b%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e16. \u4e00\u822c\u8a2d\u5b9a\u306b\u72ec\u81ea\u306e\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u8a2d\u5b9a\uff1e\u4e00\u822c\u306b\u72ec\u81ea\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0.png\" alt=\"\" width=\"720\" height=\"242\" \/><\/p>\n<p>\u8a2d\u5b9a\u306e\u4e00\u822c\u30da\u30fc\u30b8\u306b\u4e0a\u56f3\u306e\u300c\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30bf\u30b0\u300d\u306e\u3088\u3046\u306b\u72ec\u81ea\u306e\u5165\u529b\u9805\u76ee\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u307e\u305a\u306f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u5168\u6587\u3067\u3059\u3002<code>functions.php<\/code>\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">\/\/ \u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8a2d\u5b9a\uff1e\u4e00\u822c\u306b\u8868\u793a\u3059\u308b\u51e6\u7406\r\nfunction add_general_custom_field() {\r\n  add_settings_field(\r\n    'analytics_tags', \/\/ \r\n    '\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30bf\u30b0', \/\/ \u8ffd\u52a0\u3059\u308b\u9805\u76ee\u306e\u30bf\u30a4\u30c8\u30eb\r\n    'display_option_field', \/\/ \u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\r\n    'general' \/\/ \u8ffd\u52a0\u3059\u308b\u9805\u76ee\u3092\u8868\u793a\u3059\u308b\u30da\u30fc\u30b8\r\n  );\r\n  register_setting( 'general', 'analytics_tags' );\r\n}\r\nadd_filter( 'admin_init', 'add_general_custom_field' );\r\n\r\n\/\/ \u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u306eHTML\u51fa\u529b\u51e6\u7406\r\nfunction display_option_field() {\r\n\u00a0 echo '&lt;textarea name=\"analytics_tags\" rows=\"5\" style=\"width:100%; max-width:600px;\"&gt;';\r\n\u00a0 echo esc_html( get_option( 'analytics_tags' ) );\r\n\u00a0 echo '&lt;\/textarea&gt;';\r\n\u00a0 echo '&lt;p class=\"description\"&gt;&amp;lt;\/head&amp;gt;\u306e\u76f4\u524d\u306b\u633f\u5165\u3059\u308b\u30bf\u30b0\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002&lt;\/p&gt;';\r\n}<\/code><\/pre>\n<p>\u5177\u4f53\u7684\u306a\u51e6\u7406\u306e\u6d41\u308c\u3067\u3059\u304c\u3001\u307e\u305a\u7ba1\u7406\u753b\u9762\u8868\u793a\u6642\u306b\u5b9f\u884c\u3055\u308c\u308b<code>admin_init<\/code>\u30d5\u30c3\u30af\u3092\u5229\u7528\u3057\u3001<code>add_general_custom_field()<\/code>\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u6700\u521d\u306e<code>add_settings_field()<\/code>\u306f\u8a2d\u5b9a\uff1e\u4e00\u822c\u30da\u30fc\u30b8\u306b\u300c\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30bf\u30b0\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u793a\u3059\u308b\u51e6\u7406\u3067\u3059\u3002\u7b2c3\u5f15\u6570\u3067<code>display_option_field()<\/code>\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002\u305d\u306e\u4ed6\u306e\u5f15\u6570\u306f\u30b3\u30e1\u30f3\u30c8\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<p>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3067\u5b9f\u884c\u3055\u308c\u305f<code>display_option_field()<\/code>\u3067\u306f\u300c\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30bf\u30b0\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u306eHTML\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u3053\u3053\u306b\u5b9a\u7fa9\u3059\u308bHTML\u306f\u4ee5\u4e0b\u306e\u8d64\u67a0\u306e\u30a8\u30ea\u30a2\u306b\u8868\u793a\u3055\u308c\u308b\u3082\u306e\u3067\u3059\u3002\u5de6\u5074\u306e\u30e9\u30d9\u30eb\u306a\u3069\u306f\u524d\u51fa\u306e<code>add_settings_field()<\/code>\u306e\u5f15\u6570\u3067\u6307\u5b9a\u3057\u305f\u3082\u306e\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067<code>&lt;input&gt;<\/code>\u3084<code>&lt;textarea&gt;<\/code>\u306a\u3069\u6700\u4f4e\u9650\u306e\u5165\u529bUI\u3060\u3051\u3092\u66f8\u304d\u307e\u3059\u3002\u4eca\u56de\u306f\u300c\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30bf\u30b0\u300d\u306e\u8aac\u660e\u6587\u3082\u4e0b\u306b\u8868\u793a\u3057\u305f\u3044\u306e\u3067\u300cdescription\u300d\u30af\u30e9\u30b9\u3092\u3064\u3051\u305f<code>&lt;p&gt;<\/code>\u3082\u8a18\u8ff0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u8a2d\u5b9a\uff1e\u4e00\u822c\u306b\u8ffd\u52a0\u3055\u308c\u305f\u56f3.png\" alt=\"\" width=\"720\" height=\"254\" \/><\/p>\n<p>\u6700\u5f8c\u306b<code>register_setting()<\/code>\u3067\u300c\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30bf\u30b0\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u767b\u9332\u3057\u3066\u3044\u307e\u3059\u3002WordPress\u306b\u300c\u8a2d\u5b9a\uff1e\u4e00\u822c\u306b&#8221;analytics_tags&#8221;\u3068\u3044\u3046\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u8ffd\u52a0\u306b\u306a\u3063\u305f\u304b\u3089\u4e00\u7dd2\u306b\u4fdd\u5b58\u3057\u3066\u306d\u300d\u3068\u901a\u9054\u3059\u308b\u30a4\u30e1\u30fc\u30b8\u304c\u8fd1\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae17-%e3%83%97%e3%83%ad%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%81%ab%e7%8b%ac%e8%87%aa%e3%81%ae%e5%85%a5%e5%8a%9b%e3%83%95%e3%82%a3%e3%83%bc%e3%83%ab%e3%83%89%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e17. \u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u306b\u72ec\u81ea\u306e\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/Twitter\u306e\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u56f3.png\" alt=\"\" width=\"720\" height=\"590\" \/><\/p>\n<p><code>functions.php<\/code>\u306b\u30b3\u30fc\u30c9\u3092\u8a18\u8f09\u3059\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u7de8\u96c6\u753b\u9762\u306b\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002\u3053\u3053\u3067\u306fTwitter\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u30da\u30fc\u30b8URL\u3092\u5165\u529b\u3059\u308b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u4f8b\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\u307e\u305a\u306f\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u5168\u6587\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-php\">\/\/ 1. \u3069\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u7de8\u96c6\u3059\u308b\u306e\u304bID\u3092\u7279\u5b9a\u3059\u308b\r\nparse_str( $_SERVER['QUERY_STRING'], $str );\r\n$user_id = !empty( $str[ 'user_id' ] ) ? intval( $str[ 'user_id' ] ) : wp_get_current_user()-&gt;ID;\r\n\r\n\/\/ 2. \u300c\u3042\u306a\u305f\u306b\u3064\u3044\u3066\u300d\u306e\u672b\u5c3e\u306b\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3059\u308b\r\nfunction add_twitter_url_field( $bool ) {\r\n  global $user_id;\r\n  $registered_twitter_url = get_user_meta( $user_id, 'twitter_url' )[0] ?? '';\r\n  echo '&lt;tr&gt;\r\n    &lt;th&gt;Twitter URL hoge&lt;\/th&gt;\r\n    &lt;td&gt;\r\n      &lt;input\r\n        type=\"text\"\r\n        name=\"twitter_url\"\r\n        id=\"twitter_url\"\r\n        placeholder=\"\u4f8b\uff09https:\/\/twitter.com\/user_id\"\r\n        class=\"regular-text\"\r\n        value=\"' . $registered_twitter_url . '\"\r\n      &gt;\r\n    &lt;\/td&gt;\r\n  &lt;\/tr&gt;';\r\n  return $bool;\r\n}\r\nadd_action( 'show_password_fields', 'add_twitter_url_field' );\r\n\r\n\/\/ 3. \u300c\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u66f4\u65b0\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u66f4\u65b0\u3059\u308b\r\nfunction update_profile() {\r\n  global $user_id;\r\n  if ( current_user_can( 'edit_user', $user_id ) ) {\r\n    update_user_meta( $user_id, 'twitter_url', $_POST[ 'twitter_url' ] );\r\n  }\r\n}\r\n\/\/ \u4ed6\u4eba\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u66f4\u65b0\u3092\u884c\u3063\u305f\u5834\u5408.\r\nadd_action( 'edit_user_profile_update', 'update_profile' );\r\n\/\/ \u81ea\u5206\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u66f4\u65b0\u3092\u884c\u3063\u305f\u5834\u5408.\r\nadd_action( 'personal_options_update', 'update_profile' );<\/code><\/pre>\n<p>\u5b9f\u88c5\u306f\u4ee5\u4e0b\u306e3\u30b9\u30c6\u30c3\u30d7\u306b\u5206\u3051\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<ol class=\"-alphabet\">\n<li>\u3069\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u7de8\u96c6\u3059\u308b\u306e\u304bID\u3092\u7279\u5b9a\u3059\u308b<\/li>\n<li>\u300c\u3042\u306a\u305f\u306b\u3064\u3044\u3066\u300d\u306e\u672b\u5c3e\u306b\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3059\u308b<\/li>\n<li>\u300c\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u66f4\u65b0\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u66f4\u65b0\u3059\u308b<\/li>\n<\/ol>\n<h3>a. \u3069\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u7de8\u96c6\u3059\u308b\u306e\u304bID\u3092\u7279\u5b9a\u3059\u308b<\/h3>\n<p>\u5165\u529b\u3057\u305fTwitter\u306eURL\u306f\u30e6\u30fc\u30b6\u30fcID\u306b\u7d10\u3065\u3051\u3066DB\u306b\u767b\u9332\u3059\u308b\u306e\u3067\u3001\u3069\u306e\u30e6\u30fc\u30b6\u30fc\u306a\u306e\u304bID\u3092\u7279\u5b9a\u3057\u307e\u3059\u3002<code>$str<\/code>\u306f\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u753b\u9762\u306eURL\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u9023\u60f3\u914d\u5217\u306b\u3057\u305f\u3082\u306e\u3067\u3059\u304c\u3001\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u304c\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u753b\u9762\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u308b\u969b\u306eURL\u306e\u672b\u5c3e\u306f<code>\/wp-admin\/user-edit.php?user_id=2&amp;wp_http_referer=%2Fsample%2Fwp-admin%2Fusers.php<\/code>\u3068\u3044\u3046\u3088\u3046\u306a\u5f62\u3067\u3001<code>$str<\/code>\u306b\u300cuser_id\u300d\u3068\u3044\u3046\u30ad\u30fc\u304c\u5b58\u5728\u3059\u308b\u306e\u3067\u3053\u306e\u5024\u3092\u30e6\u30fc\u30b6\u30fcID\u3068\u3057\u3066\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3067\u30ed\u30b0\u30a4\u30f3\u30e6\u30fc\u30b6\u30fc\u81ea\u8eab\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u753b\u9762\u306eURL\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u306f\u300cuser_id\u300d\u304c\u5b58\u5728\u3057\u306a\u3044\u306e\u3067<code>wp_get_current_user()<\/code>\u95a2\u6570\u3067\u81ea\u5206\u81ea\u8eab\u306e\u30e6\u30fc\u30b6\u30fcID\u3092\u53d6\u5f97\u3057\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<h3>b. \u300c\u3042\u306a\u305f\u306b\u3064\u3044\u3066\u300d\u306e\u672b\u5c3e\u306b\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8ffd\u52a0\u3059\u308b<\/h3>\n<p>\u8868\u793a\u3057\u305f\u3044HTML\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<code>show_password_fields<\/code>\u3068\u3044\u3046\u30d5\u30c3\u30af\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u7de8\u96c6\u753b\u9762\u306e\u300c\u3042\u306a\u305f\u306b\u3064\u3044\u3066\u300d\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306e<code>&lt;table&gt;<\/code>\u306e\u672b\u5c3e\u306bHTML\u3092\u633f\u5165\u3067\u304d\u307e\u3059\u3002\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u753b\u9762\u306e<code>&lt;table&gt;<\/code>\u306e\u66f8\u5f0f\u306b\u5408\u308f\u305b\u3066<code>&lt;input&gt;<\/code>\u306b\u306f<code>.regular-text<\/code>\u3068\u3044\u3046\u30af\u30e9\u30b9\u3092\u4ed8\u4e0e\u3057\u3001<code>&lt;tr&gt;\uff5e&lt;\/tr&gt;<\/code>\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u969b\u3001\u65e2\u306bTwitter\u306eURL\u304c\u767b\u9332\u6e08\u307f\u306e\u5834\u5408\u3082\u8003\u616e\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\u3001<code>get_user_meta()<\/code>\u306b\u5148\u307b\u3069\u53d6\u5f97\u3057\u305f<code>$user_id<\/code>\u3068\u300ctwitter_url\u300d\u3068\u3044\u3046\u30ad\u30fc\u3092\u6e21\u3057\u3001\u767b\u9332\u6e08\u307fURL\u3092<code>$registered_twitter_url<\/code>\u306b\u4ee3\u5165\u3057\u307e\u3059\u3002\u672a\u767b\u9332\u306e\u5834\u5408\u306f\u7a7a\u3068\u3057\u307e\u3059\u3002<\/p>\n<h3>c. \u300c\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u66f4\u65b0\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u66f4\u65b0\u3059\u308b<\/h3>\n<p>\u6700\u5f8c\u306b\u300c\u4fdd\u5b58\u3055\u308c\u305f\u3089\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u66f4\u65b0\u3059\u308b\u300d\u51e6\u7406\u3092<code>update_profile()<\/code>\u3068\u3044\u3046\u95a2\u6570\u306b\u5b9a\u7fa9\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u3053\u306e\u95a2\u6570\u306f2\u3064\u306e\u30d5\u30c3\u30af\u306b\u5f15\u3063\u639b\u3051\u3066\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u753b\u9762\u672b\u5c3e\u306e\u300c\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u66f4\u65b0\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u767a\u706b\u3059\u308b\u30d5\u30c3\u30af\u3067\u3059\u304c\u3001<code>edit_user_profile_update<\/code>\u306f\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u3068\u306f\u9055\u3046\u30e6\u30fc\u30b6\u30fc\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u66f4\u65b0\u3057\u305f\u6642\u3001<code>personal_options_update<\/code>\u306f\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u81ea\u8eab\u306e\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u66f4\u65b0\u3057\u305f\u6642\u3001\u3068\u3044\u3046\u3088\u3046\u306b\u5834\u9762\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u30d5\u30c3\u30af\u304c\u767a\u706b\u3057\u307e\u3059\u3002\u3053\u306e\u305f\u3081\u4e21\u65b9\u304b\u3089\u540c\u3058\u95a2\u6570\u304c\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u809d\u5fc3\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u66f4\u65b0\u307e\u308f\u308a\u306e\u51e6\u7406\u306f\u5358\u7d14\u3067\u3001<code>update_user_meta()<\/code>\u3068\u3044\u3046\u95a2\u6570\u306b\u66f4\u65b0\u5bfe\u8c61\u3068\u306a\u308b\u30e6\u30fc\u30b6\u30fc\u306eID\u3001\u30ad\u30fc\u540d\u3001\u4fdd\u5b58\u3059\u308b\u5024\uff08\u3053\u3053\u3067\u306fTwitter URL\u306e\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\uff09\u306e3\u3064\u3092\u6e21\u3057\u3066\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u521d\u3081\u3066\u767b\u9332\u3059\u308b\u5834\u5408\u306f\u6307\u5b9a\u3057\u305f\u30ad\u30fc\u306b\u8a72\u5f53\u3059\u308b\u683c\u7d0d\u5148\u304c\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u81ea\u52d5\u3067\u4f5c\u6210\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u307e\u305f\u3001if\u6587\u3067\u56f2\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u66f4\u65b0\u3092\u5b9f\u884c\u3057\u305f\u30ed\u30b0\u30a4\u30f3\u4e2d\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3092\u66f4\u65b0\u3059\u308b\u6a29\u9650\u304c\u3042\u308b\uff08\u7ba1\u7406\u8005\u6a29\u9650\u304b\uff09\u5834\u5408\u306b\u306e\u307f\u66f4\u65b0\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u9650\u5b9a\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%9d%e3%81%ae18-%e3%82%b5%e3%82%a4%e3%83%88%e3%81%ae%e3%82%b0%e3%83%ad%e3%83%8a%e3%83%93%e3%82%92%e7%ae%a1%e7%90%86%e7%94%bb%e9%9d%a2%e3%81%a7%e7%b7%a8%e9%9b%86%e3%81%a7%e3%81%8d%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b\"><\/span>\u305d\u306e18. \u30b5\u30a4\u30c8\u306e\u30b0\u30ed\u30ca\u30d3\u3092\u7ba1\u7406\u753b\u9762\u3067\u7de8\u96c6\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/\u30b0\u30ed\u30ca\u30d3-1.png\" alt=\"\" width=\"720\" height=\"83\" \/><\/p>\n<p>\u30b5\u30a4\u30c8\u306e\u30d8\u30c3\u30c0\u30fc\u306b\u8868\u793a\u3059\u308b\u30b0\u30ed\u30fc\u30d0\u30eb\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u306e\u30ea\u30f3\u30af\u5148\u3084\u30e9\u30d9\u30eb\u3092\u7ba1\u7406\u753b\u9762\u3067\u5909\u66f4\u3067\u304d\u305f\u3089\u4fbf\u5229\u3060\u3068\u601d\u3044\u307e\u305b\u3093\u304b\uff1f\u5b9f\u306fWordPress\u306b\u306f\u7ba1\u7406\u753b\u9762\u3067\u7de8\u96c6\u3067\u304d\u308b\u3088\u3046\u306b\u6a5f\u80fd\u3068\u3057\u3066\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u624b\u9806\u3082\u305d\u3093\u306a\u306b\u8907\u96d1\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u6b21\u306e3\u30b9\u30c6\u30c3\u30d7\u3067\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol class=\"-alphabet\">\n<li><code>register_nav_menus()<\/code>\u3067\u30b0\u30ed\u30ca\u30d3\u306e\u683c\u7d0d\u5148\u3092\u7528\u610f\u3059\u308b<\/li>\n<li>PHP\u306e\u51fa\u529b\u3057\u305f\u3044\u7b87\u6240\u3067<code>wp_nav_menu()<\/code>\u3067\u547c\u3073\u51fa\u3059<\/li>\n<li>WordPress\u7ba1\u7406\u753b\u9762\u3067\u30b0\u30ed\u30ca\u30d3\u3092\u767b\u9332\u3059\u308b<\/li>\n<\/ol>\n<h3>a. <code>register_nav_menus()<\/code>\u3067\u30b0\u30ed\u30ca\u30d3\u306e\u683c\u7d0d\u5148\u3092\u7528\u610f\u3059\u308b<\/h3>\n<p>\u7ba1\u7406\u753b\u9762\u3067\u30b0\u30ed\u30ca\u30d3\u3092\u4f5c\u6210\u3059\u308b\u524d\u306b\u3001\u4f5c\u3063\u305f\u30b0\u30ed\u30ca\u30d3\u3092\u8868\u793a\u3059\u308b\u6e96\u5099\u3092\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30c6\u30fc\u30de\u9069\u7528\u5f8c\u306e\u30d5\u30c3\u30af\u306b\u304b\u3051\u3066\u95a2\u6570\u3092\u5b9f\u884c\u3059\u308b\u51e6\u7406\u3092<code>functions.php<\/code>\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002\u5f15\u6570\u3068\u3057\u3066\u9023\u60f3\u914d\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function setup_menu() {\r\n\u00a0 register_nav_menus(\r\n\u00a0 \u00a0 array(\r\n\u00a0 \u00a0 \u00a0 'header_menu' =&gt; '\u30d8\u30c3\u30c0\u30fc'\r\n\u00a0 \u00a0 )\r\n\u00a0 );\r\n}\r\nadd_action( 'after_setup_theme', 'setup_menu' );\r\n<\/code><\/pre>\n<h3>b. PHP\u306e\u51fa\u529b\u3057\u305f\u3044\u7b87\u6240\u3067<code>wp_nav_menu()<\/code>\u3067\u547c\u3073\u51fa\u3059<\/h3>\n<p>header.php\u306a\u3069\u306e\u30b0\u30ed\u30ca\u30d3\u3092\u51fa\u529b\u3057\u305f\u3044\u7b87\u6240\u3067<code>wp_nav_menu()<\/code>\u95a2\u6570\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">wp_nav_menu(\r\n\u00a0 array(\r\n\u00a0 \u00a0 'menu_class' =&gt; 'l-header__link', \/\/ &lt;ul&gt;\u306b\u4ed8\u4e0e\u3059\u308b\u30af\u30e9\u30b9\r\n\u00a0 \u00a0 'container' =&gt; false, \/\/ &lt;ul&gt;\u3092\u56f2\u3046\u89aa\u8981\u7d20\u306e\u30bf\u30b0\r\n\u00a0 \u00a0 'depth' =&gt; 1, \/\/ \u8868\u793a\u3059\u308b\u968e\u5c64\u69cb\u9020\u306e\u6df1\u3055\r\n\u00a0 \u00a0 'theme_location' =&gt; 'header_menu' \/\/ \u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b\u4f4d\u7f6e\u306e\u540d\u524d\r\n\u00a0 )\r\n);\r\n<\/code><\/pre>\n<p>\u3053\u3053\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u306a\u306e\u304c\u3001<code>wp_nav_menu()<\/code>\u3092\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u306b\u51fa\u529b\u3055\u308c\u308b\u306e\u306fWordPress\u5074\u3067\u751f\u6210\u3057\u305fHTML\u3060\u3068\u3044\u3046\u70b9\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5f62\u5f0f\u306eHTML\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-html\">&lt;ul id=\"menu-{\u30e1\u30cb\u30e5\u30fc\u540d}\" class=\"{menu_class\u306e\u30af\u30e9\u30b9\u540d}\"&gt;\r\n\u00a0 &lt;li id=\"menu-item-***\" class=\"menu-item ...\"&gt;\r\n\u00a0 \u00a0 &lt;a href=\"#\"&gt;\u30ea\u30f3\u30af&lt;\/a&gt;\r\n\u00a0 &lt;\/li&gt;\r\n\u00a0 ...\r\n&lt;\/ul&gt;\r\n<\/code><\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b<code>ul &gt; li &gt; a<\/code>\u3068\u3044\u3046\u69cb\u9020\u3067\u95a2\u6570\u3092\u5b9f\u884c\u3057\u305f\u4f4d\u7f6e\u306b\u66f8\u304d\u51fa\u3055\u308c\u307e\u3059\u3002\u305f\u3060\u3001\u89aa\u8981\u7d20\u306b\u30af\u30e9\u30b9\u540d\u3092\u4ed8\u4e0e\u3057\u305f\u308a\u3001<code>&lt;div&gt;<\/code>\u306a\u3069\u3067\u62ec\u3063\u305f\u308a\u3067\u304d\u308b\u306e\u3067\u3001\u305d\u308c\u306b\u5408\u308f\u305b\u3066\u5f8c\u304b\u3089CSS\u3092\u8a18\u8ff0\u3059\u308b\u5f62\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code>wp_nav_menu()<\/code>\u306e\u5f15\u6570\u306b\u306f\u9023\u60f3\u914d\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u304c\u3001\u3088\u304f\u4f7f\u3046\u5024\u3092\u4ee5\u4e0b\u306b\u629c\u7c8b\u3057\u3066\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<table class=\"-horizontal -spblock\">\n<tbody>\n<tr>\n<th>menu_class<\/th>\n<td>\u51fa\u529b\u3055\u308c\u308b&lt;ul&gt;\u306b\u4ed8\u4e0e\u3059\u308b\u30af\u30e9\u30b9\u540d\u3002<\/td>\n<\/tr>\n<tr>\n<th>menu_id<\/th>\n<td>\u51fa\u529b\u3055\u308c\u308b&lt;ul&gt;\u306b\u4ed8\u4e0e\u3059\u308bid\u3002<\/td>\n<\/tr>\n<tr>\n<th>container<\/th>\n<td>&lt;ul&gt;\u3092\u56f2\u3046\u89aa\u8981\u7d20\u3092&lt;div&gt;\u304b&lt;nav&gt;\u3067\u6307\u5b9a\u3067\u304d\u308b\u3002\u4e0d\u8981\u306a\u5834\u5408\u306ffalse\u3092\u6307\u5b9a\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<th>container_class<\/th>\n<td>&lt;ul&gt;\u3092\u56f2\u3046\u89aa\u8981\u7d20\u306b\u4ed8\u4e0e\u3059\u308b\u30af\u30e9\u30b9\u540d\u3002<\/td>\n<\/tr>\n<tr>\n<th>depth<\/th>\n<td>\u30e1\u30cb\u30e5\u30fc\u304c\u968e\u5c64\u69cb\u9020\u306e\u5834\u5408\u306b\u8868\u793a\u3059\u308b\u968e\u5c64\u306e\u6df1\u3055\u3092\u6307\u5b9a\u3067\u304d\u308b\u30020=\u5168\u968e\u5c64\u30011=\u89aa\u30e1\u30cb\u30e5\u30fc\u306e\u307f\u3002<\/td>\n<\/tr>\n<tr>\n<th>theme_location<\/th>\n<td>register_nav_menus()\u3067\u767b\u9332\u3057\u305f\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b\u4f4d\u7f6e\u306e\u540d\u524d\u3002\u3069\u3053\u306b\u8868\u793a\u3059\u308b\u304b\u6307\u5b9a\u3067\u304d\u308b\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>c. WordPress\u7ba1\u7406\u753b\u9762\u3067\u30b0\u30ed\u30ca\u30d3\u3092\u767b\u9332\u3059\u308b<\/h3>\n<p>WordPress\u306e\u7ba1\u7406\u753b\u9762\u306e\u5916\u89b3\uff1e\u30e1\u30cb\u30e5\u30fc\u3067\u30b0\u30ed\u30ca\u30d3\u3092\u767b\u9332\u3057\u307e\u3059\u3002\u30e1\u30cb\u30e5\u30fc\u540d\u3068\u30e1\u30cb\u30e5\u30fc\u306e\u4f4d\u7f6e\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u300c\u30e1\u30cb\u30e5\u30fc\u3092\u4f5c\u6210\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u30e1\u30cb\u30e5\u30fc\u540d\u306fHTML\u306b\u51fa\u529b\u3055\u308c\u308b<code>&lt;ul&gt;<\/code>\u306bid\u3068\u3057\u3066\u6307\u5b9a\u3055\u308c\u308b\u306e\u3067\u3001\u65e5\u672c\u8a9e\u3067\u5165\u529b\u3057\u3066\u3057\u307e\u3046\u3068\u30d1\u30fc\u30bb\u30f3\u30c8\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u6c17\u306b\u306a\u308b\u65b9\u306f\u534a\u89d2\u82f1\u6570\u5b57\u3067\u5165\u529b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/01_\u30b0\u30ed\u30ca\u30d3\u3092\u767b\u9332\u3059\u308b\u56f3.png\" alt=\"\" width=\"720\" height=\"400\" \/><\/p>\n<p>\u6b21\u306b\u30b0\u30ed\u30ca\u30d3\u306b\u8868\u793a\u3059\u308b\u30ea\u30f3\u30af\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u56fa\u5b9a\u30da\u30fc\u30b8\u3001\u6295\u7a3f\uff08\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u542b\u3080\uff09\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u5404\u7a2e\u30da\u30fc\u30b8\u3078\u306e\u30ea\u30f3\u30af\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u307b\u304b\u306b\u3001URL\u3068\u30e9\u30d9\u30eb\u3092\u76f4\u63a5\u6307\u5b9a\u3067\u304d\u308b\u30ab\u30b9\u30bf\u30e0\u30ea\u30f3\u30af\u306a\u3069\u3082\u3042\u308b\u306e\u3067\u3001\u76ee\u7684\u306b\u5408\u308f\u305b\u3066\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u300c\u30e1\u30cb\u30e5\u30fc\u306b\u8ffd\u52a0\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u53f3\u5074\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/02_\u30e1\u30cb\u30e5\u30fc\u9805\u76ee\u3092\u8ffd\u52a0\u3059\u308b\u56f3.png\" alt=\"\" width=\"720\" height=\"496\" \/><\/p>\n<p>\u307e\u305f\u3001\u7ba1\u7406\u753b\u9762\u4e0a\u90e8\u306e\u8868\u793a\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u308b\u3068\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u9805\u76ee\u304c\u51fa\u73fe\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/baigie.me\/officialblog\/wp-content\/uploads\/2022\/04\/03_\u8868\u793a\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3055\u307e\u3056\u307e\u306a\u5c5e\u6027\u3092\u8868\u793a\u3057\u305f\u56f3.png\" alt=\"\" width=\"720\" height=\"722\" \/><\/p>\n<ul>\n<li>\u30ea\u30f3\u30af\u30bf\u30fc\u30b2\u30c3\u30c8<\/li>\n<li>\u30bf\u30a4\u30c8\u30eb\u5c5e\u6027<\/li>\n<li>CSS\u30af\u30e9\u30b9<\/li>\n<li>\u81ea\u5206\u3068\u30ea\u30f3\u30af\u5148\u306e\u95a2\u4fc2\/\u9593\u67c4\uff08XFN\uff09<\/li>\n<li>\u8aac\u660e<\/li>\n<\/ul>\n<p>\u308f\u304b\u308a\u306b\u304f\u3044\u3067\u3059\u304c\u3001\u300c\u30ea\u30f3\u30af\u3092\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f\u300d\u306f\u3088\u304f\u4f7f\u3046\u8a2d\u5b9a\u306a\u306e\u3067\u8868\u793a\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002\u307e\u305f\u3001\u30ea\u30f3\u30af\u3092\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f\u3088\u3046\u306b\u3059\u308b\u3068<code>&lt;a&gt;<\/code>\u30bf\u30b0\u306b<code>target=\"_blank\"<\/code>\u304c\u4ed8\u4e0e\u3055\u308c\u308b\u306e\u3067\u3001\u3053\u306e\u5c5e\u6027\u304c\u3064\u3044\u305f\u3089\u5225\u30a6\u30a3\u30f3\u30c9\u30a6\u30a2\u30a4\u30b3\u30f3\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306bCSS\u3067\u30b9\u30bf\u30a4\u30eb\u3092\u5f53\u3066\u3066\u304a\u304f\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e3%81%95%e3%81%84%e3%81%94%e3%81%ab\"><\/span>\u3055\u3044\u3054\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002\u79c1\u81ea\u8eab\u3001\u3053\u3053\u3067\u7d39\u4ecb\u3057\u305f\u3059\u3079\u3066\u306e\u5b9f\u88c5\u3092\u6bce\u56de\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u53d6\u6368\u9078\u629e\u3057\u3066\u3044\u307e\u3059\u3002\u7d39\u4ecb\u3057\u305f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306f\u3082\u306e\u306b\u3088\u3063\u3066\u306f\u5b9f\u88c5\u30b3\u30b9\u30c8\u304c\u304b\u304b\u308b\u306e\u3067\u300c\u7ba1\u7406\u753b\u9762\u3067\u7279\u306b\u4f7f\u3044\u3084\u3059\u304f\u3057\u305f\u3044\u3068\u3053\u308d\u306f\u3069\u3053\u304b\uff1f\u300d\u3068\u3044\u3046\u8996\u70b9\u3092\u3082\u3063\u3066\u6ce8\u529b\u3059\u308b\u3068\u3053\u308d\u3092\u7d5e\u308b\u306e\u304c\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u5b9f\u88c5\u3057\u3066\u3044\u308b\u3068\u30e6\u30fc\u30b6\u30fc\u8996\u70b9\u306b\u7acb\u3063\u3066\u4f7f\u3044\u3084\u3059\u3044\u304b\u3092\u8003\u3048\u308b\u306e\u304c\u96e3\u3057\u304f\u306a\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u8a18\u4e8b\u304c\u5c11\u3057\u3067\u3082\u52a9\u3051\u306b\u306a\u308c\u3070\u5b09\u3057\u3044\u9650\u308a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306f\u6a5f\u80fd\u3068\u3057\u3066\u5b9f\u88c5\u3067\u304d\u306a\u3044\u3082\u306e\u306f\u306a\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u3001\u3068\u601d\u3048\u308b\u304f\u3089\u3044\u81ea\u7531\u5ea6\u304c\u9ad8\u304f\u591a\u6a5f\u80fd\u306aCMS\u3067\u3059\u3002\u4e00\u65b9\u3067\u591a\u6a5f\u80fd\u3067\u3042\u308b\u304c\u6545\u306b\u7ba1\u7406\u753b\u9762\u306e\u30e1\u30cb\u30e5\u30fc\u3082\u591a\u304f\u3001\u30b5\u30a4\u30c8\u306b\u3088\u3063\u3066\u306f\u4f7f\u3063\u3066\u3044\u306a\u3044\u6a5f\u80fd\u306a\u306e\u306b\u5c0e\u7dda\u304c\u6b8b\u3063\u3066\u3044\u305f\u308a\u3001 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":5119,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[23,22,6],"tags":[],"class_list":["post-4971","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cms","category-wordpress","category-front-end"],"acf":[],"modified_by":"\u9152\u4e95\u7422\u90ce","_links":{"self":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts\/4971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/comments?post=4971"}],"version-history":[{"count":1,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts\/4971\/revisions"}],"predecessor-version":[{"id":7392,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/posts\/4971\/revisions\/7392"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/media\/5119"}],"wp:attachment":[{"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/media?parent=4971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/categories?post=4971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/baigie.me\/officialblog\/wp-json\/wp\/v2\/tags?post=4971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}