Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

As title said I saved in wp-options -> option_value a adsense code but when I try to display to website in the code I get some

"<script type=\"text/javascript\"><!--<br />google_ad_client = \"ca-pub-\";<br />/* Header all pages */<br />google_ad_slot = \"xxxxx\";<br />google_ad_width = 728;<br />google_ad_height = 90;<br />//--><br /></script><br /><script type=\"text/javascript\"<br />src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"><br /></script>"

Why do I get this?

share|improve this question
    
Post the code that saves the option, and the code that displays it, please. –  s_ha_dum Apr 29 '13 at 23:48
    
<br /> shows up when display the adsense code. I guess it is wpautop –  Jesse Apr 29 '13 at 23:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.