![]() |
An app built in PHP and Javascript NOT working in Wordpress... My developer is trying to install a mapping "where to buy" application onto my wordpress website. The application uses PHP and Javascript and we're having a difficult time getting it to work in Wordpress. (it works fine in standalone php files) We've downloaded and installed 2 Wordpress plugins that supposedly make the post/page content boxes accept PHP and Javascript. It seems we have the PHP part working, but the Javascript isn't. Here's what my developer is telling me: "Javascript is trying to pass the search paramaters in a GET statement and Wordpress is replacing the ampersand (&) with "&" which breaks the Javascript." Any ideas on how to fix that? |
Re: An app built in PHP and Javascript NOT working in Wordpress... Seems to be related to escaping the ampersand. Here is one thing I found that may help you WordPress 2.7 RSS Comments link error | Clive's Internet Marketing blog |
Re: An app built in PHP and Javascript NOT working in Wordpress... If escaping did not correct the problem then read this page: Using Javascript WordPress Codex It explains how to use javascript in templates and post. Rodney |
| All times are GMT -6. The time now is 10:17 AM. |