How to create custom Javascript for a specific theme design
You can now create custom Javascript that is associated with a specific theme design without having to add new files, copy folders, or branch away from the uSkinned codebase at all. This makes running upgrades and keeping on top of your code even easier.
Step 1
Login to the CMS.
Step 2
In the tree menu, go to 'Design'.
Step 3
On the right-hand side, click on any of your installed designs or create a new one.
Step 4
From the tabs, go to 'Javascript'.
Step 5
You can now add custom Javascript that is specific to this design only.
Step 6
Now, 'Save and publish'. Your new Javascript will now be bundled into the generated code for this design — great for SEO and Performance!
#h5yr