Description
This conditional shortcode checks if the user is visiting using a mobile device.
Shortcode Examples
[memb_is_mobile]
Display this content on mobile
[else_memb_is_mobile]
Display this content to a user who's not on mobile
[/memb_is_mobile]The below shortcode displays the word “No” if you’re not on mobile, and “Yes” if you’re on mobile:
[memb_is_mobile]
Shortcode Attributes
| Conditional | No |
|---|---|
| Nestable | No |
| Accepts formatting | No |
| Capturable | No |