
WordPress Shortcode OS Detector Plugin
A WordPress plugin that allows you to use shortcodes to detect the operating system of the user.
Use os_detect shortcode to detect the OS of the page visitor.`
`platforms``` - For what OS to show/hide content. Defaults to all OS. <br />
e.g. ["os_detect platforms="Windows,Linux"]Text[/os_detect]
`type``` - To show/hide action for selected platforms. Defaults to show. <br />
e.g. ["os_detect type="hide"]Text[/os_detect]
`[os_detect platforms="Windows,Linux,OSX" type="hide"]Text[/os_detect]``` <br />
Does not show “Text” on Windows, Linux, OSX operating platforms.
`[os_detect platforms="ChromeOS" type="show"]Text[/os_detect]``` <br />
Show “Text” on ChromeOS operating platforms.
This plugin utilizes php-browser-detector library https://github.com/sinergi/php-browser-detector.
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.