Adding a Non-Adsense Code Into the Adsense Field Breaks Page
I have decided to start to use my website more actively, in due to this, I would like to attempt to use some advertising on my site to earn some money on it in the background. However, when I have tried to put the coding for adBrite into the Adsense field, the sidebar widgets and footer disappear and the page breaks. The page will load just fine, but those two aspects of the page disappear. Does anyone have any idea why this is or if there is a way to fix it? Or would it just be best to use a third-part plugin for the advertising code? Thank you very much for your help!Mod
The Google Adsense feature is basically a shelf on which you can set any valid html or css code. (I also use ad code from Clicochet on my book blog.)
The behaviour you are describing sounds like you have an unclosed
<div>somewhere in your adBrite code.
Thanks for the reply.
I checked my code, however, and I found that the code uses <script> tags and not <div> and they all seem to close at the end of them. Sadly, I am not very code savvy, so I am unsure if that is causing any issues. Do you have any thoughts on this?ModMod
1) When I put the code in to a widget, the footer breaks. The widgets are still there but the footer is not there anymore.
2) No offense, but I don’t really want to disable my plugins because I have a lot of data in them and I don’t want to lose anything. Not to say that I will (honestly, I don’t know if it’ll break anything or not actually), but… well, let me know what you think.Mod
Sometimes these things are the result of a plugin conflict. The only way to know for sure is to disable all of your plugins.
The easy (and safe) way to do this all at once is to FTP to your site and rename your plugins folder. You can change it back after you’ve ruled out a plugin issue.
I don’t what you mean that you have a lot of data in your plugins? Do you mean their settings?
When I put the code in to a widget, the footer breaks.
It is really difficult (impossible in a lot of cases), to tell what is happening unless we can see it. Sometimes you just gotta live with the ugly until we can figure it out.
I don’t what the advantage of adBrite is, but as a backup, you could always sign up with Google Adsense.
I like your idea of just changing the name of the plugin folder, so that’s what I did. Shouldn’t break the site too bad.
You can now head to my site (click my profile for the link). As you will see, the sidebar, of which I have added a widget to, is missing, as well as the footer.
I don’t like Google AdSense, so I won’t be using them. Past issues.
You must be logged in to reply to this topic.