{"id":44319,"date":"2023-04-05T16:51:39","date_gmt":"2023-04-05T07:51:39","guid":{"rendered":"https:\/\/kinsta.com\/jp\/?p=44319&#038;preview=true&#038;preview_id=44319"},"modified":"2023-04-14T22:44:26","modified_gmt":"2023-04-14T13:44:26","slug":"wordpress-functions-php","status":"publish","type":"post","link":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/","title":{"rendered":"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\uff08\u5fb9\u5e95\u89e3\u8aac\uff0b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u4f8b\uff09"},"content":{"rendered":"<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\u4e00\u4f53\u4f55\u306a\u306e\u304b\u3001\u305d\u308c\u3067\u4f55\u304c\u3067\u304d\u308b\u306e\u304b&#8230;\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3002\u305d\u3093\u306a\u65b9\u306b\u5411\u3051\u3066\u306e\u8a18\u4e8b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e00\u8a00\u3067\u8a00\u3048\u3070\u3001WordPress\u306efunctions.php\u306f\u3001\u30b5\u30a4\u30c8\u306b\u30b3\u30fc\u30c9\uff08\u7c21\u5358\u306b\u8a00\u3048\u3070\u6a5f\u80fd\uff09\u3092\u8ffd\u52a0\u3067\u304d\u308b\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002functions.php\u30d5\u30a1\u30a4\u30eb\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u826f\u3044WordPress\u30b5\u30a4\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u7126\u70b9\u3092\u5f53\u3066\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u77e5\u3063\u3066\u304a\u304d\u305f\u3044\u4e8b\u67c4\u3092\u8a73\u3057\u304f\u6271\u3044\u307e\u3059\u3002<\/p>\n<p>functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u7406\u89e3\u3092\u6df1\u3081\u305f\u5f8c\u306b\u306f\u3001\u30b5\u30a4\u30c8\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u4fbf\u5229\u306a17\u306efunctions.php\u30b3\u30fc\u30c9\u4f8b\u3082\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306e\u5f79\u5272<\/h2>\n<p>WordPress\u306efunctions.php\u306f\u3001\u30b5\u30a4\u30c8\u306b\u30ab\u30b9\u30bf\u30e0\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u306e\u306b\u4f7f\u7528\u3067\u304d\u308b\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002\u3053\u308c\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b5\u30a4\u30c8\u306e\u3055\u307e\u3056\u307e\u306a\u9818\u57df\u306e\u6a5f\u80fd\u3092\u5909\u66f4\u3057\u305f\u308a\u3001\u30b5\u30a4\u30c8\u306b\u65b0\u3057\u3044\u30b3\u30f3\u30c6\u30f3\u30c4\u3084\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30c6\u30fc\u30de\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u30c6\u30fc\u30de\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u884c\u3046\u3060\u3051\u306b\u3068\u3069\u307e\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u4ed5\u7d44\u307f\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u30b5\u30a4\u30c8\u306e\u3042\u3089\u3086\u308b\u90e8\u5206\u3092\u8abf\u6574\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u3067\u304d\u308b\u4e00\u822c\u7684\u306a\u8abf\u6574\u306e\u7a2e\u985e\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u691c\u7d22\u7d50\u679c\u30da\u30fc\u30b8\u306b\u8868\u793a\u3059\u308b\u8a18\u4e8b\u306e\u6570\u3084\u3001\u30b5\u30a4\u30c8\u306eRSS\u30d5\u30a3\u30fc\u30c9\u306b\u542b\u3081\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u306a\u3069\u3001WordPress\u306e\u4e2d\u6838\u3068\u306a\u308b\u52d5\u4f5c\u3092\u8abf\u6574<\/li>\n<li>\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u81ea\u4f5c<\/li>\n<li>\u7279\u5b9a\u306e\u30da\u30fc\u30b8\u306b\u30e9\u30a4\u30d6\u30c1\u30e3\u30c3\u30c8\u30b5\u30fc\u30d3\u30b9\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u6ce8\u5165\u3059\u308b\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/how-to-edit-footer-in-wordpress\/\">\u30b5\u30a4\u30c8\u306e\u30d5\u30c3\u30bf\u30fc<\/a>\u3092\u7de8\u96c6\u3059\u308b\u306a\u3069\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u3084\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u64cd\u4f5c\u3067\u304d\u308b<\/li>\n<\/ul>\n<p>\u3068\u306f\u8a00\u3048\u3001\u3053\u308c\u306f\u6570\u591a\u304f\u306e\u4f8b\u306e\u4e00\u90e8\u306b\u904e\u304e\u307e\u305b\u3093\u3002<\/p>\n<p>functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001<a href=\"https:\/\/kinsta.com\/blog\/html-to-wordpress\/\">\u9759\u7684\u3067\u3042\u308bHTML<\/a>\u3060\u3051\u3067\u306a\u304f\u3001PHP\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u53ef\u80fd\u6027\u306f\u7121\u9650\u5927\u3067\u3059\u3002<\/p>\n<h3>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306f\u3069\u3053\u306b\u3042\u308b\u306e\u304b<\/h3>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306f\u3001<a href=\"https:\/\/kinsta.com\/blog\/wordpress-template-hierarchy\/\">\u4ed6\u306e\u30c6\u30fc\u30de<\/a>\u30d5\u30a1\u30a4\u30eb\u3068\u4e00\u7dd2\u306b\u3001\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u30c6\u30fc\u30de\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u898b\u3064\u3051\u308b\u306b\u306f\u3001FTP\u307e\u305f\u306f\u30d5\u30a1\u30a4\u30eb\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3057\u3001<strong>&#8230;\/wp-content\/themes\/[\u6709\u52b9\u306a\u30c6\u30fc\u30de\u540d]\/functions.php<\/strong>\u3092\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/oceanwp\/\">\u4eba\u6c17\u306e\u30c6\u30fc\u30de\u3067\u3042\u308bOceanWP<\/a>\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u306f<strong>&#8230;\/wp-content\/themes\/oceanwp\/functions.php<\/strong>\u306b\u914d\u7f6e\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n<h2>functions.php\u30d5\u30a1\u30a4\u30eb\u3092\u5b89\u5168\u306b\u6271\u3046<\/h2>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u4f5c\u696d\u3068\u306a\u308b\u305f\u3081\u3001\u7de8\u96c6\u306e\u969b\u306b\u306f\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306b\u5f93\u3046\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>\u30ab\u30f3\u30de\u3084\u30a2\u30dd\u30b9\u30c8\u30ed\u30d5\u30a3\u306e\u6b20\u843d\u306a\u3069\u7c21\u5358\u306a\u3053\u3068\u3067\u3082\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-white-screen-of-death\/\">WordPress\u306e\u771f\u3063\u767d\u753b\u9762<\/a>\u306e\u3088\u3046\u306a<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-errors\/\">\u30b5\u30a4\u30c8\u4e0a\u306e\u30a8\u30e9\u30fc<\/a>\u3092\u5f15\u304d\u8d77\u3053\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u8fd1\u306eWordPress\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u3001\u300c<a href=\"https:\/\/kinsta.com\/jp\/blog\/there-has-been-a-critical-error-on-your-website\/\">There has been a critical error on your website<\/a>\u300d\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u308a\u3001\u5909\u66f4\u3092\u4fdd\u5b58\u3059\u308b\u524d\u306bPHP\u30a8\u30e9\u30fc\u306e\u30c1\u30a7\u30c3\u30af\u304c\u5b9f\u65bd\u3055\u308c\u305f\u308a\u3059\u308b\u306a\u3069\u3001\u30a8\u30e9\u30fc\u306e\u51e6\u7406\u304c\u9ad8\u3044\u30ec\u30d9\u30eb\u306b\u5f15\u304d\u4e0a\u3052\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3068\u306f\u8a00\u3048\u3001\u554f\u984c\u304c\u8d77\u3053\u3089\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u3001\u5e38\u306b\u4ee5\u4e0b\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306b\u5f93\u3046\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u30b5\u30a4\u30c8\u3067functions.php\u30b3\u30fc\u30c9\u3092\u30c6\u30b9\u30c8<\/h3>\n<p>functions.php\u306e\u30b3\u30fc\u30c9\u3092\u672c\u756a\u306eWordPress\u30b5\u30a4\u30c8\u306b\u8ffd\u52a0\u3059\u308b\u524d\u306b\u3001\u307e\u305a\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u74b0\u5883\u3067\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u6f5c\u5728\u7684\u306a\u30a8\u30e9\u30fc\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001\u30b3\u30fc\u30c9\u304c\u610f\u56f3\u3057\u305f\u3068\u304a\u308a\u306b\u52d5\u4f5c\u3059\u308b\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<aside role=\"note\" class=\"wp-block-kinsta-notice is-style-info\">\n            <h3>Info<\/h3>\n        <p>\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u30b5\u30a4\u30c8\u306f\u3001\u5b89\u5168\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9\u5185\u306b\u3042\u308b\u3001\u672c\u756a\u30b5\u30a4\u30c8\u306e\u30b3\u30d4\u30fc\u3067\u3059\u3002\u3053\u308c\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u672c\u756a\u30b5\u30a4\u30c8\u3067<a href=\"https:\/\/kinsta.com\/blog\/wordpress-maintenance-mode\/\">\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30e2\u30fc\u30c9<\/a>\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u5909\u66f4\u5185\u5bb9\u3092\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/aside>\n\n<p>Kinsta\u3067\u306f\u3001\u5168\u3066\u306e\u30d7\u30e9\u30f3\u3067<a href=\"https:\/\/kinsta.com\/jp\/docs\/wordpress-hosting\/staging-environment\/\">\u7c21\u5358\u306b\u4f7f\u3048\u308b\u30ef\u30f3\u30af\u30ea\u30c3\u30af\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u74b0\u5883<\/a>\u3092\u3054\u7528\u610f\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f<a href=\"https:\/\/kinsta.com\/jp\/wordpress-hosting\/\">WordPress\u5c02\u7528\u30de\u30cd\u30fc\u30b8\u30c9\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d0\u30fc<\/a>\u3092\u4f7f\u7528\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u306e1\u3064\u3067\u3059\u3002<\/p>\n<p>\u4ed6\u306e\u30b5\u30fc\u30d0\u30fc\uff08\u5171\u7528\u306b\u4ee3\u8868\u3055\u308c\u308b\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u306a\u3069\uff09\u3092\u3054\u5229\u7528\u3067\u3042\u308c\u3070\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-staging-site\/\">WordPress\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u30b5\u30a4\u30c8\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u95a2\u3059\u308b\u3053\u3061\u3089\u306e\u8aac\u660e<\/a>\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>functions.php\u306b\u5909\u66f4\u3092\u52a0\u3048\u308b\u524d\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7<\/h3>\n<p>\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u30b5\u30a4\u30c8\u3067\u306e\u30c6\u30b9\u30c8\u306b\u52a0\u3048\u3066\u3001\u672c\u756a\u30b5\u30a4\u30c8\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u524d\u306b\u3001\u672c\u756a\u30b5\u30a4\u30c8\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-files\/\">WordPress\u306e\u30d5\u30a1\u30a4\u30eb<\/a>\u3092\u7de8\u96c6\u3059\u308b\u969b\u306b\u5fc5\u305a\u5b9f\u8df5\u3057\u3066\u304a\u304f\u3079\u304d\u5927\u4e8b\u306a\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3067\u3059\u3002<\/p>\n<p>\u30b3\u30fc\u30c9\u306b\u4f55\u304b\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3067\u3042\u3063\u3066\u3082\u3001\u3053\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u5fa9\u5143\u3059\u308b\u3053\u3068\u3067\u3001\u5373\u5ea7\u306b\u30b5\u30a4\u30c8\u3092\u518d\u7a3c\u50cd\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/kinsta.com\/jp\/docs\/wordpress-hosting\/wordpress-backups\/#wordpress-backup\">Kinsta\u3067\u306f\u6bce\u65e5\u81ea\u52d5\u3067\u30b5\u30a4\u30c8\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u5b9f\u884c<\/a>\u3055\u308c\u307e\u3059\u3002\u307e\u305f\u3001\u3044\u3064\u3067\u3082\u624b\u52d5\u3067\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u4f5c\u6210\u3001\u5fa9\u5143\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ed6\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u3054\u5229\u7528\u3067\u3042\u308c\u3070\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/backup-wordpress-site\/\">WordPress\u30b5\u30a4\u30c8\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b\u65b9\u6cd5<\/a>\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u5e38\u306b\u5b50\u30c6\u30fc\u30de\u3092\u4ecb\u3057\u3066functions.php\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6<\/h3>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306f<a href=\"https:\/\/kinsta.com\/jp\/blog\/how-to-customize-wordpress-theme\/\">WordPress\u30c6\u30fc\u30de\u306e\u30b3\u30fc\u30c9<\/a>\u306e\u4e2d\u306b\u3042\u308b\u305f\u3081\u3001\u30c6\u30fc\u30de\u3092<a href=\"https:\/\/kinsta.com\/jp\/blog\/how-to-update-wordpress-theme\/\">\u66f4\u65b0<\/a>\u3059\u308b\u3068functions.php\u30d5\u30a1\u30a4\u30eb\u304c\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30fc\u30de\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u52a0\u3048\u305f\u5909\u66f4\u304c\u4e0a\u66f8\u304d\u3055\u308c\u308b\u306e\u3092\u907f\u3051\u308b\u305f\u3081\u3001\u5e38\u306bWordPress\u306e\u5b50\u30c6\u30fc\u30de\u3092\u4f7f\u7528\u3057\u3001\u5b50\u30c6\u30fc\u30de\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u5b50\u30c6\u30fc\u30de\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u89aa\u30c6\u30fc\u30de\u3092\u66f4\u65b0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002functions.php\u306b\u3042\u308b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306e\u5185\u5bb9\u304c\u4e0a\u66f8\u304d\u3055\u308c\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u8a73\u3057\u304f\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-child-theme\/\">WordPress\u306e\u5b50\u30c6\u30fc\u30de\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>functions.php\u30d5\u30a1\u30a4\u30eb\u76f4\u7de8\u96c6\u306b\u4ee3\u308f\u308b\u9078\u629e\u80a2<\/h2>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30b5\u30a4\u30c8\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u6709\u7528\u3067\u3059\u304c\u3001\u307b\u3068\u3093\u3069\u306e\u72b6\u6cc1\u3067\u3001functions.php\u306b\u4ee3\u308f\u308b\u9078\u629e\u80a2\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30b3\u30fc\u30c9\u7ba1\u7406\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u4f7f\u7528<\/li>\n<li>\u81ea\u4f5c\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u30b3\u30fc\u30c9\u3092\u683c\u7d0d\u3059\u308b<\/li>\n<\/ol>\n<p>\u3053\u308c\u3089\u306e\u9078\u629e\u80a2\u306b\u306f\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u306e\u5229\u7528\u3092\u4e0a\u56de\u308b\u5229\u70b9\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>\u30c6\u30fc\u30de\u306b\u7e1b\u3089\u308c\u306a\u3044<\/strong>\uff1a\u30c6\u30fc\u30de\u3092\u5909\u66f4\u3057\u3066\u3082\u3001functions.php\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u305d\u306e\u307e\u307e\u6b8b\u308b\u3053\u3068\u306b\u306a\u308b\u3002<\/li>\n<li><strong>\u6574\u7406\u3057\u3084\u3059\u3044 <\/strong>\uff1a\u30b3\u30fc\u30c9\u306e\u6574\u7406\u304c\u3057\u3084\u3059\u3044\u306e\u3067\u3001\u30b5\u30a4\u30c8\u306b\u591a\u304f\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u4e88\u5b9a\u304c\u3042\u308b\u5834\u5408\u306b\u7279\u306b\u4fbf\u5229\u3002<\/li>\n<li><strong>\u67d4\u8edf\u306a\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb<\/strong>\uff1a\u30b3\u30fc\u30c9\u7ba1\u7406\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u306f\u3001\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3\u3092\u4f7f\u3063\u3066\u6709\u52b9\/\u7121\u52b9\u306b\u3057\u305f\u308a\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u307e\u305f\u306f\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3067\u306e\u307f\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u305f\u308a\u3001\u306a\u3069\u306e\u4fbf\u5229\u306a\u6a5f\u80fd\u304c\u3042\u308b\u3002<\/li>\n<\/ul>\n<h3>\u30b3\u30fc\u30c9\u7ba1\u7406\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3059\u308b<\/h3>\n<p>\u30b3\u30fc\u30c9\u7ba1\u7406\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067\u3001\u308f\u304b\u308a\u3084\u3059\u3044\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u4f7f\u3063\u3066\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3057\u305f\u3044\u30b3\u30fc\u30c9\u3092\u7c21\u5358\u306b\u8ffd\u52a0\u30fb\u7de8\u96c6\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eba\u6c17\u306e\u9078\u629e\u80a2\u306b\u306f\u3001\u7121\u6599\u306e<a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\" rel=\"noopener noreferrer\">Code Snippets<\/a>\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u4ed6\u306b\u3082\u540c\u69d8\u306e\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u3044\u304f\u3064\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Code Snippets\u3092\u4f7f\u3048\u3070\u3001WordPress\u7ba1\u7406\u753b\u9762\u304b\u3089functions.php\u306e\u30b3\u30fc\u30c9\u3092\u624b\u9593\u7121\u304f\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u4ee5\u4e0b\u306e\u6a5f\u80fd\u3082\u642d\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30bf\u30a4\u30c8\u30eb\u3068\u8aac\u660e\u6587\u3092\u8ffd\u52a0<\/li>\n<li>\u30bf\u30b0\u3092\u4f7f\u3063\u3066\u30b3\u30fc\u30c9\u3092\u6574\u7406<\/li>\n<li>\u30b3\u30fc\u30c9\u3092\u30b5\u30a4\u30c8\u306e\u7279\u5b9a\u306e\u90e8\u5206\u3067\u306e\u307f\u5b9f\u884c<\/li>\n<\/ul>\n<figure id=\"attachment_150158\" aria-describedby=\"caption-attachment-150158\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-150158 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/03\/code-snippets-interface-1024x908.jpg\" alt=\"Code Snippets\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\" width=\"1024\" height=\"908\"><figcaption id=\"caption-attachment-150158\" class=\"wp-caption-text\">Code Snippets\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0<\/figcaption><\/figure>\n<p>\u305d\u3057\u3066\u3001\u3059\u3079\u3066\u306e\u30b3\u30fc\u30c9\u3092\u4e00\u89a7\u3067\u8868\u793a\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u7c21\u5358\u306b\u6709\u52b9\/\u7121\u52b9\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_150157\" aria-describedby=\"caption-attachment-150157\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-150157 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/03\/code-snippets-code-list-1024x661.jpg\" alt=\"Code Snippets\u3067\u30b3\u30fc\u30c9\u3092\u7ba1\u7406\u3059\u308b\" width=\"1024\" height=\"661\"><figcaption id=\"caption-attachment-150157\" class=\"wp-caption-text\">Code Snippets\u3067\u30b3\u30fc\u30c9\u3092\u7ba1\u7406\u3059\u308b<\/figcaption><\/figure>\n<p>Code Snippets\u306f\u30d7\u30e9\u30b0\u30a4\u30f3\u306a\u306e\u3067\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/change-wordpress-theme\/\">WordPress\u306e\u30c6\u30fc\u30de<\/a>\u3092\u5909\u66f4\u3057\u3066\u3082\u3001\u3059\u3079\u3066\u306e\u30b3\u30fc\u30c9\u304c\u305d\u306e\u307e\u307e\u6b8b\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u81ea\u4f5c\u3059\u308b<\/h3>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u89e6\u308c\u308b\u4ee3\u308f\u308a\u306b\u3001\u30b3\u30fc\u30c9\u683c\u7d0d\u7528\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u81ea\u4f5c\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u8907\u96d1\u305d\u3046\u306b\u805e\u3053\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5b9f\u306f\u610f\u5916\u3068\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u4ed5\u7d44\u307f\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u7528\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<li>\u305d\u306e\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b1\u3064\u306e.php\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u597d\u307f\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u7de8\u96c6\u3057\u307e\u3059\u3002<\/li>\n<li>\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\uff08\u540d\u524d\u3084\u8aac\u660e\u306a\u3069\u306e\u60c5\u5831\u3092\u9069\u5b9c\u5909\u66f4\u3057\u3066\uff09\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<li>functions.php\u306b\u5229\u7528\u3057\u305f\u3044\u30b3\u30fc\u30c9\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<pre><code class=\"language-php\">&lt;?php\n\n\/**\n* Plugin Name: My Custom Code Snippets\n* Description: \u30b3\u30fc\u30c9\u683c\u7d0d\u7528\u306e\u81ea\u4f5c\u30d7\u30e9\u30b0\u30a4\u30f3\n* Author: \u3042\u306a\u305f\u306e\u540d\u524d\n* Version: 1.0\n*\/\n\n\/* \u3053\u306e\u30b3\u30e1\u30f3\u30c8\u306e\u4e0b\u306b\u6700\u521d\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3001\u30b3\u30e1\u30f3\u30c8\u3067\u305d\u306e\u4e2d\u8eab\u3092\u8aac\u660e *\/\n[CODE]\n\n\/* \u3053\u306e\u30b3\u30e1\u30f3\u30c8\u306e\u4e0b\u306b2\u3064\u76ee\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0 *\/\n[CODE]\n\n\/* \u5fc5\u8981\u3067\u3042\u308c\u3070\u305d\u306e\u307e\u307e\u7d9a\u884c *\/\n[CODE]\n\n?&gt;<\/code><\/pre>\n<p>\u3042\u3068\u306f\u3001WordPress\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u6709\u52b9\u5316\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u305d\u306e\u65b9\u6cd5\u30922\u3064\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li><a href=\"https:\/\/kinsta.com\/jp\/blog\/ftp-vs-sftp\/\">FTP\/SFTP<\/a>\u3067\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3057\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u30d5\u30a9\u30eb\u30c0\u3092<strong>wp-content\/plugins<\/strong>\u30d5\u30a9\u30eb\u30c0\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u306e\u5f8c\u3001<strong>\u30d7\u30e9\u30b0\u30a4\u30f3<\/strong>\u4e00\u89a7\u306b\u79fb\u52d5\u3057\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6709\u52b9\u5316\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>\u30d1\u30bd\u30b3\u30f3\u3092\u4f7f\u3063\u3066\u3001\u30d5\u30a9\u30eb\u30c0\u306e.zip\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u300c<strong>\u30d7\u30e9\u30b0\u30a4\u30f3<\/strong>\u300d\uff1e\u300c<strong>\u65b0\u898f\u8ffd\u52a0<\/strong>\u300d\u3067.zip\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u3001\u4ed6\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u540c\u3058\u3088\u3046\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<h2>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u65b9\u6cd5\uff082\u7a2e\u985e\uff09<\/h2>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u7de8\u96c6\u3059\u308b\u65b9\u6cd5\u306f\u3044\u304f\u3064\u3082\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u3069\u306e\u30db\u30b9\u30c8\uff08\u30b5\u30fc\u30d0\u30fc\/\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\uff09\u3067\u3082\u4f7f\u3048\u308b\u3001\u6700\u3082\u6c4e\u7528\u6027\u306e\u9ad8\u3044\u65b9\u6cd5\u30922\u3064\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>WordPress\u5185\u8535\u306e\u30c6\u30fc\u30de\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc<\/li>\n<li>SFTP\u3068\u597d\u307f\u306e\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc<\/li>\n<\/ol>\n<h3>1. WordPress\u5185\u8535\u306e\u30c6\u30fc\u30de\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc<\/h3>\n<p>WordPress\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3080\u30c6\u30fc\u30de\u306e\u3059\u3079\u3066\u306e\u30b3\u30fc\u30c9\u3092WordPress\u7ba1\u7406\u753b\u9762\u304b\u3089\u7de8\u96c6\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li>WordPress\u7ba1\u7406\u753b\u9762\u3092\u958b\u304d\u307e\u3059\u3002<\/li>\n<li>\u300c<strong>\u5916\u89b3<\/strong>\u300d\uff1e\u300c<strong>\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u30a8\u30c7\u30a3\u30bf\u30fc<\/strong>\u300d\u3092\u958b\u304d\u307e\u3059\u3002<\/li>\n<li>\u53f3\u5074\u306e\u300c<strong>\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb<\/strong>\u300d\u4e00\u89a7\u304b\u3089\u3001\u300c<strong>\u30c6\u30fc\u30de\u306e\u305f\u3081\u306e\u95a2\u6570\uff08functions.php\uff09<\/strong>\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<li>\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u4f7f\u3063\u3066\u4e2d\u8eab\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/li>\n<li>\u300c<strong>\u30d5\u30a1\u30a4\u30eb\u3092\u66f4\u65b0<\/strong>\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<figure id=\"attachment_150162\" aria-describedby=\"caption-attachment-150162\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-150162 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/03\/edit-functionsphp-wp-dashboard-1024x961.jpg\" alt=\"WordPress\u7ba1\u7406\u753b\u9762\u304b\u3089functions.php\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\" width=\"1024\" height=\"961\"><figcaption id=\"caption-attachment-150162\" class=\"wp-caption-text\">WordPress\u7ba1\u7406\u753b\u9762\u304b\u3089functions.php\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b<\/figcaption><\/figure>\n<p>\u3068\u306f\u3044\u3048\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-security\/#16-disable-file-editing-in-wordpress-dashboard\">\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u3001WordPress\u7ba1\u7406\u753b\u9762\u5185\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6\u3092\u7121\u52b9\u306b<\/a>\u3059\u308b\u3068\u3044\u3046\u8003\u3048\u65b9\u3082\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u3092\u9078\u629e\u3059\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u6b21\u306e\u65b9\u6cd5\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>2. SFTP\uff0b\u597d\u307f\u306e\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc<\/h3>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u5225\u306e\u65b9\u6cd5\u3068\u3057\u3066\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/what-is-ftp\/\">FTP\/SFTP\u3067\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a<\/a>\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li><a href=\"https:\/\/kinsta.com\/jp\/blog\/best-ftp-clients\/\">FTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8<\/a>\u3092\u307e\u3060\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fFileZila\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<li>FTP\u8a8d\u8a3c\u60c5\u5831\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30fc\u30d0\u30fc\u306b<a href=\"https:\/\/kinsta.com\/jp\/blog\/how-to-use-sftp\/\">\u63a5\u7d9a<\/a>\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d5\u30a9\u30eb\u30c0\u69cb\u9020\u3092\u4f7f\u3063\u3066<strong>&#8230;\/wp-content\/themes\/[\u6709\u52b9\u306a\u30c6\u30fc\u30de\u540d]<\/strong>\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/li>\n<li><strong>functions.php<\/strong>\u30d5\u30a1\u30a4\u30eb\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u300c<strong>\u7de8\u96c6<\/strong>\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<figure id=\"attachment_150161\" aria-describedby=\"caption-attachment-150161\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-150161 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/03\/edit-functionsphp-ftp-1024x830.jpg\" alt=\"FileZilla\u3067functions.php\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\" width=\"1024\" height=\"830\"><figcaption id=\"caption-attachment-150161\" class=\"wp-caption-text\">FileZilla\u3067functions.php\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b<\/figcaption><\/figure>\n<p>\u3053\u308c\u3067\u30d5\u30a1\u30a4\u30eb\u304c\u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u3001\u81ea\u52d5\u7684\u306b\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u958b\u304b\u308c\u308b\u306f\u305a\u3067\u3059\u3002\u305d\u306e\u307e\u307e\u3001\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_150159\" aria-describedby=\"caption-attachment-150159\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-150159 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/03\/edit-functionsphp-ftp-code-editor-1024x560.jpg\" alt=\"FileZilla\u306b\u3088\u308a\u3001\u30ed\u30fc\u30ab\u30eb\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\uff08\u3053\u3053\u3067\u306fSublime Text\uff09\u3067\u30d5\u30a1\u30a4\u30eb\u304c\u958b\u304f\" width=\"1024\" height=\"560\"><figcaption id=\"caption-attachment-150159\" class=\"wp-caption-text\">FileZilla\u306b\u3088\u308a\u3001\u30ed\u30fc\u30ab\u30eb\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\uff08\u3053\u3053\u3067\u306fSublime Text\uff09\u3067\u30d5\u30a1\u30a4\u30eb\u304c\u958b\u304f<\/figcaption><\/figure>\n<p>\u7d42\u4e86\u3057\u305f\u3089\u3001\u5909\u66f4\u5185\u5bb9\u3092\u4fdd\u5b58\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u9589\u3058\u307e\u3059\u3002<\/p>\n<p>FileZilla\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u3001\u7de8\u96c6\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u518d\u3073\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u304b\u3069\u3046\u304b\u5c0b\u306d\u3089\u308c\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_150160\" aria-describedby=\"caption-attachment-150160\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-150160 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/03\/edit-functionsphp-ftp-reupload-1024x590.jpg\" alt=\"\u5909\u66f4\u5f8c\u306f\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u306e\u518d\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u5fd8\u308c\u305a\u306b\" width=\"1024\" height=\"590\"><figcaption id=\"caption-attachment-150160\" class=\"wp-caption-text\">\u5909\u66f4\u5f8c\u306f\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u306e\u518d\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u5fd8\u308c\u305a\u306b<\/figcaption><\/figure>\n<h2>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3057\u305f\u3044\u4fbf\u5229\u306a\u30b3\u30fc\u30c9<\/h2>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u65b9\u6cd5\u304c\u308f\u304b\u3063\u305f\u3068\u3053\u308d\u3067\u3001\u30b5\u30a4\u30c8\u306b\u8ffd\u52a0\u3067\u304d\u308b\u4fbf\u5229\u306afunctions.php\u30b3\u30fc\u30c9\u3092\u3044\u304f\u3064\u304b\u3054\u7d39\u4ecb\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u30d6\u30ed\u30b0\u8a18\u4e8b\u306b\u6700\u7d42\u66f4\u65b0\u65e5\u3092\u8868\u793a\u3059\u308b<\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u307b\u3068\u3093\u3069\u306e\u30c6\u30fc\u30de\u3067\u3001\u30d6\u30ed\u30b0\u8a18\u4e8b\u3092\u516c\u958b\u3057\u305f\u65e5\u4ed8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u53e4\u3044\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u5b9a\u671f\u7684\u306b\u66f4\u65b0\u3057\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u306f\u3001\u6700\u7d42\u300c\u66f4\u65b0\u65e5\u300d\u3082\u8868\u793a\u3059\u308b\u3068\u3044\u3046\u624b\u3082\u3042\u308a\u307e\u3059\uff08\u307e\u305f\u306f\u3001\u516c\u958b\u65e5\u3092\u6700\u7d42\u66f4\u65b0\u65e5\u306b\u7f6e\u304d\u63db\u3048\u308b\uff09\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u8a2a\u554f\u8005\u306b\u5bfe\u3057\u3066\u3001\u7d99\u7d9a\u7684\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u66f4\u65b0\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u77e5\u3089\u305b\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u9bae\u5ea6\u3092Google\u306b\u793a\u3059\u3053\u3068\u306b\u3082\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function show_last_updated( $content ) {\n$u_time = get_the_time('U');\n$u_modified_time = get_the_modified_time('U');\nif ($u_modified_time &gt;= $u_time + 86400) {\n$updated_date = get_the_modified_time('F jS, Y');\n$updated_time = get_the_modified_time('h:i a');\n$custom_content .= '&lt;p class=\"last-updated-date\"&gt;Recently updated on '. $updated_date . ' at '. $updated_time .'&lt;\/p&gt;';\n}\n$custom_content .= $content;\nreturn $custom_content;\n}\nadd_filter( 'the_content', 'show_last_updated' );<\/code><\/pre>\n<p>\u8a73\u3057\u304f\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/last-updated\/\">WordPress\u306e\u6700\u7d42\u66f4\u65b0\u65e5\u8868\u793a\u306b\u3064\u3044\u3066\u306e\u3053\u3061\u3089\u306e\u8a18\u4e8b<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u7279\u5b9a\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066WordPress\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\u3092\u7121\u52b9\u5316\u3059\u308b<\/h3>\n<p>WordPress\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u3067\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-user-roles\/\">\u30e6\u30fc\u30b6\u30fc\u6a29\u9650<\/a>\u3092\u4f7f\u7528\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u30c4\u30fc\u30eb\u30d0\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3068\u306f\u3044\u3048\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/woocommerce-tutorial\/\">WooCommerce\u30b9\u30c8\u30a2<\/a>\u306e\u5834\u5408\u306e\u3088\u3046\u306b\u3001\u72ec\u81ea\u306e\u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u306f\u3001\u5fc5\u305a\u3057\u3082\u305d\u3046\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u308c\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u3001functions.php\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u7279\u5b9a\u306e\u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u306b\u5bfe\u3057\u3066WordPress\u30c4\u30fc\u30eb\u30d0\u30fc\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001author\u3068\u3044\u3046\u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u3092\u6301\u3064\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u3001\u7ba1\u7406\u30c4\u30fc\u30eb\u30d0\u30fc\u3092\u975e\u8868\u793a\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">add_filter( 'show_admin_bar', function( $show ) {\nif ( current_user_can( 'author' ) ) {\nreturn false;\n}\nreturn $show;\n} );<\/code><\/pre>\n<h3>RSS\u30d5\u30a3\u30fc\u30c9\u306b\u6295\u7a3f\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3092\u9045\u3089\u305b\u308b<\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u516c\u958b\u3055\u308c\u308b\u3068\u3059\u3050\u306bRSS\u30d5\u30a3\u30fc\u30c9\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u3001<a href=\"https:\/\/kinsta.com\/blog\/content-scraping\/\">\u30b3\u30f3\u30c6\u30f3\u30c4\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0<\/a>\u306b\u3088\u308a\uff08Google\u304c\u672c\u6765\u306e\u8a18\u4e8b\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3059\u308b\u524d\u306b\uff09<a href=\"https:\/\/kinsta.com\/jp\/blog\/what-is-web-scraping\/\">\u3042\u306a\u305f\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3055\u308c<\/a>\u3001\u671b\u307e\u306a\u3044\u304b\u305f\u3061\u3067<a href=\"https:\/\/kinsta.com\/jp\/blog\/submit-website-to-search-engines\/\">Google\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9<\/a>\u3055\u308c\u308b\u4e8b\u614b\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u81ea\u5206\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u4ed6\u4eba\u306b\u76d7\u7528\u3055\u308c\u308b\u306e\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u3001RSS\u30d5\u30a3\u30fc\u30c9\u3067\u306e\u6295\u7a3f\u8868\u793a\u3092\u9045\u3089\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u30b3\u30f3\u30c6\u30f3\u30c4\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3092\u5b8c\u5168\u306b\u963b\u6b62\u3067\u304d\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001Google\u304c\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3059\u308b\u6642\u9593\u3092\u5148\u306b\u4e0e\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3001\u3068\u3044\u3046\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306b\u3042\u308b\u3088\u3046\u306b\u3001\u6570\u5b57\uff08\u3053\u306e\u4f8b\u3067\u306f\u300c30\u300d\uff09\u3092\u3001\u9045\u5ef6\u3055\u305b\u305f\u3044\u5206\u6570\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-php\">function kinsta_delay_feed_content($where) {\n\nglobal $wpdb;\n\nif ( is_feed() ) {\n\/\/ timestamp in WP-format\n$now = gmdate('Y-m-d H:i:s');\n\n\/\/ value for wait; + device\n$wait = '30'; \/\/ integer\n\n\/\/ http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/date-and-time-functions.html#function_timestampdiff\n$device = 'MINUTE'; \/\/MINUTE, HOUR, DAY, WEEK, MONTH, YEAR\n\n\/\/ add SQL-sytax to default $where\n$where .= \" AND TIMESTAMPDIFF($device, $wpdb-&gt;posts.post_date_gmt, '$now') &gt; $wait \";\n}\nreturn $where;\n}\n\nadd_filter('posts_where', 'kinsta_delay_feed_content');<\/code><\/pre>\n<h3>RSS\u30d5\u30a3\u30fc\u30c9\u304b\u3089\u7279\u5b9a\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u9664\u5916\u3059\u308b<\/h3>\n<p>RSS\u30d5\u30a3\u30fc\u30c9\u306b\u8868\u793a\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u9045\u5ef6\u3055\u305b\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u30d6\u30ed\u30b0\u8a18\u4e8b\u306e\u7279\u5b9a\u306e\u30ab\u30c6\u30b4\u30ea\u3092\u30b5\u30a4\u30c8\u306eRSS\u30d5\u30a3\u30fc\u30c9\u306b\u8868\u793a\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u5b9f\u73fe\u3059\u308b\u306b\u306f\u3001\u6b21\u306efunctions.php\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function kinsta_exclude_category_rss($query) {\nif ($query-&gt;is_feed) {\n$query-&gt;set('cat','-38');\n}\nreturn $query;\n}\nadd_filter('pre_get_posts','kinsta_exclude_category_rss');<\/code><\/pre>\n<p>\u4f8b\u306e\u30ab\u30c6\u30b4\u30ea\u30fcID\u300c38\u300d\u3092\u3001\u9664\u5916\u3057\u305f\u3044\u5b9f\u969b\u306e\u30ab\u30c6\u30b4\u30ea\u30fcID\u306b\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\uff08\u203b\u30de\u30a4\u30ca\u30b9\u8a18\u53f7\u3092\u524a\u9664\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\n<p>ID\u306e\u8abf\u3079\u65b9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u300c<strong>\u6295\u7a3f<\/strong>\u300d\uff1e\u300c<strong>\u30ab\u30c6\u30b4\u30ea\u30fc<\/strong>\u300d\u3067\u3001\u30b5\u30a4\u30c8\u5185\u306e\u5168\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/li>\n<li>\u9664\u5916\u3057\u305f\u3044\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u4e0b\u306b\u3042\u308b\u300c<strong>\u7de8\u96c6<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d6\u30e9\u30a6\u30b6\u306e\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u3067\u30da\u30fc\u30b8\u306eURL\u3092\u898b\u3066\u304f\u3060\u3055\u3044\u3002\u30ab\u30c6\u30b4\u30ea\u30fcID\u306f\u3001\u300c<strong>?taxonomy=category&#038;tag_ID=<\/strong>\u300d\u306e\u5f8c\u306b\u6765\u308b\u6570\u5b57\u3067\u3059\u3002<\/li>\n<\/ol>\n<p>\u4f8b\u3048\u3070\u3001URL\u304c\u300c<strong>https:\/\/yoursite.com\/wp-admin\/term.php?taxonomy=category&#038;tag_ID=38&#038;post_type=post<\/strong>\u300d\u3067\u3042\u308c\u3070\u3001\u30ab\u30c6\u30b4\u30ea\u30fcID\u306f\u300c<b>38<\/b>\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>WordPress\u306e\u30ea\u30d3\u30b8\u30e7\u30f3\u3092\u6295\u7a3f\u30bf\u30a4\u30d7\u3067\u5236\u9650\u3059\u308b<\/h3>\n<p>\u30b5\u30a4\u30c8\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u80a5\u5927\u5316\u3055\u305b\u306a\u3044\u305f\u3081\u306b\u3001\u4fdd\u5b58\u3059\u308b\u6295\u7a3f\u30ea\u30d3\u30b8\u30e7\u30f3\u306e\u6570\u3092\u5236\u9650\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-revisions\/\">WordPress\u306e\u6295\u7a3f\u30ea\u30d3\u30b8\u30e7\u30f3<\/a>\u3092\u30b5\u30a4\u30c8\u5168\u4f53\u3067\u5236\u9650\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wp-config-php\/\">\u30b5\u30a4\u30c8\u306ewp-config.php\u30d5\u30a1\u30a4\u30eb<\/a>\u3092\u7de8\u96c6\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u30d6\u30ed\u30b0\u8a18\u4e8b\u3084WooCommerce\u5546\u54c1\u306a\u3069\u3001\u6295\u7a3f\u30bf\u30a4\u30d7\u3054\u3068\u306b\u7570\u306a\u308b\u30ea\u30d3\u30b8\u30e7\u30f3\u6570\u3092\u4fdd\u5b58\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u65b9\u6cd5\u304c\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>functions.php\u306e\u30b3\u30fc\u30c9\u7de8\u96c6\u3067\u3001\u3053\u308c\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6295\u7a3f\u30bf\u30a4\u30d7\uff08\u3053\u306e\u4f8b\u3067\u306f\u300cpost\u300d\uff09\u3092\u5236\u5fa1\u3057\u305f\u3044\u5b9f\u969b\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u3001\u6570\u5b57\uff08\u3053\u306e\u4f8b\u3067\u306f\u300c5\u300d\uff09\u3092\u4fdd\u5b58\u3057\u305f\u3044\u30ea\u30d3\u30b8\u30e7\u30f3\u306e\u6570\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-php\">function kinsta_post_revisions_by_type( $revisions, $post ) {\n\nif( 'post' == $post-&gt;post_type ) {\n$revisions = 5;\n}\n\nreturn $revisions;\n\n}\n\nadd_filter( 'wp_revisions_to_keep', 'kinsta_post_revisions_by_type', 10, 2 );<\/code><\/pre>\n<p>*\u6ce8\uff09if\u306e\u76f4\u5f8c\u306b\u3042\u308bpost\u3092\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4f8b\u3048\u3070\u3001\u5546\u54c1\u3092\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u3059\u308b\u5834\u5408\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">if( 'product' == $post-&gt;post_type ) {<\/code><\/pre>\n<h3>WordPress\u306e\u691c\u7d22\u6a5f\u80fd\u3092\u7121\u52b9\u5316\u3059\u308b<\/h3>\n<p>\u691c\u7d22\u6a5f\u80fd\u3092\u5fc5\u8981\u3068\u3057\u306a\u3044\u30b5\u30a4\u30c8\u306e\u5834\u5408\u3001\u60aa\u7528\u3055\u308c\u308b\u53ef\u80fd\u6027\u3092\u9632\u3050\u305f\u3081\u306b\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-search\/\">WordPress\u306e\u691c\u7d22<\/a>\u6a5f\u80fd\u3092\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30b5\u30a4\u30c8\u306b\u691c\u7d22\u30dc\u30c3\u30af\u30b9\u3092\u8868\u793a\u305b\u305a\u3068\u3082\u3001\u30dc\u30c3\u30c8\u304cURL\u306b?s=[\u691c\u7d22\u8a9e\u53e5]\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u691c\u7d22\u6a5f\u80fd\u3092\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u963b\u6b62\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function kinsta_disable_wp_search( $query, $error = true ) {\n\nif ( is_search() ) {\n$query-&gt;is_search = false;\n$query-&gt;query_vars[s] = false;\n$query-&gt;query[s] = false;\n\n\/\/ to error\nif ( $error == true )\n$query-&gt;is_404 = true;\n}\n}\n\nadd_action( 'parse_query', 'kinsta_disable_wp_search' );\nadd_filter( 'get_search_form', create_function( '$a', \"return null;\" ) );<\/code><\/pre>\n<p>\u691c\u7d22\u6a5f\u80fd\u3092\u76f4\u63a5\u4f7f\u7528\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001404\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u81ea\u4f5c\u3059\u308b\uff08\u4f8b\uff1a\u73fe\u5728\u306e\u5e74\uff09<\/h3>\n<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-shortcodes\/\">WordPress\u306e\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9<\/a>\u306f\u3001\u52d5\u7684\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30b5\u30a4\u30c8\u306b\u57cb\u3081\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u308b\u3001\u975e\u5e38\u306b\u4fbf\u5229\u306a\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3067\u3059\u3002<\/p>\n<p>\u591a\u304f\u306eWordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/add_shortcode\/\" target=\"_blank\" rel=\"noopener noreferrer\">add_shortcode()\u95a2\u6570<\/a>\u3092\u4f7f\u3063\u3066\u3001\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u81ea\u4f5c\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u3088\u304f\u3042\u308b\u4f7f\u7528\u4f8b\u3068\u3057\u3066\u3001\u73fe\u5728\u306e\u5e74\u3092\u52d5\u7684\u306b\u8868\u793a\u3059\u308b\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002\u3053\u308c\u3092\u4f7f\u3048\u3070\u3001\u6bce\u5e741\u67081\u65e5\u306b\u624b\u52d5\u3067\u66f4\u65b0\u3057\u306a\u304f\u3066\u3082\u3001\u3059\u3079\u3066\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3067\u81ea\u52d5\u7684\u306b\u73fe\u5728\u306e\u5e74\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306e\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u306b\u306f\u3001\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function year_shortcode() {\n$year = date('Y');\nreturn $year;\n}\nadd_shortcode('currentyear', 'year_shortcode');<\/code><\/pre>\n<p>\u305d\u3057\u3066\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u306b[currentyear]\u3068\u3044\u3046\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u3068\u3001\u81ea\u52d5\u3067\u5b9f\u969b\u306e\u5e74\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u307e\u3059\uff08\u4f8b\uff1a2023\uff09\u3002<\/p>\n<h3>\u6295\u7a3f\u30bf\u30a4\u30c8\u30eb\u3067\u306e\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u5229\u7528\u3092\u8a31\u53ef\u3059\u308b<\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001WordPress\u306e\u6295\u7a3f\u306e\u30bf\u30a4\u30c8\u30eb\u306b\u8a18\u8ff0\u3055\u308c\u305f\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u306f\u5b9f\u884c\u3055\u308c\u307e\u305b\u3093\u3002WordPress\u306e\u6295\u7a3f\u30bf\u30a4\u30c8\u30eb\u3067\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u7c21\u5358\u306a\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u3001\u6a5f\u80fd\u3092\u6709\u52b9\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u5148\u307b\u3069\u306e\u30b3\u30fc\u30c9\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u3001[currentyear]\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u6295\u7a3f\u30bf\u30a4\u30c8\u30eb\u306b\u73fe\u5728\u306e\u5e74\u3092\u81ea\u52d5\u3067\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">add_filter( 'the_title', 'do_shortcode' );<\/code><\/pre>\n<h3>\u30ed\u30b0\u30a4\u30f3\u30a8\u30e9\u30fc\u306e\u975e\u8868\u793a\u3067\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5411\u4e0a<\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001WordPress\u3067\u306e\u30ed\u30b0\u30a4\u30f3\u304c\u5931\u6557\u3059\u308b\u3068\u3001\u305d\u308c\u3092\u8aac\u660e\u3059\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3001\u7279\u5b9a\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304c\u3042\u306a\u305f\u306e\u30b5\u30a4\u30c8\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\uff08\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u5834\u5408\u3067\u3082\uff09\u306a\u3069\u3001\u3042\u308b\u7a2e\u306e\u624b\u304c\u304b\u308a\u3092\u793a\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u6f5c\u5728\u7684\u306a\u6a5f\u5bc6\u60c5\u5831\u306e\u6f0f\u6d29\u3092\u9632\u3050\u305f\u3081\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u30a8\u30e9\u30fc\u3092\u96a0\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function kinsta_hide_login_errors(){\nreturn 'These are not valid credentials';\n}\nadd_filter( 'login_errors', 'kinsta_hide_login_errors' );<\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30ed\u30b0\u30a4\u30f3\u30a8\u30e9\u30fc\u30c6\u30ad\u30b9\u30c8\u304c\u300c<strong>These are not valid credentials\uff08\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u304c\u6709\u52b9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\uff09<\/strong>\u300d\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30ad\u30b9\u30c8\u306f\u304a\u597d\u307f\u3067\u5909\u66f4\u3067\u304d\u307e\u3059\u304c\u3001\u30c0\u30c3\u30b7\u30e5\u3084\u30b9\u30e9\u30c3\u30b7\u30e5\u306a\u3069\u306e\u6587\u5b57\u306f\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u306a\u308b\u3079\u304f\u4f7f\u308f\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u203b\u3053\u308c\u3089\u306e\u6587\u5b57\u3092\u300c\u30a8\u30b9\u30b1\u30fc\u30d7\u300d\u3059\u308b\u5834\u5408\u3092\u9664\u304f\uff09\u3002<\/p>\n<h3>\u629c\u7c8b\u306e\u9577\u3055\u3092\u5909\u66f4\u3059\u308b<\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001WordPress\u306e\u629c\u7c8b\u306f\u3001\u8a18\u4e8b\u306e\u6700\u521d\u306e55\u30ef\u30fc\u30c9\uff08\u65e5\u672c\u8a9e\u3067\u306f110\u6587\u5b57\uff09\u307e\u3067\u306e\u8868\u793a\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u8abf\u6574\u3059\u308b\u306b\u306f\u3001functions.php \u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function kinsta_change_excerpt_length($length) {\nreturn 90;\n}\nadd_filter('excerpt_length', 'kinsta_change_excerpt_length');<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306b\u3088\u308a\u3001\u629c\u7c8b\u306e\u9577\u3055\u304c90\u30ef\u30fc\u30c9\u306b\u5909\u66f4\u3055\u308c\u307e\u3059\u3002\u5225\u306e\u6570\u5b57\u304c\u3044\u3044\u5834\u5408\u306b\u306f\u3001\u300c90\u300d\u306e\u90e8\u5206\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>WordPress\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3092\u524a\u9664\u3059\u308b<\/h3>\n<p>\u60aa\u610f\u306e\u3042\u308b\u4eba\u304cWordPress\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u691c\u77e5\u3059\u308b\u306e\u3092\u96e3\u3057\u304f\u3059\u308b\u305f\u3081\u306b\u3001WordPress\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3092\u30b5\u30a4\u30c8\u306e\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u30b3\u30fc\u30c9\u306e\u3069\u3053\u306b\u3082\u8868\u793a\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u884c\u3046\u306b\u306f\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function kinsta_hide_version() {\nreturn '';\n}\nadd_filter('the_generator', 'kinsta_hide_version');<\/code><\/pre>\n<h3>WordPress\u306e\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3059\u308b<\/h3>\n<p>\u30c6\u30fc\u30de\u3067\u306e\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u306e\u52d5\u4f5c\u306b\u6e80\u8db3\u3067\u304d\u306a\u3044\u5834\u5408\u306b\u306f\u3001functions.php\u306e\u30b3\u30fc\u30c9\u3067\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u306e\u52d5\u4f5c\u3092\u8abf\u6574\u3057\u305f\u308a\u3001\u72ec\u81ea\u306e\u30b7\u30b9\u30c6\u30e0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u8abf\u6574\u306b\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-pagination\/\">WordPress\u306e\u30da\u30fc\u30b8\u30cd\u30fc\u30b7\u30e7\u30f3\u306b\u95a2\u3059\u308b\u3053\u3061\u3089\u306e\u8a18\u4e8b<\/a>\uff08functions.php\u306e\u30b3\u30fc\u30c9\u4f8b\u3042\u308a\uff09\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u691c\u7d22\u4e00\u89a7\u30da\u30fc\u30b8\u306b\u8868\u793a\u3059\u308b\u691c\u7d22\u7d50\u679c\u306e\u6570\u3092\u5909\u66f4\u3059\u308b<\/h3>\n<p>WordPress\u306b\u306f\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306b\u63b2\u8f09\u3059\u308b\u8a18\u4e8b\u306e\u6570\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\uff08\u300c<strong>\u8a2d\u5b9a<\/strong>\u300d\uff1e\u300c<strong>\u8868\u793a\u8a2d\u5b9a<\/strong>\u300d\uff09\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u3053\u306e\u65b9\u6cd5\u3067\u306f\u3001\u3059\u3079\u3066\u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u8a2d\u5b9a\u304c\u5909\u66f4\u3055\u308c\u307e\u3059\u3002\u691c\u7d22\u7d50\u679c\u30da\u30fc\u30b8\u3060\u3051\u5225\u306e\u6570\u306b\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><span style=\"font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;font-size: 1rem\">\u6b21\u306e\u30b3\u30fc\u30c9\u3092functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002\u6570\u5b57\uff08\u3053\u306e\u4f8b\u3067\u306f\u300c12\u300d\uff09\u306e\u90e8\u5206\u3092\u3001\u5b9f\u969b\u306b\u8868\u793a\u3059\u308b1\u30da\u30fc\u30b8\u3042\u305f\u308a\u306e\u7d50\u679c\u6570\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<pre><code class=\"language-php\">function kinsta_search_results_list() {\nif ( is_search() )\nset_query_var('posts_per_archive_page', 12);\n}\n\nadd_filter('pre_get_posts', 'kinsta_search_results_list');<\/code><\/pre>\n<h3>WordPress\u306eRSS\u30d5\u30a3\u30fc\u30c9\u306b\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\u3092\u63b2\u8f09\u3059\u308b<\/h3>\n<p>RSS\u30d5\u30a3\u30fc\u30c9\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u306b<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-featured-image-not-showing\/\">\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf<\/a>\u3092\u7d44\u307f\u8fbc\u3080\u306b\u306f\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function kinsta_featured_image_rss($content) {\nglobal $post;\nif ( has_post_thumbnail( $post-&gt;ID ) ){\n$content = '&lt;div&gt;' . get_the_post_thumbnail( $post-&gt;ID, 'full', array( 'style' =&gt; 'margin-bottom: 15px;' ) ) . '&lt;\/div&gt;' . $content;\n}\nreturn $content;\n}\n\nadd_filter('the_excerpt_rss', 'kinsta_featured_image_rss');\nadd_filter('the_content_feed', 'kinsta_featured_image_rss');<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u3001\u30d5\u30eb\u30b5\u30a4\u30ba\u306e\u753b\u50cf\u304c\u633f\u5165\u3055\u308c\u307e\u3059\u3002\u5225\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u300cfull\u300d\u3092\u5225\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u30b5\u30a4\u30ba\uff08\u4f8b\uff1a\u300clarge\u300d\u307e\u305f\u306f\u300cmedium\u300d\uff09\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7\uff08\u4f8b\uff1aSVG\uff09\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u30b5\u30dd\u30fc\u30c8<\/h3>\n<p>WordPress\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/what-is-an-svg-file\/\">SVG\u30d5\u30a1\u30a4\u30eb<\/a>\u306a\u3069\u7279\u5b9a\u306e\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u30d6\u30ed\u30c3\u30af\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u7279\u5b9a\u306e\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7\u306e\u30b5\u30dd\u30fc\u30c8\u3092\u6709\u52b9\u306b\u3059\u308b\u306b\u306f\u3001WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function kinsta_myme_types($mime_types){\n$mime_types['svg'] = 'image\/svg+xml';\nreturn $mime_types;\n}\nadd_filter('upload_mimes', 'kinsta_myme_types', 1, 1);<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306fSVG\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u307f\u3092\u6709\u52b9\u306b\u3059\u308b\u3082\u306e\u3067\u3059\u304c\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7\u3082\u5bfe\u5fdc\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>\u975e\u7ba1\u7406\u8005\u5411\u3051WordPress\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u901a\u77e5\u3092\u975e\u8868\u793a\u306b\u3059\u308b<\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001WordPress\u3067<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-version\/\">\u65b0\u3057\u3044\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u5229\u7528\u53ef\u80fd<\/a>\u306b\u306a\u308b\u3068\u3001\u7ba1\u7406\u753b\u9762\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u5168\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u306b\u3088\u3063\u3066\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u5b9f\u884c\u3067\u304d\u306a\u3044\u5834\u5408\u3067\u3082\u3001\u7ba1\u7406\u8005\u306b\u305d\u306e\u65e8\u3092\u9023\u7d61\u3059\u308b\u3088\u3046\u306b\u6307\u793a\u304c\u51fa\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u8abf\u6574\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u7ba1\u7406\u8005\u4ee5\u5916\u306e\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u901a\u77e5\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"language-php\"><code class=\"language-php\"><span class=\"token keyword\">function<\/span> <span class=\"token function-definition function\">kinsta_hide_update_nag<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span>\n<span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span> <span class=\"token operator\">!<\/span> <span class=\"token function\">current_user_can<\/span><span class=\"token punctuation\">(<\/span> <span class=\"token string single-quoted-string\">'update_core'<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span>\n<span class=\"token function\">remove_action<\/span><span class=\"token punctuation\">(<\/span> <span class=\"token string single-quoted-string\">'admin_notices'<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string single-quoted-string\">'update_nag'<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">3<\/span> <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\n<span class=\"token punctuation\">}<\/span>\n<span class=\"token punctuation\">}<\/span>\n\n<span class=\"token function\">add_action<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string single-quoted-string\">'admin_menu'<\/span><span class=\"token punctuation\">,<\/span><span class=\"token string single-quoted-string\">'kinsta_hide_update_nag'<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/code><\/pre>\n<p>\u305d\u306e\u4ed6\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u306f\u3001\u300c<a href=\"https:\/\/kinsta.com\/blog\/disable-wordpress-update-notification\/\">WordPress\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u901a\u77e5\u3092\u7121\u52b9\u306b\u3059\u308b\u65b9\u6cd5<\/a>\u300d\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>JPEG\u81ea\u52d5\u753b\u50cf\u6700\u9069\u5316\u306e\u30ec\u30d9\u30eb\u3092\u5909\u66f4\u3059\u308b<\/h3>\n<p>\u3053\u306e\u6a5f\u80fd\u306f\u3042\u307e\u308a\u77e5\u3089\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u3001WordPress\u306b\u753b\u50cf\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3001<a href=\"https:\/\/kinsta.com\/blog\/wordpress-image-sizes\/\">\u30b5\u30a4\u30c8\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u4f5c\u6210<\/a>\u306e\u305f\u3081\u306b\u3001<a href=\"https:\/\/kinsta.com\/blog\/lossy-compression\/#wordpress-automatically-compresses-images\">JPEG\u753b\u50cf\u304c\u81ea\u52d5\u3067\u5727\u7e2e<\/a>\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>WordPress 4.5\u4ee5\u964d\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u753b\u8cea\u30ec\u30d9\u30eb\u306f82\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\uff08\u203b100\u306f\u5727\u7e2e\u30bc\u30ed\u306b\u306a\u308a\u307e\u3059\uff09\u3002<\/p>\n<p>\u6b21\u306e\u30b3\u30fc\u30c9\u3092functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u6570\u5b57\uff08\u3053\u306e\u4f8b\u3067\u306f\u300c90\u300d\uff09\u3092\u5b9f\u969b\u306b\u4f7f\u7528\u3057\u305f\u3044\u54c1\u8cea\u30ec\u30d9\u30eb\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-php\">add_filter( 'jpeg_quality', create_function( '', 'return 90;' ) );<\/code><\/pre>\n<h2>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u6574\u7406\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/h2>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u3001\u3044\u304f\u3064\u304b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051\u3067\u3042\u308c\u3070\u3001\u304a\u305d\u3089\u304f\u6574\u7406\u306b\u3064\u3044\u3066\u5fc3\u914d\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u30b5\u30a4\u30c8\u306b\u591a\u304f\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3068\u306a\u308b\u3068\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u6210\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306b\u5f93\u308f\u306a\u3044\u3068\u3001\u3059\u3050\u306b\u6271\u3044\u306b\u304f\u304f\u3001\u8907\u96d1\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u30b3\u30fc\u30c9\u306e\u6574\u7406\u306b\u3064\u3044\u3066\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u7c21\u5358\u306b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30b3\u30e1\u30f3\u30c8\u3092\u8ffd\u52a0\u3057\u3066\u8aac\u660e\u3059\u308b<\/h3>\n<p>functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u305f\u3068\u304d\u306b\u306f\u3001\u305d\u306e\u5f79\u5272\u3001\u8ffd\u52a0\u3057\u305f\u7406\u7531\u304c\u306f\u3063\u304d\u308a\u3057\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002\u3057\u304b\u3057\u30011\u5e74\u5f8c\u306bfunctions.php\u30d5\u30a1\u30a4\u30eb\u3092\u898b\u8fd4\u3057\u305f\u3068\u304d\u3001\u982d\u3092\u62b1\u3048\u308b\u3053\u3068\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u308c\u3092\u907f\u3051\u308b\u306b\u306f\u3001\u5404\u30b3\u30fc\u30c9\u306b\u30b3\u30e1\u30f3\u30c8\u3092\u4ed8\u3051\u3066\u3001\u4f55\u304c\u3067\u304d\u308b\u306e\u304b\u3001\u305d\u3057\u3066\u3001\u306a\u305c\u8ffd\u52a0\u3057\u305f\u306e\u304b\u3092\u660e\u78ba\u306b\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><em>\u30b3\u30fc\u30c9\u306b\u4ed8\u3059\u3053\u3068\u306e\u3067\u304d\u308b\u30b3\u30e1\u30f3\u30c8\u306f\u3001WordPress\u3067\u306f\u5b9f\u884c\u3055\u308c\u305a\u3001\u4eba\u9593\u304c\u8aad\u3080\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u30b3\u30fc\u30c9\u306e\u4e2d\u8eab\u304c\u4e00\u773c\u3067\u308f\u304b\u308a\u307e\u3059\u3002<\/em><\/p>\n<p>1\u884c\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u3053\u306e\u5f62\u5f0f\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">\/\/ 1\u884c\u306e\u30b3\u30e1\u30f3\u30c8<\/code><\/pre>\n<p>\u8907\u6570\u884c\u306e\u30b3\u30e1\u30f3\u30c8\u3067\u306f\u3001\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">\/**\n* \u8907\u6570\u884c\u306b\u307e\u305f\u304c\u308b\u30b3\u30e1\u30f3\u30c8\u958b\u59cb\n* \u4e2d\u6bb5\n* \u6700\u7d42\u884c\n*\/\n<\/code><\/pre>\n<p>\u5404\u30b3\u30fc\u30c9\u306e\u524d\u306b\u30b3\u30e1\u30f3\u30c8\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u4e2d\u8eab\u304c\u306f\u3063\u304d\u308a\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_150163\" aria-describedby=\"caption-attachment-150163\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-150163 size-large\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/03\/using-code-comments-1024x777.jpg\" alt=\"functions.php\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u30b3\u30fc\u30c9\u3092\u8aac\u660e\u3059\u308b\u30b3\u30e1\u30f3\u30c8\u306e\u4f8b\" width=\"1024\" height=\"777\"><figcaption id=\"caption-attachment-150163\" class=\"wp-caption-text\">functions.php\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u30b3\u30fc\u30c9\u3092\u8aac\u660e\u3059\u308b\u30b3\u30e1\u30f3\u30c8\u306e\u4f8b<\/figcaption><\/figure>\n<h3>\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb\u306b\u5206\u96e2\u3059\u308b<\/h3>\n<p>\u30b3\u30fc\u30c9\u306e\u91cf\u304c\u5897\u3048\u305f\u6642\u306b\u306f\u3001functions.php\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u3092\u4f7f\u3046\u306e\u3067\u306f\u306a\u304f\u3001\u5225\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001include\u3084require\u3092\u4f7f\u3063\u3066\u3001\u30b3\u30fc\u30c9\u3092functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u53d6\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Mike Schinkel\u6c0f\u304cStackExchange\u3067\u3001<a href=\"https:\/\/wordpress.stackexchange.com\/questions\/1403\/organizing-code-in-your-wordpress-themes-functions-php-file\" target=\"_blank\" rel=\"noopener noreferrer\">\u3059\u3050\u308c\u305f\u4f8b<\/a>\u3092\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\uff08\u524d\u8ff0\u306e\u3088\u3046\u306b\uff09functions.php\u306e\u4ee3\u66ff\u6848\u3092\u6d3b\u7528\u3059\u308b<\/h3>\n<p>functions.php\u30d5\u30a1\u30a4\u30eb\u304c\u5c11\u3057\u3054\u3061\u3083\u3054\u3061\u3083\u3057\u3066\u304d\u305f\u3068\u611f\u3058\u305f\u3089\u3001\u5148\u306b\u8aac\u660e\u3057\u305ffunctions.php\u306e\u4ee3\u308f\u308a\u3068\u306a\u308b\u8853\u3092\u9078\u3076\u3068\u3088\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001<a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u7121\u6599\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u300cCode Snippets\u300d<\/a>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3001\u305d\u308c\u305e\u308c\u306b\u30bf\u30a4\u30c8\u30eb\u3068\u8aac\u660e\u3092\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u6574\u7406\u304c\u6357\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u30bf\u30b0\u3092\u4f7f\u3063\u3066\u30b3\u30fc\u30c9\u3092\u6574\u7406\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n<h2>\u307e\u3068\u3081<\/h2>\n<p>WordPress\u306efunctions.php\u306f\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306bPHP\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u969b\u306b\u6d3b\u7528\u3067\u304d\u308b\u3001\u975e\u5e38\u306b\u5927\u4e8b\u306a\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<p>functions.php\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u969b\u306b\u306f\u3001\u30c6\u30fc\u30de\u66f4\u65b0\u6642\u306b\u5909\u66f4\u304c\u4e0a\u66f8\u304d\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u3001\u5e38\u306b\u5b50\u30c6\u30fc\u30de\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001\u30b3\u30fc\u30c9\u306e\u8ffd\u52a0\u524d\u306b\u30b5\u30a4\u30c8\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308a\u3001\u53ef\u80fd\u306a\u9650\u308a\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u30b5\u30a4\u30c8\u3067\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>functions.php\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u306b\u7de8\u96c6\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u30b3\u30fc\u30c9\u306e\u7ba1\u7406\u306b\u4fbf\u5229\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3084\u3001\u30b3\u30fc\u30c9\u683c\u7d0d\u7528\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u81ea\u4f5c\u306a\u3069\u3082\u3054\u691c\u8a0e\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306e\u5f79\u5272\u3084\u4f7f\u3044\u65b9\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u3042\u3089\u3086\u308b\u7a2e\u985e\u306e\u4fbf\u5229\u306a\u6a5f\u80fd\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u8a18\u306efunctions.php\u306e\u4f8b\u306f\u3001\u3042\u304f\u307e\u3067\u3082\u4e00\u90e8\u306e\u4f8b\u306b\u904e\u304e\u307e\u305b\u3093\u3002\u3044\u304f\u3089\u3067\u3082\u8abf\u6574\u3092\u52a0\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306efunctions.php\u30d5\u30a1\u30a4 &#8230;<\/p>\n","protected":false},"author":199,"featured_media":44320,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[],"topic":[],"class_list":["post-44319","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\uff08\u5fb9\u5e95\u89e3\u8aac\uff0b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u4f8b\uff09\uff5c Kinsta\u00ae<\/title>\n<meta name=\"description\" content=\"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u5927\u4e8b\u306a\u30dd\u30a4\u30f3\u30c8\u3068\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002functions.php\u306b\u8ffd\u52a0\u3057\u305f\u304417\u306e\u4fbf\u5229\u306a\u30b3\u30fc\u30c9\u4f8b\u3082\u6271\u3044\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\uff08\u5fb9\u5e95\u89e3\u8aac\uff0b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u4f8b\uff09\" \/>\n<meta property=\"og:description\" content=\"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u5927\u4e8b\u306a\u30dd\u30a4\u30f3\u30c8\u3068\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002functions.php\u306b\u8ffd\u52a0\u3057\u305f\u304417\u306e\u4fbf\u5229\u306a\u30b3\u30fc\u30c9\u4f8b\u3082\u6271\u3044\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-05T07:51:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-14T13:44:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"3042\" \/>\n\t<meta property=\"og:image:height\" content=\"1521\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeremy Holcombe\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u5927\u4e8b\u306a\u30dd\u30a4\u30f3\u30c8\u3068\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002functions.php\u306b\u8ffd\u52a0\u3057\u305f\u304417\u306e\u4fbf\u5229\u306a\u30b3\u30fc\u30c9\u4f8b\u3082\u6271\u3044\u307e\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeremy Holcombe\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/\"},\"author\":{\"name\":\"Jeremy Holcombe\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/4eee42881d7b5a73ebb4f58dd5223b21\"},\"headline\":\"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\uff08\u5fb9\u5e95\u89e3\u8aac\uff0b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u4f8b\uff09\",\"datePublished\":\"2023-04-05T07:51:39+00:00\",\"dateModified\":\"2023-04-14T13:44:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/\"},\"wordCount\":438,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/\",\"name\":\"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\uff08\u5fb9\u5e95\u89e3\u8aac\uff0b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u4f8b\uff09\uff5c Kinsta\u00ae\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg\",\"datePublished\":\"2023-04-05T07:51:39+00:00\",\"dateModified\":\"2023-04-14T13:44:26+00:00\",\"description\":\"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u5927\u4e8b\u306a\u30dd\u30a4\u30f3\u30c8\u3068\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002functions.php\u306b\u8ffd\u52a0\u3057\u305f\u304417\u306e\u4fbf\u5229\u306a\u30b3\u30fc\u30c9\u4f8b\u3082\u6271\u3044\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#primaryimage\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg\",\"width\":3042,\"height\":1521},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\uff08\u5fb9\u5e95\u89e3\u8aac\uff0b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u4f8b\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinsta.com\/jp\/#website\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/4eee42881d7b5a73ebb4f58dd5223b21\",\"name\":\"Jeremy Holcombe\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0e17001f3bb37dbbe54fceef9bb547fa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0e17001f3bb37dbbe54fceef9bb547fa?s=96&d=mm&r=g\",\"caption\":\"Jeremy Holcombe\"},\"description\":\"Senior Editor at Kinsta, WordPress Web Developer, and Content Writer. Outside of all things WordPress, I enjoy the beach, golf, and movies. I also have tall people problems.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/jeremyholcombe\/\"],\"url\":\"https:\/\/kinsta.com\/jp\/blog\/author\/jeremyholcombe\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\uff08\u5fb9\u5e95\u89e3\u8aac\uff0b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u4f8b\uff09\uff5c Kinsta\u00ae","description":"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u5927\u4e8b\u306a\u30dd\u30a4\u30f3\u30c8\u3068\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002functions.php\u306b\u8ffd\u52a0\u3057\u305f\u304417\u306e\u4fbf\u5229\u306a\u30b3\u30fc\u30c9\u4f8b\u3082\u6271\u3044\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/","og_locale":"ja_JP","og_type":"article","og_title":"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\uff08\u5fb9\u5e95\u89e3\u8aac\uff0b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u4f8b\uff09","og_description":"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u5927\u4e8b\u306a\u30dd\u30a4\u30f3\u30c8\u3068\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002functions.php\u306b\u8ffd\u52a0\u3057\u305f\u304417\u306e\u4fbf\u5229\u306a\u30b3\u30fc\u30c9\u4f8b\u3082\u6271\u3044\u307e\u3059\u3002","og_url":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2023-04-05T07:51:39+00:00","article_modified_time":"2023-04-14T13:44:26+00:00","og_image":[{"width":3042,"height":1521,"url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg","type":"image\/jpeg"}],"author":"Jeremy Holcombe","twitter_card":"summary_large_image","twitter_description":"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u5927\u4e8b\u306a\u30dd\u30a4\u30f3\u30c8\u3068\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002functions.php\u306b\u8ffd\u52a0\u3057\u305f\u304417\u306e\u4fbf\u5229\u306a\u30b3\u30fc\u30c9\u4f8b\u3082\u6271\u3044\u307e\u3059\u3002","twitter_image":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg","twitter_creator":"@Kinsta_JP","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Jeremy Holcombe","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#article","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/"},"author":{"name":"Jeremy Holcombe","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/4eee42881d7b5a73ebb4f58dd5223b21"},"headline":"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\uff08\u5fb9\u5e95\u89e3\u8aac\uff0b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u4f8b\uff09","datePublished":"2023-04-05T07:51:39+00:00","dateModified":"2023-04-14T13:44:26+00:00","mainEntityOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/"},"wordCount":438,"commentCount":0,"publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/","url":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/","name":"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\uff08\u5fb9\u5e95\u89e3\u8aac\uff0b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u4f8b\uff09\uff5c Kinsta\u00ae","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#primaryimage"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg","datePublished":"2023-04-05T07:51:39+00:00","dateModified":"2023-04-14T13:44:26+00:00","description":"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u5927\u4e8b\u306a\u30dd\u30a4\u30f3\u30c8\u3068\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002functions.php\u306b\u8ffd\u52a0\u3057\u305f\u304417\u306e\u4fbf\u5229\u306a\u30b3\u30fc\u30c9\u4f8b\u3082\u6271\u3044\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#primaryimage","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/04\/wordpress-functions-php.jpg","width":3042,"height":1521},{"@type":"BreadcrumbList","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"WordPress\u306efunctions.php\u30d5\u30a1\u30a4\u30eb\u3068\u306f\uff08\u5fb9\u5e95\u89e3\u8aac\uff0b\u5f79\u7acb\u3064\u30b3\u30fc\u30c9\u4f8b\uff09"}]},{"@type":"WebSite","@id":"https:\/\/kinsta.com\/jp\/#website","url":"https:\/\/kinsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/4eee42881d7b5a73ebb4f58dd5223b21","name":"Jeremy Holcombe","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0e17001f3bb37dbbe54fceef9bb547fa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0e17001f3bb37dbbe54fceef9bb547fa?s=96&d=mm&r=g","caption":"Jeremy Holcombe"},"description":"Senior Editor at Kinsta, WordPress Web Developer, and Content Writer. Outside of all things WordPress, I enjoy the beach, golf, and movies. I also have tall people problems.","sameAs":["https:\/\/www.linkedin.com\/in\/jeremyholcombe\/"],"url":"https:\/\/kinsta.com\/jp\/blog\/author\/jeremyholcombe\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/44319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/users\/199"}],"replies":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/comments?post=44319"}],"version-history":[{"count":14,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/44319\/revisions"}],"predecessor-version":[{"id":44441,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/44319\/revisions\/44441"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/44319\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/44319\/translations\/it"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/44319\/translations\/pt"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/44319\/translations\/fr"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/44319\/translations\/de"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/44319\/translations\/jp"},{"embeddable":true,"hreflang":"nl","title":"Dutch","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/44319\/translations\/nl"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/44319\/translations\/es"},{"embeddable":true,"hreflang":"sv","title":"Swedish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/44319\/translations\/se"},{"embeddable":true,"hreflang":"da","title":"Danish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/44319\/translations\/dk"},{"href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/44319\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media\/44320"}],"wp:attachment":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media?parent=44319"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/tags?post=44319"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/topic?post=44319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}