I put a banner in my posts and occasionally a raffle. As long as I go live with the publish button they hold. If I schedule (which I need to because I do not have all day to wait for my website and have a posting schedule), the scripts are stripped out of the post leaving only “// //”.
From the HTML screen, the scripts have been stripped out altogether, despite me checking to see them there after the post schedules. They are getting lost when the scheduler publishes the posts.
Could you post an example of what you’re trying to embed?
Do not add
<script></script>tags to the post content area of scheduled posts. There is a known issue with some HTML markup & post scheduling that should be fixed shortly.
If you want to follow the progress of the fix, it’s at http://core.trac.wordpress.org/ticket/22944
I’m waiting for the bug to be fixed, meanwhile I’d like to understand how could I avoid it removing <script></script> tags?
I do not see any <script> in my adsense lines, but only </script>.
So how could I remove them?
google_ad_client = “ca-pub-XXXXXXXXXXXXXXXXXX”;
/* Poetry Banner */
google_ad_slot = “5075694490”;
google_ad_width = 468;
google_ad_height = 60;
You cannot. The only way to fix this until the bug fix is released is to insert the script after the post goes live. Once it is live, WP will not strip the script out of your ad.
- The topic ‘No error code but no java only on scheduled posts’ is closed to new replies.