Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   No Javascript in Text Widget (adsense code) (http://forum.bytesforall.com/showthread.php?t=14808)

kitetheworld Jul 3, 2011 04:42 AM

No Javascript in Text Widget (adsense code)
 
Hello

I use wp 3.1.4 and Atahualpa 3.6.7. My Blog is NOT hostet by Wordpress.com

Problem:
I canot add some Adsense Code in the Textwidgets to display in the Sidebar. Wenn i add the code (generated by my google adsense acoount), in the textarea from the widget and klick safe, the "safe-symbol" turns and turns, but my code got never saved. Wenn i insert some text it works.

I also deaktivated all my Plugin's, but even then, it was not working.

my blog: www.kitetheworld.ch

Here the code i insert:
Code:

<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxxx";
/* testadsense */
google_ad_slot = "xxxxxxxxxx";
google_ad_width = 120;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Also when i insert this code in a article (html mode) and click "save", my browser reports, Error 101, Website not available (Goggle Chrome). I have the same with other Browsers.

I searching around since day's, but didn't found a solution.

Maybe someone can help me
Thanks Thomas

juggledad Jul 3, 2011 05:02 AM

first thing I would do is swap to the twenty ten theme and see if it is an issue there also. If so, then it is not theme related.

Have you thought about using an adsense plugin?

kitetheworld Jul 3, 2011 05:10 AM

With the default theme, also not working :-(

Any idea what that could be?

Can js beeing blocked from my hoster?

When i use asense plugin, also not working: When i add the Code in the plugin, my browser reports an error, like in articles

Thx Thomnas

juggledad Jul 3, 2011 09:25 AM

I would check with your host and see if they can help. All I'd be doing is guessing at this point


All times are GMT -6. The time now is 08:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.