Comment on How to Add AdSense to WordPress by SEO Dave.
Glad you got some of it working :)
The WordPress main page is usually the index.php file, but some themes don’t follow that convention.
Also look for-
Archive(s).php and even Categories.php all depends on what the theme creator used at the time!
One of the themes I’ve worked on called Beautiful Sunrise uses the index.php file as the single.php page and the index page info is found in home.php
Some themes also have parts of the theme within smaller files that are then included. For example you might find the post content part of all the different archive type php files are within a file like this. If this is the case you will be looking for a relatively low code page (not a lot of text) with the function
the_content()
or
the_excerpt()
If you find a function like this you have a page that probably creates a content part of a page, the excerpt function is almost certainly an archive type page since it shows an excerpt of the content.
Good luck :)
David Law
More Comments by SEO Dave
Adding AdSense to WordPress
Adding AdSense Responsive Ad Unit Beta to WordPress Themes
In Stallion 8.0 not only are the default Stallion AdSense ads mobile responsive, but you can use the new AdSense Responsive Ad Unit Beta code.
In Stallion 8.0 each AdSense ad unit (there’s 7 of them: 4 content ad units and …
Continue Reading WordPress AdSense Widget
Adding AdSense to WordPress
Responsive AdSense WordPress Theme
Stallion 8 will include responsive AdSense ads without having to add your own AdSense ad units (you won’t have to create multiple AdSense ad units within your AdSense account and paste them into a themes options page), like with Stallion …
Continue Reading WordPress AdSense Widget
Adding AdSense to WordPress
How to Add AdSense to WordPress.com
As you are hosting your WordPress blog on the free WordPress.com site I’m afraid you can’t add AdSense to your site.
With wordPress.com hosted blogs you are only allowed to use the themes they have installed and none of them include …
Continue Reading WordPress AdSense Widget
Adding AdSense to WordPress
Add AdSense to a WordPress Blog
When you added the AdSense code did you make sure you didn’t add a space or tabs before/after your AdSense Publisher pub-######## number?
When you look at the AdSense code there should be no spaces between the speech marks.
Correct AdSense publisher …
Continue Reading WordPress AdSense Widget
Adding AdSense to WordPress
Add AdSense to Free Hosted WordPress Blogs
This will only work with the hosted version of WordPress, so not with wordpress.org (or is it com) which gives free hosted WordPress blogs.
David Law …
Continue Reading WordPress AdSense Widget
Adding AdSense to WordPress
Copyright Infringement DMCA Complaint
If your asking to copy my content to your site then no, that’s copyright infringement and may result in a DMCA complaint from yours truly :-)
If you mean can you use my tips to add AdSense to your site then …
Continue Reading WordPress AdSense Widget
Adding AdSense to WordPress
Creating AdSense/SEO WordPress Themes
I don’t make custom themes, mainly because adding AdSense/SEO takes so much time (would cost £100s at my SEO rates).
I’m adding more WordPress themes to the site over time (hard to find the time) so if there’s one you want …
Continue Reading WordPress AdSense Widget
Adding AdSense to WordPress
AdSense Tutorial Update
Hi BallparkBob,
Sorry for taking so long to respond (so many blogs to moderate!).
Have updated this page to include instructions for adding AdSense to WordPress 2.5.
David …
Continue Reading WordPress AdSense Widget
Adding AdSense to WordPress
Add AdSense Ads
Look though the template pages for this-
div class=”postentry”
Then using trial and error post the AdSense code, if it’s the wrong template page remove it and try the next one. Eventually you’ll find the right page :-)
David …
Continue Reading WordPress AdSense Widget
Adding AdSense to WordPress
WordPress AdSense Plugins
Hi Pufone,
It is much easier to use an AdSense WordPress plugin, however I’ve not seen an AdSense plugin yet that puts the AdSense ads in the right place, for example Mutube Adsense Manager appears to only ad ads to the …
Continue Reading WordPress AdSense Widget
Adding AdSense to WordPress
How to Add AdSense to Default WordPress Theme
Hey Perry,
Not tried adding AdSense to the classic theme (there is a theme called classic), I’ve got it on the server. Had a look and didn’t see a post page for that theme though, which would mean it uses the …
Continue Reading WordPress AdSense Widget