How Do you Insert Adsense Code?
How do you insert Adsense Code into Php. I have adsense code that begins:
google_ad_client = “pub-7330089105598518”;
google_ad_width = 120;
google_ad_height = 240;
google_ad_format = “120x240_as”;
google_ad_type = “text_image”;
google_ad_channel = “”;
google_color_border = “99C9FF”;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000”;
google_color_url = “008000”;
I went on google and this is what they said:
2) You can also implement the code using the ‘include’ function that
provides. For more information on this, we suggest performing a Google
search for terms such as “PHP include function.”
So I went and did a Google Search and this is what was said;
Assume that you have a standard header file, called “header.php”. To include the header file in a page, use the include() function, like this:
<?php include(“header.php”); ?>
<h1>Welcome to my home page</h1>
My Question is I do not see anything that looks like this on my blog. Am I suppose to create <html>,</html>, if it starts with:
<p class=”MsoNormal”><span style=”font-size: 13.5pt; color: #0033ff”> Kenpo, Kali, Jeet-kune do, Aikoda are all great martial arts that are all great ways to become physically fit. Physical Fitness is the best way to increase your (Hdl), High Density Lippoproteins. Hdl’s pick up excess cholestrol from the bloodstream and carry it back to the liver for excreation from the body. Regular exercise reduces high blood pressure and is a contributing factor in coronary heart disease (CHD),stroke, kidney failure and blindness.<o:p> </o:p></span></p>
This Code starts with <p and ends with</p>. Where do I start. Confused?
If you have downloaded a template from wordpress.org then please go here and ask your question http://wordpress.org/support.
(1) We cannot edit our php in our templates; and
(3) We cannot have adsense or other advertising on our blogs.
If however you do have a wordpress.com blog then you will benefit by reading this post and understanding the differences between wordpress.com and wordpress.org https://en.forums.wordpress.com/topic.php?id=3700&replies=1
I saw few wordpress.com blogs with Firefox/Adwords/Adsense referral button in their widgets, how they do that with Js code from Google ?
recently I found that few Clicks that goes from my blog Locates to
But Actually I havnt added a link like this!! and how they are getting click here from my blog? (jobsatinfopark.wordpress.com)
Is this a hacker or something or Google does this?? What is This and How to avoid leaving click to these links from personal blogs.
Is that a Referrer link, or a Click (ie an outgoing link from your blog)? That takes me to a Create a Profile Page on Monster India; did you put a link to your blog in your Monster profile? That could cause it.
There’s another thread on the forums about this. It’s those adsense adverts that wp.com kicks out on occasion to nonlogged in visitors.
Not sure why they’re showing up all od the sudden as we’ve had teh adverts for many months now.
I believe this thread is the one that drmike is referring to https://en.forums.wordpress.com/topic.php?id=12774
I didn’t know you guys were replying to me here..
sorry! I was not hijacking this thread..
but what happened? why you are not a moderator now?
bejoysvijayan: this thread should answer your question – https://en.forums.wordpress.com/topic.php?id=12965&page&replies=95
The topic ‘How Do you Insert Adsense Code?’ is closed to new replies.