Which template are you using?
the i feel dirty template
If you look through the free templates available on WordPress, you'll find some that are AdSense ready. Do a search.
Beyond that, I just insert the AdSense code directly into the appropriate php file when necessary. That seems to work with templates that have "single" and "page" php files.
I tried inserting the codes in the php files...like the header & foot...but all I get is a whitebox where the ads suppose to show....is there something that could be possibly blocking it
Depending on your theme's template, put the Adsense code between <div id="footer"> and </div> in footer.php. Also check that you don't have any ad-blocking in your browser that could prevent ad display.
If your template has a file called "single" for posts, why don't you try something like this?
<p><div style="float: left; margin: 3px 15px 3px 3px;">
google_ad_client = "";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "006699";
google_color_url = "666666";
google_color_text = "666666";//--></script>
The div class might be called something else. See if AS shows up in the context of an actual post. At least you'll know whether or not the code will work. Also, there's a plugin called AdSense Manager which I have yet to use.
still nothing....does it matter what template you are using
Have you tried a different browser? Could an ad blocker be kicking in and preventing you from seeing the ads?
Just in case it's template related, plug the code into the standard classic template and flip your blog to that for a minute or two. If that doesn't work either, it's not the template.
Try creating a regular html page and adding some text and an Adsense unit. If the ads still don't display, then it's not a Wordpress problem and could instead be a problem with your Adsense account, .htaccess, robots.txt, server, etc.
Good thought, iridiax.
I already creating a regular html page...ads show just fine.....so I contacted Google and received this message:
I understand you're having difficulty implementing the AdSense ads onto
your website. I confirmed that the ad code is on your site but it looks
answer questions about the AdSense code, we're not able to offer technical
assistance for another company's product or service. I'd therefore
recommend that you contact Wordpress for further assistance with this
problem. I appreciate your understanding in this matter.
Cant anyone tell me how I can have use my adesnse with my wordpress.....
I have many wordpress sites using adsense - I can help you with adding your adsense to your posts.
Either give me Editor rights or tell me which files you have in your Theme folder.
Am I missing something, I thought Wordpress didn't allow Adsense.
See their faq page:
Maybe I'm just old fashioned but I do believe that's the first place I would have looked.
A FAQ's page.. who'd a thunk it?
|Am I missing something, I thought Wordpress didn't allow Adsense |
That's for wordpress hosted blogs. Jay718's blog is hosted on its own domain.
Jay718 stickied me the other day and I looked at the blog. The code looks good and I believe it is executing as there is a white space where the code is inserted. Jay, I couldn't give you detailed instructions the other day as I was at a machine that I don't access my AdSense account through. What you want to do is go into AdSense setup. At the bottom of the main setup page, under More Options choose "Fill space with a solid color." Choose any color other than white. Repaste the code and see what happens. If the solid color shows then it's time to again contact the AdSense folks.
First I appreciate everybody's help.....it makes things alittle less stressful :)......now after trying everything you guys say still no adsense....I'm starting to think its the currently template I'm using maybe....Go60guy....what template are u currently using.......
Hmm... I'm using several different templates. None that would be in keeping with your theme, however.
I would suggest that you download one of the free templates that fits your topic and see if you can add AdSense to the "Hello World" page by inserting the AS code in the index.php file. Be certain to close off all divs properly.
Just add a blog folder to a site that has no blog. You can delete it after testing. Very simple to do with Fantastico.
I sometimes test stuff this way.
Is it possible for you to reinstall Wordpress (if it is a relatively new blog)? Also, if your Wordpress version and template version are not compatible, you can have this problem. On my own domains I run several wordpress blogs with Adsense and everything works great.
a templete named "proadsense" I think that you need.ˇˇgood luck