Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
What's the variable for the theme directory?
Trying to include some JS in my header, but I don't want to specify the name of the directory in the path, because I'm sure it will change some time.
Here's the code I'm trying to put in:
script src="less.js" needs to have a path before less.js, as it's trying to load it from the forum root.
What can I use to make it load it from the theme directory?
Here's the code I'm trying to put in:
<link rel="stylesheet/less" type="text/css" href="styles.less">
<script src="less.js" type="text/javascript"></script>
script src="less.js" needs to have a path before less.js, as it's trying to load it from the forum root.
What can I use to make it load it from the theme directory?
0
Best Answer
-
422 MVPTutorial added. Perhaps it will help, perhaps it wont. But its free so have some fun.
There was an error rendering this rich post.
0
Answers
There was an error rendering this rich post.
There was an error rendering this rich post.
There was an error rendering this rich post.