Comment on Google AdSense Rounded Corners by SEO Dave.
I’ve attached the Talian 05 zip file to an email to you with this information. No idea what you’ve done wrong (like I said one tiny mistake, remove a comma, add a space in the wrong place and it breaks).
Unzip the file and upload the Talian folder over your current Talian folder online via FTP. This will cancel out all your template file edits and as long as it’s not an option you’ve set wrong fix the problem. You can then start again from scratch.
This is how I’d make the changes if I was you.
Create a new folder on your Desktop called /adsenseedits/ and copy the adsense.php file in that folder. You make a copy so if you make a mistake you can’t work out how to fix you can always upload the original file and start again.
Load the copied adsense.php file into a text editor like Notepad (don’t use a program like MS Word, it will break the file, it must be a basic text editor).
Make one change at a time as follows:
At the bottom of the adsense.php file find:
/* Single blog posts ad below the Comment area. */ $SingleAdLink = array(29,1,0,0,4);
Change to
/* Single blog posts ad below the Comment area. */ $SingleAdLink = array(29,1,1,0,4);
Save the file and using an FTP program like Filezilla (it’s free and what I use) upload the adsense.php file to the folder /wp-content/themes/talian-adsense-clickbank-seo-05/ so it over writes the current adsense.php file.
The above change will turn of the search AdSense ad unit below comments on blog Posts. Load a post and see if it worked.
Use the same procedure for the clickbank.php file and you’ll be able to disable any one or more of the ad units.
Although you can make these changes in the built in WordPress template editor there’s no undo feature and when you save a change the page reloads and you aren’t even on the same line you made the edit on: much easier to loose your way. The above procedure is slower, but less prone to mistakes. Take your time, one edit at a time, as you’ve found rushing and making multiple changes in one go is very easy to get lost and can waste hours on a simple mistake like deleting a , or adding a space.
Next update this should be part of the admin menu. If you can wait a month for me to code and test it, this will be achievable through the Talian admin menu with tick boxes. I plan to have all the search AdSense ad units except the widget ones turned off by default, they perform poorly on most sites.
LMK if you have any more problems.
BTW Would be helpful to know the domain you are working on so I can view source to look for obvious mistakes. The site linked to your author name doesn’t even have WordPress installed.
Update:
Now I can see your site I know what you’ve done.
You’ve changed the wrong numbers, the AdSense ad above your banner image area should be a search ad unit and you’ve turned it into a content ad unit by mistake.
You’ve changed
/* Header ad shown above the banner image area on all pages. */ $HeaderAd = array(30,1,0,0,6);
to something like
/* Header ad shown above the banner image area on all pages. */ $HeaderAd = array(30,0,0,0,6);
If you upload the adsense.php file and start again it will fix that problem (easier to start again than try to fix as you’ve probably made the same mistake with other ads).
Looks like when I said change the third number you’ve counted the third number in this list as the 1 rather than the 0.
30,1,0,0,6
I meant the third number separated by a comma, so 30 is the first number (not 3) and 0 is the third number in this example.
Hope that makes sense.
Found a way to add this to the Talian admin page without resulting in hundreds of lines of code, so next month this won’t be an issue for those that want to disable ads easily. Fortunately for me most users use the default settings :-)
David
More Comments by SEO Dave
AdSense Rounded Corners Style
Google AdSense Ad Code Broken
The problem is with the copy and pasting of your Google AdSense publisher ID into the Talian 5 AdSense ID box, you copy and pasted some space which broke the AdSense code.
Go back to the Talian options page and make …
Continue Reading AdSense Rounded Corners Border
AdSense Rounded Corners Style
Your pages are displaying Public Service Advertisements (PSAs) because you have not yet verified your PIN and/or phone number.
That’s interesting. Is your AdSense account new?
Did a little research and found which basically says
“Your pages are displaying Public Service Advertisements (PSAs) because you haven’t yet verified your PIN and/or phone number.”
I’ve been an AdSense publisher for over …
Continue Reading AdSense Rounded Corners Border
AdSense Rounded Corners Style
Adult AdSense Ads on Non-Adult sites
Sex toys ads with AdSense hey :-)
It’s probably due to a combination of the content on your site and that AdSense has just been added. Should improve assuming your content doesn’t include sex toy relevant keywords, for example you might …
Continue Reading AdSense Rounded Corners Border
AdSense Rounded Corners Style
Reasons Why AdSense For Content Ad Units Not Showing Ads
So your sites suffering from a combination of Public Service ads and not showing ads on all AdSense ad blocks.
This is usually caused by a combination of it being a new site to AdSense and the content not being of …
Continue Reading AdSense Rounded Corners Border
AdSense Rounded Corners Style
AdSense Publisher ID
You’ve added an extra space after your Google AdSense publisher ID.
So where you should add
“pub-1234567890” you’ve added
“pub-1234567890 ” and that breaks the AdSense code.
Go to the Talian options page and remove the space after your AdSense Publisher ID, “Store Options” …
Continue Reading AdSense Rounded Corners Border
AdSense Rounded Corners Style
Talian AdSense Theme Setup
#1 I want to put Adsense ad + Clickbank both on the right side of the page
There’s settings on the Talian admin page for selecting left/right for floating the ads in the main content. If you mean on the right …
Continue Reading AdSense Rounded Corners Border
AdSense Rounded Corners Style
Reasons Why AdSense Ads Not Showing up in WordPress
Glad you like Talian 05. If the sites the one you linked to your author name it looks like everything is setup correctly.
Is the issue the Google AdSense public service ads?
If so that can be caused by AdSense being put …
Continue Reading AdSense Rounded Corners Border
AdSense Rounded Corners Style
No Google AdSense TOS Infringement
Actually it’s 6 AdSense ad units per page, 3 content AdSense ad units and 3 search AdSense ad units.
The Talian 05 theme is set to show 6 AdSense ad units by default (3 of each). If you use widgets and …
Continue Reading AdSense Rounded Corners Border
AdSense Rounded Corners Style
How to Use Google AdSense Ad Channels
Individual AdSense channel IDs for each ad unit isn’t possible with the Talian theme files I’ve sent out so far. You can only have one AdSense channel per installation.
I’ve solved how to achieve individual channels for each ad unit recently …
Continue Reading AdSense Rounded Corners Border
AdSense Rounded Corners Style
How to Add an AdSense Ad Unit Into a WordPress Theme
Replacing the banner with an AdSense ad unit.
Removing the banners is really easy, edit the landscape-images.php and delete everything.
Easiest way to ad an AdSense content ad unit that matches the theme would be to create an ad the size you …
Continue Reading AdSense Rounded Corners Border