{"action":"created","issue":{"url":"https://api.github.com/repos/uncatcrea/wp-appkit/issues/211","repository_url":"https://api.github.com/repos/uncatcrea/wp-appkit","labels_url":"https://api.github.com/repos/uncatcrea/wp-appkit/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/uncatcrea/wp-appkit/issues/211/comments","events_url":"https://api.github.com/repos/uncatcrea/wp-appkit/issues/211/events","html_url":"https://github.com/uncatcrea/wp-appkit/issues/211","id":148892725,"number":211,"title":"Shorttag to show/hide app specific content","user":{"login":"gerhardsletten","id":63344,"avatar_url":"https://avatars.githubusercontent.com/u/63344?v=3","gravatar_id":"","url":"https://api.github.com/users/gerhardsletten","html_url":"https://github.com/gerhardsletten","followers_url":"https://api.github.com/users/gerhardsletten/followers","following_url":"https://api.github.com/users/gerhardsletten/following{/other_user}","gists_url":"https://api.github.com/users/gerhardsletten/gists{/gist_id}","starred_url":"https://api.github.com/users/gerhardsletten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerhardsletten/subscriptions","organizations_url":"https://api.github.com/users/gerhardsletten/orgs","repos_url":"https://api.github.com/users/gerhardsletten/repos","events_url":"https://api.github.com/users/gerhardsletten/events{/privacy}","received_events_url":"https://api.github.com/users/gerhardsletten/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/uncatcrea/wp-appkit/labels/f%20-%20plugin","name":"f - plugin","color":"d4c5f9"},{"url":"https://api.github.com/repos/uncatcrea/wp-appkit/labels/f%20-%20web%20services","name":"f - web services","color":"d4c5f9"},{"url":"https://api.github.com/repos/uncatcrea/wp-appkit/labels/proposal","name":"proposal","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-16T21:10:48Z","updated_at":"2016-04-20T07:14:30Z","closed_at":null,"body":"Would a shorttags for showing / hiding content in a post/page be good idea? Probably also to target specific platforms like ios or android?"},"comment":{"url":"https://api.github.com/repos/uncatcrea/wp-appkit/issues/comments/212292736","html_url":"https://github.com/uncatcrea/wp-appkit/issues/211#issuecomment-212292736","issue_url":"https://api.github.com/repos/uncatcrea/wp-appkit/issues/211","id":212292736,"user":{"login":"blupu","id":6179747,"avatar_url":"https://avatars.githubusercontent.com/u/6179747?v=3","gravatar_id":"","url":"https://api.github.com/users/blupu","html_url":"https://github.com/blupu","followers_url":"https://api.github.com/users/blupu/followers","following_url":"https://api.github.com/users/blupu/following{/other_user}","gists_url":"https://api.github.com/users/blupu/gists{/gist_id}","starred_url":"https://api.github.com/users/blupu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blupu/subscriptions","organizations_url":"https://api.github.com/users/blupu/orgs","repos_url":"https://api.github.com/users/blupu/repos","events_url":"https://api.github.com/users/blupu/events{/privacy}","received_events_url":"https://api.github.com/users/blupu/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T07:14:30Z","updated_at":"2016-04-20T07:14:30Z","body":"Good point. It could be a nice feature indeed. So I believe the shortcodes would only interpreted when data are retrieved through the WP-AppKit API. @mleroi do you see a way to do the _is_app()_?\r\nRegarding the shorcodes themselves, I would probably have something like _hide_from_apps_ and _show_in_apps_only_ to be as explicit as possible."}}