{"id":3970,"date":"2019-07-14T08:46:30","date_gmt":"2019-07-14T08:46:30","guid":{"rendered":"https:\/\/hasthemes.com\/?p=3970"},"modified":"2022-02-28T10:29:18","modified_gmt":"2022-02-28T04:29:18","slug":"insert-custom-js-or-css-code-to-wordpress-header-footer-using-ht-script-plugin","status":"publish","type":"post","link":"https:\/\/hasthemes.com\/insert-custom-js-or-css-code-to-wordpress-header-footer-using-ht-script-plugin\/","title":{"rendered":"Insert custom JS or CSS code to WordPress Header Footer using HT Script Plugin"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"3970\" class=\"elementor elementor-3970\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f2d7479 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f2d7479\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c13b2fd\" data-id=\"c13b2fd\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0a377a7 elementor-widget elementor-widget-video\" data-id=\"0a377a7\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/youtu.be\\\/tv4q46ZD8lA&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7f05396 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7f05396\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c7d6e47\" data-id=\"c7d6e47\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0fe3196 elementor-widget elementor-widget-text-editor\" data-id=\"0fe3196\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"entry-content\"><div id=\"tab-description\" class=\"plugin-description section\"><p>Insert Headers and Footers Code allows you to insert Google Analytics, Facebook Pixel, custom CSS, custom HTML, JavaScript code to your website header and footer without modifying your theme code.<\/p><p>This plugin has the option to add any custom code to your theme in one place, no need to edit the theme code. It will save your time and remove the hassle for the theme update.<\/p><p>Pro version is also available :\u00a0<a href=\"https:\/\/hasthemes.com\/plugins\/insert-headers-and-footers-code-ht-script\/\" rel=\"nofollow\">Check it out now!<\/a><\/p><p>Free version is also available : <a href=\"https:\/\/wordpress.org\/plugins\/insert-headers-and-footers-script\/\" target=\"_blank\" rel=\"nofollow noopener\">Check it out now!<\/a><\/p><h3>FEATURES:<\/h3><ul><li>Very easy to use<\/li><li>Insert Unlimited Scripts<\/li><li>Insert Code to header \/ footer<\/li><li>Add custom CSS\/js to any theme<\/li><li>Add Google Analytics code<\/li><li>Add Facebook Pixel code<\/li><li>Show On Full website<\/li><li>Show on Only Homepage (Pro)<\/li><li>Show on Selected Pages (Pro)<\/li><li>Show on Selected Posts (Pro)<\/li><li>Show on Selected Categories (Pro)<\/li><li>Show on Selected Tags (Pro)<\/li><li>Exclude Pages (Pro)<\/li><li>Exclude Posts (Pro)<\/li><\/ul><\/div><\/div><p>\u00a0<\/p><p>\u00a0<\/p><p>\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Insert Headers and Footers Code allows you to insert Google Analytics, Facebook Pixel, custom CSS, custom HTML, JavaScript code to your website header and footer without modifying your theme code. This plugin has the option to add any custom code to your theme in one place, no need to edit the theme code. It will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_mi_skip_tracking":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[130],"tags":[],"class_list":["post-3970","post","type-post","status-publish","format-standard","hentry","category-documentation"],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"htmega_size_585x295":false,"htmega_size_1170x536":false,"htmega_size_396x360":false,"betterdocs-category-thumb":false},"uagb_author_info":{"display_name":"Has Themes","author_link":"https:\/\/hasthemes.com\/author\/hasmet\/"},"uagb_comment_info":1,"uagb_excerpt":"Insert Headers and Footers Code allows you to insert Google Analytics, Facebook Pixel, custom CSS, custom HTML, JavaScript code to your website header and footer without modifying your theme code. This plugin has the option to add any custom code to your theme in one place, no need to edit the theme code. It will&hellip;","_links":{"self":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/posts\/3970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/comments?post=3970"}],"version-history":[{"count":3,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/posts\/3970\/revisions"}],"predecessor-version":[{"id":13235,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/posts\/3970\/revisions\/13235"}],"wp:attachment":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/media?parent=3970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/categories?post=3970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/tags?post=3970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}