{"id":3154,"date":"2023-03-01T20:11:00","date_gmt":"2023-03-01T11:11:00","guid":{"rendered":"https:\/\/kanehara.net\/forestcafe-block\/?p=3154"},"modified":"2023-03-14T14:08:58","modified_gmt":"2023-03-14T05:08:58","slug":"head%e5%86%85%e3%81%ab%e3%82%bf%e3%82%b0%e3%82%92%e8%a8%98%e8%bf%b0%ef%bc%88%e5%a4%96%e8%a6%b3%ef%bc%8d%e3%82%a6%e3%82%a3%e3%82%b8%e3%82%a7%e3%83%83%e3%83%88%e3%81%8b%e3%82%89%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/full-site-patterner.com\/en\/how-to-use\/3154\/","title":{"rendered":"Describe the tag in \u2026"},"content":{"rendered":"\n<p>In the block theme, unlike the classic theme, the template is not a php file, and the template in the html file has no code in the head.<\/p>\n\n\n\n<p>Since the code in the head is generated by the WordPress system, it is possible to add code in the head using functions.php or plugins.<\/p>\n\n\n\n<p>However, it is difficult to write and operate these files, and there is a risk of failure.<\/p>\n\n\n\n<p>In&nbsp;&#8221;&nbsp;<strong>FullSite-Patterner &#8220;,&nbsp;<\/strong><strong>the menu for inserting code such as script tag, search engine access analysis, etc. in the head is<\/strong>&nbsp;prepared as follows.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized has-custom-border\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010104-1-1-1024x521.jpg\" alt=\"\" class=\"has-border-color has-black-border-color wp-image-3260\" style=\"border-width:1px\" width=\"768\" height=\"391\" srcset=\"https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010104-1-1-1024x521.jpg 1024w, https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010104-1-1-300x153.jpg 300w, https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010104-1-1-768x391.jpg 768w, https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010104-1-1.jpg 1151w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<p><strong><strong>Go to &#8220;Appearance&#8221; &#8211; &#8220;Widgets&#8221; ,&nbsp;insert the &#8220;Custom HTML&#8221; block<\/strong>&nbsp;in the &#8221;&nbsp;<strong>head tag<\/strong>&nbsp;&#8221; item , and&nbsp;<strong>paste the code<\/strong>&nbsp;there<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized has-custom-border\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010106-1-1.jpg\" alt=\"\" class=\"has-border-color has-black-border-color wp-image-3262\" style=\"border-width:1px\" width=\"635\" height=\"389\" srcset=\"https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010106-1-1.jpg 847w, https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010106-1-1-300x183.jpg 300w, https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010106-1-1-768x470.jpg 768w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\" \/><\/figure>\n\n\n\n<p>In addition to code such as script tags and search engine access analysis, you&nbsp;can also write&nbsp;<strong>css styles .<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized has-custom-border\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010107-1-1.jpg\" alt=\"\" class=\"has-border-color has-black-border-color wp-image-3263\" style=\"border-width:1px\" width=\"670\" height=\"444\" srcset=\"https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010107-1-1.jpg 893w, https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010107-1-1-300x199.jpg 300w, https:\/\/full-site-patterner.com\/en\/wp-content\/uploads\/2023\/03\/2023010107-1-1-768x509.jpg 768w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/figure>\n\n\n\n<p>Codes such as tags specified in the widget&nbsp;<strong>are inserted in &#8220;functions\/head-style.php&#8221; in the theme folder<\/strong>&nbsp;and inserted in the head of the page.<\/p>\n\n\n\n<p>View the site in your browser and check the page source to see if it was inserted successfully.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the block theme, unlike the classic theme, the template is not a php file, and the template in the html file has no code in the head. Since the code in the head is generated by the WordPress system,\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-3154","post","type-post","status-publish","format-standard","hentry","category-how-to-use"],"_links":{"self":[{"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/posts\/3154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/comments?post=3154"}],"version-history":[{"count":3,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/posts\/3154\/revisions"}],"predecessor-version":[{"id":4407,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/posts\/3154\/revisions\/4407"}],"wp:attachment":[{"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/media?parent=3154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/categories?post=3154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/full-site-patterner.com\/en\/wp-json\/wp\/v2\/tags?post=3154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}