• Is there a way for Javascript to use the WordPress PHP functions? I want to display things like my links, pages, and categories using Javascript. So far I haven’t been able to figure this out.

Viewing 1 replies (of 1 total)
  • Yeah…. it doesn’t work like that. Javascript is a client side language, which will run in the browser window. PHP on the other hand is a server side language which means it runs on the server… and not on the client. There is no direct easy way to make the to talk to each other. Not impossible… but not easily.

    -tg

Viewing 1 replies (of 1 total)

The topic ‘Javascript Access To WP PHP Functions’ is closed to new replies.