| | #1 |
| Warrior Member Join Date: 2009
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
|
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? |
| |
| | #2 |
| phpLD master War Room Member Join Date: 2006 Location: Laguna Beach
Posts: 4,015
Thanks: 80
Thanked 542 Times in 421 Posts
Blog Entries: 3 |
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 |
| It is okay to contact me! I have been developing software since 1999, creating many popular products like phpLD.
| |
| |
| | #3 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Lubbock, Texas
Posts: 103
Thanks: 18
Thanked 32 Times in 28 Posts
|
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 |
|
Ping All Your Feed On Auto-Pilot www.kping.com | |
| |
|
| Bookmarks |
| Tags |
| app, built, javascript, php, wordpress, working |
| |