Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

No Javascript in Text Widget (adsense code)


  #1  
Old Jul 3, 2011, 04:42 AM
kitetheworld
 
2 posts · Jul 2011
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
  #2  
Old Jul 3, 2011, 05:02 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jul 3, 2011, 05:10 AM
kitetheworld
 
2 posts · Jul 2011
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

Last edited by kitetheworld; Jul 3, 2011 at 05:13 AM.
  #4  
Old Jul 3, 2011, 09:25 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I would check with your host and see if they can help. All I'd be doing is guessing at this point
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Widget Areas Needed to run adsense code in header? webgurl Sidebars & Widgets 3 Dec 4, 2010 02:56 PM
Can I hard code some text in a new widget area? horsemansarts Sidebars & Widgets 0 Nov 10, 2009 04:59 PM
Unable to use autoresponder form code in sidebar text widget TonyLogue Sidebars & Widgets 0 May 8, 2009 03:30 AM
Javascript, Adsense, RSS, and Comments Jerry RSS, Feeds & Subscribing 3 Mar 25, 2009 12:16 PM
Adsense code in Text widget jonco Sidebars & Widgets 5 Feb 11, 2009 04:18 PM


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


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