How do I add a dynamic link to theme with Javascript
-
function OpenSoundFrame (){ top.location.href = "https://localhost/mysite/wp-content/themes/mytheme/sound_frame/"+framecolor+"/FRAME_"+soundloc+"_"+soundframe+".htm" + "?" + window.location.href; }
That is: https://localhost/mysite/wp-content/themes/mytheme > how do make this dynamic so I can use the code in other sites.
Thanks for any help-
- The topic ‘How do I add a dynamic link to theme with Javascript’ is closed to new replies.