Setting JavaScript variables
-
Is there any way to set JavaScript variables in an external .js file (ie, edit/generate an external text file) from a WordPress plugin?
Or is the only solution to set them in a script tag in the head of every page? Which obviously seems a little ‘clunky’ ??
Cheers,
Mark
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Setting JavaScript variables’ is closed to new replies.