{"action":"created","issue":{"url":"https://api.github.com/repos/goblindegook/littlefoot/issues/8","repository_url":"https://api.github.com/repos/goblindegook/littlefoot","labels_url":"https://api.github.com/repos/goblindegook/littlefoot/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/goblindegook/littlefoot/issues/8/comments","events_url":"https://api.github.com/repos/goblindegook/littlefoot/issues/8/events","html_url":"https://github.com/goblindegook/littlefoot/issues/8","id":352147250,"node_id":"MDU6SXNzdWUzNTIxNDcyNTA=","number":8,"title":"littlefoot.js and wordpress","user":{"login":"kadso","id":29542442,"node_id":"MDQ6VXNlcjI5NTQyNDQy","avatar_url":"https://avatars2.githubusercontent.com/u/29542442?v=4","gravatar_id":"","url":"https://api.github.com/users/kadso","html_url":"https://github.com/kadso","followers_url":"https://api.github.com/users/kadso/followers","following_url":"https://api.github.com/users/kadso/following{/other_user}","gists_url":"https://api.github.com/users/kadso/gists{/gist_id}","starred_url":"https://api.github.com/users/kadso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadso/subscriptions","organizations_url":"https://api.github.com/users/kadso/orgs","repos_url":"https://api.github.com/users/kadso/repos","events_url":"https://api.github.com/users/kadso/events{/privacy}","received_events_url":"https://api.github.com/users/kadso/received_events","type":"User","site_admin":false},"labels":[{"id":332089846,"node_id":"MDU6TGFiZWwzMzIwODk4NDY=","url":"https://api.github.com/repos/goblindegook/littlefoot/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-20T13:57:04Z","updated_at":"2018-08-20T15:44:10Z","closed_at":"2018-08-20T15:27:24Z","author_association":"NONE","body":"I presently use bigfoot.js extensively in my wordpress site (www.agneic.com)\r\n\r\nI am designing new website and thinking of using little foot.js.\r\n\r\nDo you know of anyone/anywhere I might reference how to install littlefoot.js in a wordpress environment?\r\n\r\nbeing really new to coding, I'm presently unsure of what goes where when it comes to installing littlefoot.js into a word press environment..."},"comment":{"url":"https://api.github.com/repos/goblindegook/littlefoot/issues/comments/414364268","html_url":"https://github.com/goblindegook/littlefoot/issues/8#issuecomment-414364268","issue_url":"https://api.github.com/repos/goblindegook/littlefoot/issues/8","id":414364268,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDM2NDI2OA==","user":{"login":"goblindegook","id":285497,"node_id":"MDQ6VXNlcjI4NTQ5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/285497?v=4","gravatar_id":"","url":"https://api.github.com/users/goblindegook","html_url":"https://github.com/goblindegook","followers_url":"https://api.github.com/users/goblindegook/followers","following_url":"https://api.github.com/users/goblindegook/following{/other_user}","gists_url":"https://api.github.com/users/goblindegook/gists{/gist_id}","starred_url":"https://api.github.com/users/goblindegook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goblindegook/subscriptions","organizations_url":"https://api.github.com/users/goblindegook/orgs","repos_url":"https://api.github.com/users/goblindegook/repos","events_url":"https://api.github.com/users/goblindegook/events{/privacy}","received_events_url":"https://api.github.com/users/goblindegook/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T15:44:10Z","updated_at":"2018-08-20T15:44:10Z","author_association":"OWNER","body":"I haven't tested it, but adding the following to your theme's `functions.php` file should work:\r\n\r\n```php\r\nfunction littlefoot() {\r\n  wp_enqueue_style( 'littlefoot-style', 'https://unpkg.com/littlefoot@1.0.5/dist/littlefoot.css', '1.0.5' );\r\n  wp_enqueue_script( 'littlefoot-script', 'https://unpkg.com/littlefoot@1.0.5/dist/littlefoot.min.js', '1.0.5', true );\r\n  wp_add_inline_script( 'littlefoot-script', 'littlefoot.default()' );\r\n}\r\n\r\nadd_action( 'wp_enqueue_scripts', 'littlefoot' );\r\n```\r\n\r\nPlease correct me if this doesn't work. Just make sure the HTML conforms to the examples provided in the README."}}
{"actor":{"display_login":"goblindegook"}}