{"action":"created","issue":{"url":"https://api.github.com/repos/websharks/wp-snippets/issues/4","labels_url":"https://api.github.com/repos/websharks/wp-snippets/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/websharks/wp-snippets/issues/4/comments","events_url":"https://api.github.com/repos/websharks/wp-snippets/issues/4/events","html_url":"https://github.com/websharks/wp-snippets/issues/4","id":65761431,"number":4,"title":"Feature Request: Random Snippets","user":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/websharks/wp-snippets/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/websharks/wp-snippets/labels/partial%20completion","name":"partial completion","color":"bfe5bf"},{"url":"https://api.github.com/repos/websharks/wp-snippets/labels/ready%20for%20work","name":"ready for work","color":"DDDDDD"}],"state":"open","locked":false,"assignee":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-01T19:30:32Z","updated_at":"2015-05-28T07:18:01Z","closed_at":null,"body":"It would be nice if it was possible to randomly pull in any snippet from a specific category (e.g., \"Testimonials\"). This could be a simply enhancement to the Snippets shortcode: `[snippet category=\"testimonials\" /]`.\r\n\r\nReferencing: https://github.com/websharks/s2member.com/issues/15#issuecomment-88604067"},"comment":{"url":"https://api.github.com/repos/websharks/wp-snippets/issues/comments/106206087","html_url":"https://github.com/websharks/wp-snippets/issues/4#issuecomment-106206087","issue_url":"https://api.github.com/repos/websharks/wp-snippets/issues/4","id":106206087,"user":{"login":"jaswsinc","id":1563559,"avatar_url":"https://avatars.githubusercontent.com/u/1563559?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswsinc","html_url":"https://github.com/jaswsinc","followers_url":"https://api.github.com/users/jaswsinc/followers","following_url":"https://api.github.com/users/jaswsinc/following{/other_user}","gists_url":"https://api.github.com/users/jaswsinc/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswsinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswsinc/subscriptions","organizations_url":"https://api.github.com/users/jaswsinc/orgs","repos_url":"https://api.github.com/users/jaswsinc/repos","events_url":"https://api.github.com/users/jaswsinc/events{/privacy}","received_events_url":"https://api.github.com/users/jaswsinc/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T07:18:01Z","updated_at":"2015-05-28T07:18:01Z","body":"Partial completion. While it is not possible to do a random category yet, the following is now possible.\r\n\r\n```\r\n[snippet slug=\"random:sluga,slugb,slugc\" /]\r\n```\r\n\r\nA random slug is selected from the comma-delimited list you supply."}}