{"id":83667,"date":"2018-03-29T14:07:49","date_gmt":"2018-03-29T14:07:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/header-footer-injection\/"},"modified":"2025-04-25T01:48:43","modified_gmt":"2025-04-25T01:48:43","slug":"header-footer-code","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/header-footer-code\/","author":14641476,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"trunk","tested":"6.8.5","requires":"3.0","requires_php":"","requires_plugins":null,"header_name":"NinjaTeam Header Footer Custom Code","header_author":"Ninja Team","header_description":"This is simple plugin to insert script, css, tag to header and footer","assets_banners_color":"2b1c26","last_updated":"2025-04-25 01:48:43","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/codecanyon.net\/item\/media-folders-manager-for-wordpress\/21715379","header_plugin_uri":"https:\/\/ninjateam.org\/header-footer-code","header_author_uri":"https:\/\/ninjateam.org\/","rating":3.5,"author_block_rating":0,"active_installs":200,"downloads":6288,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.1":{"tag":"1.1","author":"ninjateam","date":"2024-08-13 17:25:33"}},"upgrade_notice":[],"ratings":{"1":0,"2":"1","3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1961899,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1961899,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2824,7855,2640,1005,1431],"plugin_category":[],"plugin_contributors":[90691],"plugin_business_model":[],"class_list":["post-83667","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-code","plugin_tags-facebook-pixel","plugin_tags-footer","plugin_tags-google-analytics","plugin_tags-header","plugin_contributors-ninjateam","plugin_committers-ninjateam"],"banners":{"banner":"https:\/\/ps.w.org\/header-footer-code\/assets\/banner-772x250.png?rev=1961899","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/header-footer-code\/assets\/icon-128x128.png?rev=1961899","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Easily add CSS, JavaScript, and custom code snippets to your website\u2019s <code>&lt;head&gt;<\/code> or before the <code>&lt;\/body&gt;<\/code> tag with this powerful plugin. Whether you need to integrate <strong>Google Analytics<\/strong>, <strong>Facebook Pixel<\/strong>, <strong>custom CSS<\/strong>, or other scripts, this plugin makes it simple\u2014no theme file editing required. Plus, your code remains safe even when you update your theme!<\/p>\n\n<p>This is a must-have plugin for any WordPress website.<\/p>\n\n<p>If you\u2019re wondering how to add code to the header in WordPress or searching for a <strong>WordPress plugin to insert code into the header or footer<\/strong>, you\u2019ve come to the right place. This plugin gets the job done quickly!<\/p>\n\n<h4>FEATURES<\/h4>\n\n<ul>\n<li>Easy to insert code to header and footer<\/li>\n<li>Add Google Analytics code to any theme<\/li>\n<li>Add custom CSS to any theme<\/li>\n<li>Add Facebook Pixel to any theme<\/li>\n<li>Friendly<\/li>\n<li>Support code editor<\/li>\n<li>And more...<\/li>\n<\/ul>\n\n<p>For WordPress Full Site Editing (FSE) users:<\/p>\n\n<ul>\n<li>FSE reduces the need to access and edit core theme files, which can make it harder for advanced users who prefer working directly with PHP or CSS in template files.<\/li>\n<li>Some modifications may require custom block creation, which involves more advanced coding.<\/li>\n<li>Since <a href=\"https:\/\/wpbrandy.com\/full-site-editing-in-wordpress\/\">FSE themes<\/a> are heavily block-based, any manual modifications to theme files might be overridden during updates, so adding code snippets needs to be done carefully.<\/li>\n<li>When adding PHP or backend functionality, rely on plugins like Header Footer Custom Code to avoid directly editing theme files.<\/li>\n<\/ul>\n\n<h4>INSTALLATION<\/h4>\n\n<p>Manual installation is easy and takes fewer than one minute.<\/p>\n\n<ol>\n<li>Download the plugin from wordpress.org, unpack it and upload the <strong>[NinjaTeam Insert Code Header Footer]<\/strong> folder to your <strong>wp-content\/plugins\/<\/strong> directory.<\/li>\n<li>Activate the plugin through the \u2018Plugins\u2018 menu in WordPress.<\/li>\n<li>Go to your main <strong>WordPress menu &gt; Header Footer Code<\/strong> to add your custom code.<\/li>\n<\/ol>\n\n<p>You\u2019re done. Enjoy.<\/p>\n\n<!--section=installation-->\n<p>Manual installation is easy and takes fewer than one minute.<\/p>\n\n<ol>\n<li>Download the plugin from wordpress.org, unpack it and upload the <strong>[NinjaTeam Insert Code Header Footer]<\/strong> folder to your <strong>wp-content\/plugins\/<\/strong> directory.<\/li>\n<li>Activate the plugin through the \u2018Plugins\u2018 menu in WordPress.<\/li>\n<li>Go to your main <strong>WordPress menu &gt; Header Footer Code<\/strong> to add your custom code.<\/li>\n<\/ol>\n\n<p>You\u2019re done. Enjoy.<\/p>\n\n<!--section=changelog-->\n<h4>Aug 13, 2024 - Version 1.2<\/h4>\n\n<ul>\n<li>Fixed: Sanitise and escape the settings<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Version 1.0 Initial Release<\/li>\n<\/ul>","raw_excerpt":"Help you easy to insert CSS and JavaScript codes to  or before .","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/83667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=83667"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ninjateam"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=83667"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=83667"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=83667"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=83667"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=83667"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=83667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}