pete101
Forum Replies Created
-
i’m trying to do the same thing as well.
is there a stand alone plugin which adds re-captcha to any page?
i cant find one.
it’s very frustrating
p.s.i cant provide my site yet it’s still under private launch but do you have any idea where it must have put the code?
if i give you more of the source code would that help?
but what i mean is that it’s neither in the header nor footer yet it is working… i am really confused. you say the plugin lets you put it in the header or footer, but surely that means it’s been put in only 1 of those 2 places yet for some reason it has been put in neither otherwise i would have seen it in the header.php or the footer.php
the thing i provided above for you is the source code where it is located about half way down well after the header inforamtion.
could the plugin be putting the code somewhere else on my site?
and if so would that affect my google analytics?
Forum: Fixing WordPress
In reply to: Featured Image Error -1can you explain how to do this please?
i dont understand what you mean
p.s. i have checked my source code and google analytics IS there but it is not in the header:
script type=”text/javascript”>//<![CDATA[
// Google Analytics for WordPress by Yoast v4.2.3 | https://yoast.com/wordpress/google-analytics/
var _gaq = _gaq || [];
_gaq.push([‘_setAccount’,’UA-xxxxxxxxxxx’]);
_gaq.push([‘_trackPageview’]);
(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘https://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);this is where the plugin has written it in the source code.
surely this is the wrong place?
yes i see it in the source code but people on here say that when you check your header.php or footer.php the google analytics for wordpress code should be written above </head> whether it’s inserted manually or via a plugin.
what i am confused about is that the plugin basically inserts the code for you into the editor right?
and if it hasn’t you’re suppose to add it manually yourself into the header or footer.
why is it not showing in the header.php or footer.php when it’s been recommended to insert it there?
surely once you save the changes the code should be written there.
thanks for your help.