{"action":"created","issue":{"url":"https://api.github.com/repos/CherryFramework/CherryFramework/issues/38","labels_url":"https://api.github.com/repos/CherryFramework/CherryFramework/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/CherryFramework/CherryFramework/issues/38/comments","events_url":"https://api.github.com/repos/CherryFramework/CherryFramework/issues/38/events","html_url":"https://github.com/CherryFramework/CherryFramework/issues/38","id":127268262,"number":38,"title":"404: cherryframework4/lib/admin/ui-elements/ui-text/assets/ui-text.css","user":{"login":"peterhough","id":88101,"avatar_url":"https://avatars.githubusercontent.com/u/88101?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhough","html_url":"https://github.com/peterhough","followers_url":"https://api.github.com/users/peterhough/followers","following_url":"https://api.github.com/users/peterhough/following{/other_user}","gists_url":"https://api.github.com/users/peterhough/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhough/subscriptions","organizations_url":"https://api.github.com/users/peterhough/orgs","repos_url":"https://api.github.com/users/peterhough/repos","events_url":"https://api.github.com/users/peterhough/events{/privacy}","received_events_url":"https://api.github.com/users/peterhough/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-18T16:56:49Z","updated_at":"2016-01-19T09:22:13Z","closed_at":null,"body":"We are running Wordpress using the Bedrock framework (https://roots.io/bedrock/). Therefore Wordpress is in a subdirectory (/wp).\r\n\r\nLoading the Cherry Options page (/wp/wp-admin/admin.php?page=options) produces serveral 404 errors and the page does not work.\r\nFor example:\r\nhttp://mywebsite.dev/wp/var/www/mywebsite/web/app/themes/cherryframework4/lib/admin/ui-elements/ui-text/assets/ui-text.css?ver=1.0.0"},"comment":{"url":"https://api.github.com/repos/CherryFramework/CherryFramework/issues/comments/172787074","html_url":"https://github.com/CherryFramework/CherryFramework/issues/38#issuecomment-172787074","issue_url":"https://api.github.com/repos/CherryFramework/CherryFramework/issues/38","id":172787074,"user":{"login":"peterhough","id":88101,"avatar_url":"https://avatars.githubusercontent.com/u/88101?v=3","gravatar_id":"","url":"https://api.github.com/users/peterhough","html_url":"https://github.com/peterhough","followers_url":"https://api.github.com/users/peterhough/followers","following_url":"https://api.github.com/users/peterhough/following{/other_user}","gists_url":"https://api.github.com/users/peterhough/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhough/subscriptions","organizations_url":"https://api.github.com/users/peterhough/orgs","repos_url":"https://api.github.com/users/peterhough/repos","events_url":"https://api.github.com/users/peterhough/events{/privacy}","received_events_url":"https://api.github.com/users/peterhough/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T09:22:13Z","updated_at":"2016-01-19T09:22:13Z","body":"I've looked at this and the issue appears to be the ``get_current_file_url`` static function, that is dotted about a few files.\r\n\r\nThis seems to do the job:\r\n``return get_template_directory_uri() . str_replace(get_template_directory(), '', dirname(__FILE__));``\r\n\r\nMaybe consider refactoring the method so it is only in one place?\r\nI'll try and open a pull request if I can find some time :weary: "}}