Lightweight plugin that creates shortcodes to show or hide content based on the user’s device, updated to work with almost all WordPress Versions.
This uses the Mobile Detect Library https://github.com/serbanghita/Mobile-Detect
How to use it?
| Shortcode | Usage |
|---|---|
| Mobile: | |
| Desktop: | This shows in Desktop only |
| iOS: | |
| Android: | |
| Tablet: |
Installation
- Download as zip (click in the code green button in github and download zip) and upload the plugin to your WordPress site.
- Activate the plugin named “WP Mobile Detect Shortcodes”.
- Enjoy