I’ve been attempting to start up a blog (since yesterday…lol), but I would like adsense included in my blog, especially since I am giving away tons of Priceless information. My only concern is that I am not familar with how to include the adsense script in wordpress. I tried yesterday several times and failed.
The next thing I did was a search on google regarding adsense and worpress blogs. I then found countless of sites stating that adsense blogs are now prohibited in worpress. Is that true? Because I see many reputable individuals who have it implemented on their wordpress blogs.
On youtube, I even watched an individual giving the play by play on how to install adsense on wordpress blogs. The only thing is that the video is outdated and her back end screen in her wordpress blog looked much different then mine. I do have the newer version, which may be causing the problem.
In the youtube poster’s comment section many individuals stated they were unable to do the samething. Why?
I would like to know is it legal? And if so, how do I go about doing so… How do I either implement adsense on my new version of wordpress or how do I go about creating my own blog and implementing adsense.
They are all free, but you do not need a plugin for this. You just need to add it to the theme files where you want it to appear.
First you need to create the div(s) for the ads in the .html and your stylesheet, then all you need to do is create a new .php file we’ll call it “ads.php” then in this file paste the ad code that google gives you and save it to the theme directory.
Then in the theme where you want it to appear you would add this:
<?php include (TEMPLATEPATH . '/ads.php'); ?>
If you want to have multiple ads in various locations that differ from one another then create a new .php file for each set of ads, paste the necessary code into them, save them and add that same line above where you want them to appear, just change the file name in there to match the name of the files you want to include.
For example: ads.php, ads-468x60.php, ads-skyscrapper.php and so on.
create the div(s) for the ads in the .html and your stylesheet
create a new .php file
in this file paste the ad code that google gives you and save it to the theme directory.
4)Then in the theme where you want it to appear you would add this:
PHP Code:
If you want to have multiple ads in various locations that differ from one another then
create a new .php file for each set of ads
paste the necessary code into them, save them and
add that same line above where you want them to appear,
just change the file name in there to match the name of the files you want to include.
Specialized skill sets required (search google, how to upload files)
Seeing as the OP didn’t have the skill set necessary to search Google for a plugin, I’m guess that CSS, DIVs and PHP coding (even cutting and pasting) would probably be beyond him. I was being generous with the hours estimate to be honest.
Not to mention the fact that you have to manually code checks in to make sure that you accidently break the Adsense TOS (too many ads per page on the homepage for example) which any decent plugin does for you.
Not that I have anything against doing things the hard way, it’s just why would you?
ok, I plugged in but I still can’t figure out where to put the code. I am obviously going to go over this slower in a sec… The long way listed above may be best since I cannot figure out the simple way…lol…
I’ll be working on this all night… I’ll get back to you guys today or tomorrow to let you know how it went or is going…
ok… I have it up and working, but it changed the positioning of my navigator to the bottomof the page… I’m running out right now…I’ll be beack to ask more in a few hours
If you place ads in your blog posts then you need to use a plugin to ensure that no more than three ad blocks appear even though you have included ads in 8 of the posts on the page. What I’d like to know is how you would ensure that each of those 8 posts included the ad when on their separate pages but only 3 ads appear when all the posts are on the same page without using a plugin that tests how many ads have already appeared before including the one the post says you want to have included provided that it will not put the ads per page over the limit.
If you only place the ad blocks in your page templates then you don’t need a plugin to do it.
I suspect since you use copy/paste that you don’t place an ad inside your actual blog posts.
So you weren’t aware that if you want to be able to include ads in the actual blog posts themselves that you need to use a plugin so as to ensure that where more than three blog posts with ads are on the same page that only three of the ad blocks actually display.
If you manually coded the ads into the posts then any page that can display more than three blog posts would potentially be in breach of the maximum ad rules.
Where all the ads are in the part of the pages that isn’t made up of blog posts then you can hard code the ads into the actual template if you want to.
Of course if you don’t want ads in the blog at all then you don’t do either.
that sites hosted on wordpress.com can’t display their own ads because their hosting is paid for from the ads that wordpress.com add into sites hosted there
OR
that you need to use a plugin with your self hosted WordPress site if you are placing ads into the posts themselves to make sure you don’t accidentally get more ads on the page than Adsense allows while still allowing the ads to show when you view the posts on pages where there are not too many other ads
OR
that you can hard code the ads directly in your WordPress template if you never intend placing ads into posts.