Credits :Paul Hickey
what’s up everybody Paul hickey here welcome to the WordPress show today we are going to solve a problem related to a plug-in called headers and Footers scripts inserter by SpaceX chimp I love this plug-in it’s typically worked for me and it has over 30,000 active installations it’s tested up to the most recent version of WordPress at the time of this film in 5.5.3 and it’s just a quality plug-in however it’s been known to give a blank screen as you can see here one of my clients recently tried to add some header or footer code to head and footer scripts inserter and it just gave them a blank screen and it was not working so I needed to find an alternative now before we get to the alternative first I’m going to show you what exactly is a head and footer code it’s something like

either Google Now Google tag manager code is to be Google webmaster tools search console code it could be like a heat mapping code like if you’re looking at crazy egg or another kind of heat mapping tool like a jar or something like that as you know WordPress has a array of a bunch of different tools that you can plug into your website to make it become a digital marketing machine data-driven marketing machine so what did I do when this problem faced my client I found an alternative plug-in called insert headers and Footers this has more than 1 million activations it’s also tested up to WordPress version 5.5.3 so they’re relatively equal but there could be a potential plug-in conflict between head and footer scripts and starter and another plug-in on your website which could be causing you

to get this blank screen that my client was getting and showing that your head and footer code would not be in your source code meaning none of that tracking would be happening if this is the case for you I would put it to insert headers and Footers by WT beginner there a very reputable source and for my client it works perfectly as you can see here under the WordPress admin dashboard under settings and then insert headers and Footers I was able to go in and replicate the code the Google AdSense code header and footer code that I needed is now under the source code

so again just talking about an alternative plug into head and Twitter scripts and certain hope that this helps you if you run into this problem with head and foot her scripts inserted by SpaceX chin I would put it over to insert headers and Footers does the exact same thing there might not be a conflict with it on your website helping you find an alternative plug-in is one thing that the WordPress show can continue to do thank you so much for watching for more information you can check me out at data-driven. Design or the WordPress and if you’d like to do business with me you can email me directly yet Paul at data-driven. Design This is another episode of the WordPress show thanks and have a great day

Credits :EverWeb
the header and footer code sections allow you to add any type of code or script into your page

just like the rest of the settings on the page settings tab any code or script entered into he’s with these fields will be applied to the respective page only any code placed in the head of code section will be faced with in the head tag

any code place in the footer code section will be placed right before the closing body tag

if you want to add code at a side wide level click on the name of your projects in the webpage list

enter your code into the appropriate head and photo code boxes in the head for the code section

adding code to your site is for more advanced website developers usually you will not need to add code to your site as every word generally has everything you need built into it so you do not need to know how to code

in this video you’ll learn how to add code to WordPress header or footer area a lot of times different web sites like Pinterest or Google will ask you to add pieces of code to your head or area so let me show you a quick way that you can add it to your website first thing you want to do is you want to login to your WordPress dashboard then from here we want to scroll down to the plugins area and we want to click add new we’re going to add a very simple plug into your website and don’t worry it won’t bug you upside-down or anything it just makes it super easy for you to add the header or footer code like you need to from the search area let’s go ahead and type and insert header and footer and Footers and this is the one we want this is created and maintained by wpbeginner that has us do you want to install it and then once it’s installed you want to hang around and go ahead and make sure that you click activate as well once it’s activated you’ll get a message saying that it’s been installed and we can either click here to

or if you ever need to come back to it you can go down to settings insert headers and Footers to configure now from here you’ll have to decide where the software that you’re installing it usually a JavaScript where they’re asking you to put it if they’re wanting you to put in the header then you can put it up here if they want to if they want you to put it just before the body closing then that goes down here so let me quickly show you how you can do that for instance if you want to install Pinterest pins on your site then you have to have this bit of script installed throughout your website so I’m just going to grab this and this is just for an example if you really need to activate Pinterest on your site than you can watch our video on how to do that here so I’m going to grab this Petticoat you see that it’s asking us to do it just before the closing body tag so that means I want to put it in my Footers area I’m going to highlight this and copy

and then we’ll head back over but in these groups in the Footers right click and paste that and now that that’s pasted now it’s available on all of my sight the other two methods require changing out your theme and so it’s a little bit difficult to maintain for instance if you’re doing it in the theme you’ll have to go into header and footer and actually change those pieces of code some other themes provide you with an area that you can fill out but the problem with these two methods is if you ever change out your theme then this Petticoat is no longer on your site and might break whatever it is that you’re trying to use and that is why we recommend using the insert headers and Footers which is a very simple and easy to use plug in that won’t back down your sight just a super easy way to add header and footer code into your WordPress website and thanks for watching

Origin Ten  Ltd,
Queens House
200 Lower High Street
Watford
WD17 2EH

Stay tuned

Exceptional quality. Ethical factories. Radical Transparency. Shipping and returns.

    Privacy Preference Center