I've been checking the docs but I only found a way to use different style sheet for phones and tablets.
Is there a way to create another different theme only for mobile phones and tablets? And I'm not talking about creating a "responsive" theme. It's not always ideal.
I would like to display different information and not only change the structure. And also, optimize the loading of the site removing unnecessary javascript files and so on.
Is there a proper way to do it? Or I would need to find my own way.
wp_is_mobile
is not 100% accurate. Responsive desing with a mobile first approach is the actaul web standard, using different templates or showing different information depending on the user device is a old school practice not recommended any more.wp_is_mobile()
detects mobiles only, not tablets. Stick to responsive design. This is the only reliable method around.