Fork me on GitHub
Current Releases are 2.1 stable (major release) and 2.0.18.11 (security patch for 2.0)
We've also rebooted our GitHub repo, docs, and more!

How to get the domain name for addon ? How to add string add footer ?

saturngodsaturngod New
edited October 2011 in Questions
I am writing plugin and I need to add domain name for plugin path in javascript file.


<script>
keyboards = [
["http://www.saturngod.net/wp-content/plugins/jkeymagic/js/kb/Myanmar3.js", "Myanmar3"],
["http://www.saturngod.net/wp-content/plugins/jkeymagic/js/kb/Zawgyi L - Unicode.js", "Zawgyi L - Unicode"] ];
</script>


I want to add this string before .

I didn't find get domain name in vanilla 2 add on and add string before

Best Answer

Answers

Sign In or Register to comment.