This topic has 2 replies, 2 voices, and was last updated 6 months, 3 weeks ago ago by Rose Tyler
Hello, i need to add a custom user agent to a web view app so that I know they are accessing through the app however when I do that it no longer picks up that it’s on a mobile device & doesn’t show the mobile header/menu etc how can I fix this so that the theme knows that X customer user agent is a mobile device?
Hello, Asapb3rto,
Thank you for reaching out to us with your query.
WordPress has a function called wp_is_mobile() to determine if the visitor is using a mobile device (https://developer.wordpress.org/reference/functions/wp_is_mobile/). If your custom user agent isn’t triggering this, you might need to adjust it to include typical mobile identifiers.
If you still need help, you can request customization services through (https://www.8theme.com/account/#etheme_customization_panel), but note that there may be extra charges.
Best Regards,
8Theme’s Team
You must be logged in to reply to this topic.Log in/Sign up