{"action":"created","issue":{"url":"https://api.github.com/repos/n33/skel/issues/84","labels_url":"https://api.github.com/repos/n33/skel/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/n33/skel/issues/84/comments","events_url":"https://api.github.com/repos/n33/skel/issues/84/events","html_url":"https://github.com/n33/skel/issues/84","id":44845716,"number":84,"title":"Wordpress integration issue... with Solution.","user":{"login":"michaelcummings","id":46293,"avatar_url":"https://avatars.githubusercontent.com/u/46293?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelcummings","html_url":"https://github.com/michaelcummings","followers_url":"https://api.github.com/users/michaelcummings/followers","following_url":"https://api.github.com/users/michaelcummings/following{/other_user}","gists_url":"https://api.github.com/users/michaelcummings/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelcummings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelcummings/subscriptions","organizations_url":"https://api.github.com/users/michaelcummings/orgs","repos_url":"https://api.github.com/users/michaelcummings/repos","events_url":"https://api.github.com/users/michaelcummings/events{/privacy}","received_events_url":"https://api.github.com/users/michaelcummings/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-10-03T20:26:02Z","updated_at":"2015-01-30T21:00:06Z","closed_at":"2014-10-05T22:28:24Z","body":"I'm trying to play with one of your HTML5 themes and I'm noticing a few things as I try to convert it to a WordPress theme for one of my pet projects.\r\n\r\n1.) I'm see you're using a minified version of something called skel-layers.min.js.  I have no idea what this is, and you have no documentation anywhere for it.\r\n\r\n2.) skel.js seems to be calling for the stylesheets it needs, but in a WordPress environment this is broken.  It looks for css files relative to the root which wont work inside of a WP theme setting, especially one where you have a staging and production environment. I would suggest that you add that something to documentation somewhere that gives this solution unless you can come up with something better:\r\n\r\nAdd to your header.php file above your wp_head() call:\r\n```html\r\n<script type=\"text/javascript\">\r\nvar templateUrl = '<?= get_bloginfo(\"template_url\"); ?>';\r\n</script>\r\n```\r\n\r\nThen make sure to add that variable to your init.js file like so...\r\n```javascript\r\nskel.init({\r\n\t\treset: 'full',\r\n\t\tbreakpoints: {\r\n\t\t\t'global':\t{ range: '*', href: templateUrl+'/css/style.css' },\r\n\t\t\t'desktop':\t{ range: '737-', href: templateUrl+'/css/style-desktop.css', containers: 1200, grid: { gutters: 50 } },\r\n\t\t\t'1000px':\t{ range: '737-1200', href: templateUrl+'/css/style-1000px.css', containers: 1000, grid: { gutters: 35 }, viewport: { width: 1080 } },\r\n\t\t\t'mobile':\t{ range: '-736', href: templateUrl+'/css/style-mobile.css', containers: '100%', grid: { collapse: true, gutters: 10 }, viewport: { scalable: false } }\r\n\t\t},\r\n....\r\n```"},"comment":{"url":"https://api.github.com/repos/n33/skel/issues/comments/72269435","html_url":"https://github.com/n33/skel/issues/84#issuecomment-72269435","issue_url":"https://api.github.com/repos/n33/skel/issues/84","id":72269435,"user":{"login":"n33","id":2937342,"avatar_url":"https://avatars.githubusercontent.com/u/2937342?v=3","gravatar_id":"","url":"https://api.github.com/users/n33","html_url":"https://github.com/n33","followers_url":"https://api.github.com/users/n33/followers","following_url":"https://api.github.com/users/n33/following{/other_user}","gists_url":"https://api.github.com/users/n33/gists{/gist_id}","starred_url":"https://api.github.com/users/n33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n33/subscriptions","organizations_url":"https://api.github.com/users/n33/orgs","repos_url":"https://api.github.com/users/n33/repos","events_url":"https://api.github.com/users/n33/events{/privacy}","received_events_url":"https://api.github.com/users/n33/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T21:00:06Z","updated_at":"2015-01-30T21:00:06Z","body":"Skel works fine with WordPress. See https://github.com/n33/skel/issues/98#issuecomment-64813526."}}