Exclude tablets from “mobile” device type?
-
I’ve recently started building FSE custom sites instead of hand-coded themes, and your plugin is a very handy replacement for “wp_is_mobile()”. However, I’ve noticed that the Device Type setting for “Mobile” includes tablets, and I want them to display like DT.
Using Screen Size rules is not an option in most instances since I’m dealing with images and don’t want to slow down the mobile view.
I usually use the “Mobile Detect” plugin which excludes tablets from wp_is_mobile(), but it has no effect on your plugin, so I’m assuming you’re not using wp_is_mobile().
Is there a code snippet I could add that would exclude tablets from the Mobile category?
Thanks in advance.
- You must be logged in to reply to this topic.