Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Important security fix: 2.1.10, released 4 May.

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

saturngodsaturngod New
edited October 2011 in Vanilla 2.0 Help
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.