{"id":42647,"date":"2016-03-21T09:21:06","date_gmt":"2016-03-21T09:21:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/os-shortcode-detector\/"},"modified":"2016-03-21T10:25:10","modified_gmt":"2016-03-21T10:25:10","slug":"os-shortcode-detector","status":"closed","type":"plugin","link":"https:\/\/vi.wordpress.org\/plugins\/os-shortcode-detector\/","author":14831939,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"OS Shortcode Detect Plugin","header_author":"\u0160ar\u016bnas Ma\u017eelis (@essens)","header_description":"","assets_banners_color":"","last_updated":"2016-03-21 10:25:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/essensx\/wp-os-detect","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1094,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","description"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-42647","plugin","type-plugin","status-closed","hentry","plugin_committers-essensx"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/os-shortcode-detector.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=installation-->\n<ol>\n<li>Move project to plugins directory<\/li>\n<li>Go to WordPress admin panel<\/li>\n<li>Go to plugins section<\/li>\n<li>Enable OS Shortcode Detect plugin<\/li>\n<li>Enjoy!<\/li>\n<\/ol>\n\n<!--section=description-->\nWordpress Shortcode OS Detector Plugin\n\n<p>A Wordpress plugin that allows you to use shortcodes to detect the operating system of the user.<\/p>\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>PHP from 5.3<\/li>\n<li>WordPress from 4.0<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p>Use <code>os_detect<\/code> shortcode to detect the OS of the page visitor.`<\/p>\n\n<h4>Available parameters:<\/h4>\n\n<pre><code>`platforms``` - For what OS to show\/hide content. Defaults to all OS. &lt;br \/&gt;\n<\/code><\/pre>\n\n<p>e.g. <code>[\"os_detect platforms=\"Windows,Linux\"]Text[\/os_detect]<\/code><\/p>\n\n<pre><code>`type``` - To show\/hide action for selected platforms. Defaults to show. &lt;br \/&gt;\n<\/code><\/pre>\n\n<p>e.g. <code>[\"os_detect type=\"hide\"]Text[\/os_detect]<\/code><\/p>\n\n\n\n<h4>Plugin supports these operating systems:<\/h4>\n\n<ul>\n<li>Windows<\/li>\n<li>WindowsPhone<\/li>\n<li>OSX<\/li>\n<li>iOS<\/li>\n<li>Android<\/li>\n<li>ChromeOS<\/li>\n<li>Linux<\/li>\n<li>SymbOS<\/li>\n<li>Nokia<\/li>\n<li>BlackBerry<\/li>\n<li>FreeBSD<\/li>\n<li>OpenBSD<\/li>\n<li>NetBSD<\/li>\n<li>OpenSolaris<\/li>\n<li>SunOS<\/li>\n<li>OS2<\/li>\n<li>BeOS<\/li>\n<li>Unknown<\/li>\n<\/ul>\n\n\n\n<h4>Example Usage:<\/h4>\n\n<pre><code>`[os_detect platforms=\"Windows,Linux,OSX\" type=\"hide\"]Text[\/os_detect]``` &lt;br \/&gt;\n<\/code><\/pre>\n\n<p>Does not show \"Text\" on Windows, Linux, OSX operating platforms.<\/p>\n\n<pre><code>`[os_detect platforms=\"ChromeOS\" type=\"show\"]Text[\/os_detect]``` &lt;br \/&gt;\n<\/code><\/pre>\n\n<p>Show \"Text\" on ChromeOS operating platforms.<\/p>\n\n\n\n<h3>Thanks<\/h3>\n\n<p>This plugin utilizes php-browser-detector library https:\/\/github.com\/sinergi\/php-browser-detector.<\/p>","raw_excerpt":"Wordpress Shortcode OS Detector Plugin A Wordpress plugin that allows you to use shortcodes to detect the operating system of the user.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/42647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=42647"}],"author":[{"embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/essensx"}],"wp:attachment":[{"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=42647"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=42647"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=42647"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=42647"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=42647"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/vi.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=42647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}