{"id":472,"date":"2021-11-13T19:24:07","date_gmt":"2021-11-13T10:24:07","guid":{"rendered":"https:\/\/tecchan.jp\/swell-tips\/?p=472"},"modified":"2022-02-13T17:07:51","modified_gmt":"2022-02-13T08:07:51","slug":"snippets","status":"publish","type":"post","link":"https:\/\/tecchan.jp\/swell-tips\/entry\/snippets\/","title":{"rendered":"SWELL\u306b\u4efb\u610f\u306eHTML\u30fbCSS\u30fbJavaScript\u30fbPHP\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<p>SWELL\u3092\u72ec\u81ea\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305f\u3044\u65b9\u5411\u3051\u306b\u3001<strong>HTML\u30fbCSS\u30fbJavaScript\u30fbPHP<\/strong>\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u306e\u4e00\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>SWELL\u3060\u3051\u3067\u306f\u306a\u304f\u3001WordPress\u5171\u901a\u306e\u57fa\u790e\u77e5\u8b58\u3082\u62bc\u3055\u3048\u3089\u308c\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u4ee5\u4e0b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"wp-block-group has-border -border03\"><div class=\"wp-block-group__inner-container\">\n<p>\u3053\u3053\u3067\u7d39\u4ecb\u3059\u308b\u306e\u306f\u3042\u304f\u307e\u3067\u4e00\u4f8b\u3067\u3001\u305d\u306e\u4ed6\u306b\u3082\u69d8\u3005\u306a\u65b9\u6cd5\u304c\u3042\u308b\u70b9\u306b\u306f\u3054\u7559\u610f\u304f\u3060\u3055\u3044\u3002\u305f\u3060\u3057\u3001<strong>\u89aa\u30c6\u30fc\u30de\u306b\u76f4\u63a5\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0<\/strong>\u3059\u308b\u3053\u3068\u3060\u3051\u306f\u3001\u7d76\u5bfe\u306b\u884c\u308f\u306a\u3044\u3067\u304f\u3060\u3055\u3044\uff08\u30c6\u30fc\u30de\u3092\u66f4\u65b0\u3059\u308b\u3068\u3001\u8ffd\u52a0\u3057\u305f\u30b3\u30fc\u30c9\u304c\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\uff09\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u7279\u306b<a rel=\"noreferrer noopener\" href=\"https:\/\/swell-theme.com\/download\/swell-child\/\" target=\"_blank\">\u5b50\u30c6\u30fc\u30de<\/a>\u3084<a rel=\"noreferrer noopener\" href=\"https:\/\/ja.wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\">Code Snippets\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u306a\u3069\u3092\u7528\u3044\u308b\u5834\u5408\u306b\u306f\u3001\u4e8b\u524d\u306b\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002\u3067\u304d\u308b\u3060\u3051\u3001\u30c6\u30b9\u30c8\u74b0\u5883\uff08<a rel=\"noreferrer noopener\" href=\"https:\/\/localwp.com\/\" target=\"_blank\">Local<\/a>\u306a\u3069\uff09\u3067\u4e8b\u524d\u306b\u30c6\u30b9\u30c8\u3057\u3066\u304a\u304f\u3068\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n<\/div><\/div>\n\n\n<div class=\"p-blogParts post_content\" data-partsID=\"1517\">\n<div class=\"wp-block-group is-style-big_icon_caution\"><div class=\"wp-block-group__inner-container\">\n<p>\u81ea\u5206\u3067<code class=\"file_name\">functions.php<\/code>\u3092\u7de8\u96c6\u3059\u308b\u5834\u5408\u3084\u3001<a href=\"https:\/\/ja.wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\" rel=\"noreferrer noopener\">Code Snippets\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u3001\u30b3\u30fc\u30c9\u306e\u8ffd\u52a0\u306e\u4ed5\u65b9\u3092\u8aa4\u3063\u305f\u3068\u304d\u306bWordPress\u81ea\u4f53\u304c\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3001\u30b5\u30a4\u30c8\u304c\u95b2\u89a7\u3067\u304d\u306a\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3046\u3057\u305f\u5834\u5408\u306e\u6ce8\u610f\u70b9\u3092\u4ee5\u4e0b\u306e\u8a18\u4e8b\u306b\u307e\u3068\u3081\u305f\u306e\u3067\u3001\u305c\u3072\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<a href=\"https:\/\/tecchan.jp\/entry\/210324-wptips\/#snippets\" class=\"c-blogLink -external\" data-style=\"text\">\n\t\t\t\t<!-- <i class=\"c-blogLink__icon icon-link\" role=\"presentation\"><\/i> -->\n\t\t\t\t<span class=\"c-blogLink__icon\">\n\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"swl-svg-externalLink __svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 40 40\" role=\"img\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M37,15V4.5C37,3.7,36.3,3,35.5,3H25c-0.8,0-1.5,0.7-1.5,1.5v0C23.5,5.3,24.2,6,25,6h6.9L18.5,19.3c-0.6,0.6-0.6,1.5,0,2.1 l0,0c0.6,0.6,1.5,0.6,2.1,0L34,8.1V15c0,0.8,0.7,1.5,1.5,1.5l0,0C36.3,16.5,37,15.8,37,15z\"\/><path d=\"M31.9,23.9v8.5c0,1.1-0.9,2-2,2h-22c-1.1,0-2-0.9-2-2v-22c0-1.1,0.9-2,2-2h8.5c0.8,0,1.5-0.7,1.5-1.5v0 c0-0.8-0.7-1.5-1.5-1.5H7.9c-2.8,0-5,2.2-5,5v22c0,2.8,2.2,5,5,5h22c2.8,0,5-2.2,5-5v-8.5c0-0.8-0.7-1.5-1.5-1.5h0 C32.6,22.4,31.9,23.1,31.9,23.9z\"\/><\/svg>\t\t\t\t<\/span>\n\t\t\t\t<span class=\"c-blogLink__text\">WordPress\u306e\u3061\u3087\u3063\u3068\u3057\u305f\u5f79\u7acb\u3064Tips | \u3057\u3089\u3053\uff06\u304f\u308d\u306b\u3083\u3093\u306e\u65e5\u5e38<\/span>\n\t\t\t<\/a>\n\t\t<\/div><\/div><\/div>\n<\/div>\n\n\n<h2 id=\"html\u3092\u8ffd\u52a0\u3059\u308b\">HTML\u3092\u8ffd\u52a0\u3059\u308b<\/h2>\n\n\n\n<h3 id=\"\u8a18\u4e8b\u306e\u4efb\u610f\u306e\u5834\u6240-\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\">\u8a18\u4e8b\u306e\u4efb\u610f\u306e\u5834\u6240\u3010\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\u3011<\/h3>\n\n\n\n<p>\u30d6\u30ed\u30c3\u30af\u306e\u3001\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8 &gt; <strong>\u30ab\u30b9\u30bf\u30e0HTML<\/strong>\u30d6\u30ed\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n\n\n\n<h3 id=\"\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8-\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\">\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3010\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\u3011<\/h3>\n\n\n\n<p>\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8 &gt; <strong>\u30ab\u30b9\u30bf\u30e0HTML<\/strong>\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n\n\n\n<h3 id=\"\u305d\u306e\u4ed6\u306e\u5834\u6240\">\u305d\u306e\u4ed6\u306e\u5834\u6240<\/h3>\n\n\n\n<p>SWELL\u3067HTML\u3092\u8ffd\u52a0\u3067\u304d\u308b\u3001\u305d\u306e\u4ed6\u306e\u5834\u6240\u306e\u4e00\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"is-style-index\"><li>\u5916\u89b3 &gt; \u30ab\u30b9\u30bf\u30de\u30a4\u30ba &gt; <strong>\u9ad8\u5ea6\u306a\u8a2d\u5b9a<\/strong>\uff08<code>&lt;\/head&gt;<\/code>\u76f4\u524d\u30fb<code>&lt;body&gt;<\/code>\u76f4\u5f8c\u30fb<code>&lt;\/body&gt;<\/code>\u76f4\u524d\uff09<\/li><li>\u5916\u89b3 &gt; \u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5185\u306e\u3001\u305d\u306e\u4ed6\u306e\u4efb\u610f\u306e\u5834\u6240\uff08HTML\u306e\u8ffd\u52a0\u3092\u53d7\u3051\u4ed8\u3051\u306a\u3044\u5834\u6240\u3082\u3042\u308a\u307e\u3059\uff09<\/li><li>SWELL\u8a2d\u5b9a &gt; \u5e83\u544a\u30b3\u30fc\u30c9<\/li><li>\u5916\u89b3 &gt; \u30e1\u30cb\u30e5\u30fc &gt; \u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u30e9\u30d9\u30eb\u3010\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\u3011<\/li><li><a href=\"https:\/\/tecchan.jp\/swell-tips\/entry\/category\/action-hook\/\">\u30a2\u30af\u30b7\u30e7\u30f3\u30d5\u30c3\u30af<\/a>\u306a\u3069<\/li><\/ul>\n\n\n\n<p class=\"has-border -border03\">\u4ed6\u306b\u63a2\u3057\u305f\u65b9\u306f\u3001\u826f\u304b\u3063\u305f\u3089<a href=\"https:\/\/tecchan.jp\/swell-tips\/contact\/\">\u6559\u3048\u3066\u304f\u3060\u3055\u3044<\/a>\u3002<\/p>\n\n\n\n<h4 id=\"head-\u76f4\u5f8c\u4ed8\u8fd1\u306bhtml\u3092\u633f\u5165\u3057\u305f\u3044\u5834\u5408\">&lt;head&gt;\u76f4\u5f8c\u4ed8\u8fd1\u306bHTML\u3092\u633f\u5165\u3057\u305f\u3044\u5834\u5408<\/h4>\n\n\n\n<p><code>&lt;head&gt;<\/code>\u76f4\u5f8c\u306b\u633f\u5165\u3059\u308b\u3053\u3068\u306f\u30c6\u30fc\u30de\u306e\u4ed5\u69d8\u4e0a\u3067\u304d\u307e\u305b\u3093\u304c\u3001<code>&lt;meta name=\"viewport\" ~<\/code>\u30bf\u30b0\u306e\u76f4\u5f8c\u3067\u3042\u308c\u3070\u3001<a rel=\"noreferrer noopener\" href=\"https:\/\/swell-theme.com\/download\/swell-child\/\" target=\"_blank\">\u5b50\u30c6\u30fc\u30de<\/a>\u306e<code class=\"file_name\">functions.php<\/code>\u3084<a rel=\"noreferrer noopener\" href=\"https:\/\/ja.wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\">Code Snippets\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u306a\u3069\u3092\u7528\u3044\u3066\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067HTML\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -external\" data-type=\"type3\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">WordPress.org \u65e5\u672c\u8a9e<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/code-snippets\/assets\/banner-772x250.png?rev=3147867\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/ja.wordpress.org\/plugins\/code-snippets\/\">Code Snippets<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">An easy, clean and simple way to enhance your site with code snippets.<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<p>\u4ee5\u4e0b\u306e\u5834\u5408\u306b\u306f\u3001\u5168\u30da\u30fc\u30b8\u306bCSS\u304c\u8aad\u307f\u8fbc\u307e\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>add_action(&#39;wp_head&#39;, function() { ?&gt;\n&lt;!-- \u3053\u3053\u306b\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3059\u308b --&gt;\n&lt;?php }, 1);<\/code><\/pre><\/div>\n\n\n\n<p>\u30b3\u30fc\u30c9\u3092\u5de5\u592b\u3059\u308c\u3070\u3001\u5404\u30da\u30fc\u30b8\u3054\u3068\u306b\u51fa\u529b\u3059\u308bHTML\u3092\u5909\u3048\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<h4 id=\"\u3069\u3046\u3057\u3066\u3082-head-\u76f4\u5f8c\u304c\u826f\u3044\u5834\u5408\">\u3069\u3046\u3057\u3066\u3082&lt;head&gt;\u76f4\u5f8c\u304c\u826f\u3044\u5834\u5408<\/h4>\n\n\n\n<p>\u3042\u307e\u308a\u63a8\u5968\u3057\u307e\u305b\u3093\u304c\u3001\u5b50\u30c6\u30fc\u30de\u3092\u4f7f\u7528\u3057\u3066<code class=\"file_name\">header.php<\/code>\u3092\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 id=\"css\u3092\u8ffd\u52a0\u3059\u308b\">CSS\u3092\u8ffd\u52a0\u3059\u308b<\/h2>\n\n\n\n<h3 id=\"\u30b5\u30a4\u30c8\u5168\u4f53\u306bcss\u3092\u8ffd\u52a0\u3059\u308b-\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\">\u30b5\u30a4\u30c8\u5168\u4f53\u306bCSS\u3092\u8ffd\u52a0\u3059\u308b\u3010\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\u3011<\/h3>\n\n\n\n<h4 id=\"\u8ffd\u52a0css\">\u8ffd\u52a0CSS<\/h4>\n\n\n\n<p>\u901a\u5e38\u306f\u8ffd\u52a0CSS\u304c\u7528\u3044\u3089\u308c\u307e\u3059\u3002\u5916\u89b3 &gt; \u30ab\u30b9\u30bf\u30de\u30a4\u30ba &gt; <strong>\u8ffd\u52a0CSS<\/strong>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d5\u30ed\u30f3\u30c8\u753b\u9762\u30fb\u7ba1\u7406\u753b\u9762\uff08\u30a8\u30c7\u30a3\u30bf\u30fc\u753b\u9762\u7b49\uff09\u5185\u306e\u4e21\u65b9\u306bCSS\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u304c\u3001\u30c6\u30fc\u30de\u3092\u5909\u66f4\u3059\u308b\u3068\u8ffd\u52a0CSS\u306f\u7d99\u627f\u3055\u308c\u307e\u305b\u3093\uff08\u89aa\u30c6\u30fc\u30de\u304b\u3089\u5b50\u30c6\u30fc\u30de\u3078\u306e\u5909\u66f4\u306f\u554f\u984c\u3042\u308a\u307e\u305b\u3093\uff09\u3002<\/p>\n\n\n\n<h4 id=\"\u5b50\u30c6\u30fc\u30de\u306estyle-css\">\u5b50\u30c6\u30fc\u30de\u306estyle.css<\/h4>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/swell-theme.com\/download\/swell-child\/\" target=\"_blank\">\u5b50\u30c6\u30fc\u30de<\/a>\u306e<code class=\"file_name\">style.css<\/code>\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002\u5b50\u30c6\u30fc\u30de\u306f<a rel=\"noreferrer noopener\" href=\"https:\/\/users.swell-theme.com\/mypage\/\" target=\"_blank\">\u4f1a\u54e1\u30b5\u30a4\u30c8<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u5916\u89b3 &gt; \u30c6\u30fc\u30de\u30a8\u30c7\u30a3\u30bf\u30fc &gt; <strong>SWELL CHILD: \u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8 (style.css)<\/strong> \u3092\u7de8\u96c6\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u7de8\u96c6\u3057\u305fCSS\u306f\u3001\u30d5\u30ed\u30f3\u30c8\u753b\u9762\u306e\u307f\u306b\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"\u4efb\u610f\u306e\u6295\u7a3f-\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u307fcss\u3092\u8ffd\u52a0\u3059\u308b\">\u4efb\u610f\u306e\u6295\u7a3f\u30fb\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u307fCSS\u3092\u8ffd\u52a0\u3059\u308b<\/h3>\n\n\n\n<p>\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u4e0b\u90e8\u306e <i class=\"icon-swell\"><\/i> <strong>\u30ab\u30b9\u30bf\u30e0CSS &amp;JS<\/strong> &gt; CSS\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"\u30b5\u30a4\u30c8\u5168\u4f53\u307e\u305f\u306f\u4e00\u90e8\u306e\u30da\u30fc\u30b8\u306bcss\u3092\u8ffd\u52a0\u3059\u308b-\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\">\u30b5\u30a4\u30c8\u5168\u4f53\u307e\u305f\u306f\u4e00\u90e8\u306e\u30da\u30fc\u30b8\u306bCSS\u3092\u8ffd\u52a0\u3059\u308b\u3010\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\u3011<\/h3>\n\n\n\n<p>\u30ab\u30c6\u30b4\u30ea\u30fc\u30da\u30fc\u30b8\u306e\u307fCSS\u3092\u8aad\u307f\u8fbc\u307e\u305b\u305f\u3044\u5834\u5408\u306a\u3069\u3001\u4e0a\u8a18\u3067\u306f\u5bfe\u5fdc\u3067\u304d\u306a\u3044\u5834\u5408\u306b<a rel=\"noreferrer noopener\" href=\"https:\/\/swell-theme.com\/download\/swell-child\/\" target=\"_blank\">\u5b50\u30c6\u30fc\u30de<\/a>\u306e<code class=\"file_name\">functions.php<\/code>\u3084<a rel=\"noreferrer noopener\" href=\"https:\/\/ja.wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\">Code Snippets\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u306a\u3069\u3092\u7528\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h4 id=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h4>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u5834\u5408\u306b\u306f\u3001\u5168\u30da\u30fc\u30b8\u306bCSS\u304c\u8aad\u307f\u8fbc\u307e\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>add_action( &#39;wp_head&#39;, function () { ?&gt;\n&lt;style&gt;\n\t\/* \u3053\u3053\u306b\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3059\u308b *\/\n&lt;\/style&gt;\n&lt;?php } );<\/code><\/pre><\/div>\n\n\n\n<h2 id=\"javascript\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\">JavaScript\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5<\/h2>\n\n\n\n<h3 id=\"\u30b5\u30a4\u30c8\u5168\u4f53\u307e\u305f\u306f\u4e00\u90e8\u306e\u30da\u30fc\u30b8\u306bjavascript\u3092\u8ffd\u52a0\u3059\u308b-\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\">\u30b5\u30a4\u30c8\u5168\u4f53\u307e\u305f\u306f\u4e00\u90e8\u306e\u30da\u30fc\u30b8\u306bJavaScript\u3092\u8ffd\u52a0\u3059\u308b\u3010\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\u3011<\/h3>\n\n\n\n<p>\u30b5\u30a4\u30c8\u306e\u5168\u4f53\u307e\u305f\u306f\u30ab\u30c6\u30b4\u30ea\u30fc\u30da\u30fc\u30b8\u3092\u542b\u3080\u4e00\u90e8\u306e\u30da\u30fc\u30b8\u306bJavaScript\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u3001\u4e0a\u8a18\u540c\u69d8\u306b<a rel=\"noreferrer noopener\" href=\"https:\/\/swell-theme.com\/download\/swell-child\/\" target=\"_blank\">\u5b50\u30c6\u30fc\u30de<\/a>\u306e<code class=\"file_name\">functions.php<\/code>\u3084<a rel=\"noreferrer noopener\" href=\"https:\/\/ja.wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\">Code Snippets\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u306a\u3069\u3092\u7528\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h4 id=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h4>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u5834\u5408\u306b\u306f\u3001\u5168\u30da\u30fc\u30b8\u306bJavaScript\u304c\u8aad\u307f\u8fbc\u307e\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>add_action( &#39;wp_footer&#39;, function () { ?&gt;\n&lt;script&gt;\n\t\/* \u3053\u3053\u306b\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3059\u308b *\/\n&lt;\/script&gt;\n&lt;?php } );<\/code><\/pre><\/div>\n\n\n\n<h3 id=\"\u4efb\u610f\u306e\u6295\u7a3f-\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u307fjavascript\u3092\u8ffd\u52a0\u3059\u308b\">\u4efb\u610f\u306e\u6295\u7a3f\u30fb\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u307fJavaScript\u3092\u8ffd\u52a0\u3059\u308b<\/h3>\n\n\n\n<p> \u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u4e0b\u90e8\u306e <i class=\"icon-swell\"><\/i> <strong>\u30ab\u30b9\u30bf\u30e0CSS &amp;JS<\/strong> &gt; JS\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"php\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5-\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\">PHP\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3010\u4ed6\u306e\u30c6\u30fc\u30de\u3067\u3082\u5171\u901a\u3011<\/h2>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/swell-theme.com\/download\/swell-child\/\" target=\"_blank\">\u5b50\u30c6\u30fc\u30de<\/a>\u3092\u4f7f\u3046\u304b\u3001<a rel=\"noreferrer noopener\" href=\"https:\/\/ja.wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\">Code Snippets\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u306a\u3069\u3092\u7528\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"\u4ed6\u306e\u4eba\u306b\u306f\u51fa\u3066\u3044\u306a\u3044\u3051\u3069-\u3053\u306e\u73fe\u8c61\u3082\u3057\u304b\u3057\u305f\u3089\u81ea\u5206\u306e\u30b3\u30fc\u30c9\u306e\u305b\u3044\u304b\u3082\">\u4ed6\u306e\u4eba\u306b\u306f\u51fa\u3066\u3044\u306a\u3044\u3051\u3069\u3001\u3053\u306e\u73fe\u8c61\u3082\u3057\u304b\u3057\u305f\u3089\u81ea\u5206\u306e\u30b3\u30fc\u30c9\u306e\u305b\u3044\u304b\u3082\uff1f<\/h2>\n\n\n\n<p>\u30c6\u30fc\u30de\u306e\u66f4\u65b0\u3092\u884c\u3063\u305f\u5f8c\u306a\u3069\u3001\u4ed6\u306e\u4eba\u306b\u306f\u767a\u751f\u3057\u3066\u3044\u306a\u3044\u73fe\u8c61\u3067\u3001\u81ea\u5206\u3060\u3051\u306b\u3057\u304b\u767a\u751f\u3057\u3066\u3044\u306a\u3044\u73fe\u8c61\u304c\u3042\u3063\u305f\u3089\u3001\u3082\u3057\u304b\u3057\u305f\u3089\u81ea\u5206\u306e\u30b3\u30fc\u30c9\u306b\u3088\u308b\u5f71\u97ff\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u8ffd\u52a0\u3057\u305f\u30b3\u30fc\u30c9\u306e\u610f\u5473\u3092\u3057\u3063\u304b\u308a\u628a\u63e1\u3057\u3066\u3044\u304f\u3068\u3001\u305d\u3046\u3044\u3063\u305f\u3053\u3068\u304c\u767a\u751f\u3057\u3066\u3082\u81ea\u529b\u3067\u89e3\u6c7a\u3067\u304d\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u307e\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SWELL\u3092\u72ec\u81ea\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305f\u3044\u65b9\u5411\u3051\u306b\u3001HTML\u30fbCSS\u30fbJavaScript\u30fbPHP\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u306e\u4e00\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 SWELL\u3060\u3051\u3067\u306f\u306a\u304f\u3001WordPress\u5171\u901a\u306e\u57fa\u790e\u77e5\u8b58\u3082\u62bc\u3055\u3048\u3089\u308c\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u4ee5\u4e0b [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":497,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":""},"categories":[12,24],"tags":[],"_links":{"self":[{"href":"https:\/\/tecchan.jp\/swell-tips\/wp-json\/wp\/v2\/posts\/472"}],"collection":[{"href":"https:\/\/tecchan.jp\/swell-tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tecchan.jp\/swell-tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tecchan.jp\/swell-tips\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tecchan.jp\/swell-tips\/wp-json\/wp\/v2\/comments?post=472"}],"version-history":[{"count":39,"href":"https:\/\/tecchan.jp\/swell-tips\/wp-json\/wp\/v2\/posts\/472\/revisions"}],"predecessor-version":[{"id":1523,"href":"https:\/\/tecchan.jp\/swell-tips\/wp-json\/wp\/v2\/posts\/472\/revisions\/1523"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tecchan.jp\/swell-tips\/wp-json\/wp\/v2\/media\/497"}],"wp:attachment":[{"href":"https:\/\/tecchan.jp\/swell-tips\/wp-json\/wp\/v2\/media?parent=472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tecchan.jp\/swell-tips\/wp-json\/wp\/v2\/categories?post=472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tecchan.jp\/swell-tips\/wp-json\/wp\/v2\/tags?post=472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}