Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
You should grab 2.1.9, released 18 March. It's what all the cool kids are doing.

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.