I have a site that needs javascript code put in one of the pages. WordPress keeps escaping single quotes between tags, which is breaking my code. Is there some way around this? I found an extension that is supposed to prevent this but it only works for posts, not pages.
Doesn't work - wordpress replaces a bunch of characters with thier entity versions, which breaks the code.
if you want to add javascript to a page you're going to have to turn off the visual editor and use the HTML editor to edit your WordPress pages click "Users", click "Your Profile", and then uncheck "Use the visual editor when writing"
Yeah, that doesn't work. It escapes single quotes inside tags. I got my site done by making a standalone page. Basically you need to make a file with everything inside your page template, then add the line: <?php require_once('wp-blog-header.php'); ?> That way it can call the wordpress functions like wp_footer(); and wp_sidebar(); Then you can just write you contents right into the page - just sucks because if you change the page template this page won't update.