Title: [Plugin: WPtouch] Adding user agent strings
Last modified: August 20, 2016

---

# [Plugin: WPtouch] Adding user agent strings

 *  Resolved [mehulved](https://wordpress.org/support/users/mehulved/)
 * (@mehulved)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wptouch-adding-user-agent-strings/)
 * I have obtained and used UAStrings for Blackberry and S60 browsers from useragentstring.
   com and inserted it in the relevant option from the dashboard. It is in form 
   of
 * Mozilla/5.0 (BlackBerry; U; BlackBerry 9900; en) AppleWebKit/534.11+ (KHTML, 
   like Gecko) Version/7.1.0.346 Mobile Safari/534.11+, Mozilla/5.0 (BlackBerry;
   U; BlackBerry 9860; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.254
   Mobile Safari/534.11+
 * As you can see there is a comma after KHTML and it separates the UA String there.
   What is the ideal way to handle this? Should I enclose each string inside “” 
   or can I cut it off before AppleWebKit?
 * [http://wordpress.org/extend/plugins/wptouch/](http://wordpress.org/extend/plugins/wptouch/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [mehulved](https://wordpress.org/support/users/mehulved/)
 * (@mehulved)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wptouch-adding-user-agent-strings/#post-2938044)
 * Just using Blackberry seems to have worked for blackberry. Will be able to test
   on actual device myself tomorrow.
 *  Thread Starter [mehulved](https://wordpress.org/support/users/mehulved/)
 * (@mehulved)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wptouch-adding-user-agent-strings/#post-2938087)
 * That did indeed work. I added
    Blackberry, SymbianOS to the custom User Agent
   Strings and I can open the mobile site on Blackberry. So, one need not enter 
   the full string, partial is fine, that’s what I can conclude.
 *  [BraveNewCode Inc.](https://wordpress.org/support/users/bravenewcode/)
 * (@bravenewcode)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wptouch-adding-user-agent-strings/#post-2938123)
 * > So, one need not enter the full string, partial is fine, that’s what I can 
   > conclude.
 * Correct, entering the full string will not work. You can choose a unique fragment
   from the string and it should work.
 *  Thread Starter [mehulved](https://wordpress.org/support/users/mehulved/)
 * (@mehulved)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wptouch-adding-user-agent-strings/#post-2938135)
 * Thank You.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: WPtouch] Adding user agent strings’ is closed to new replies.

 * ![](https://ps.w.org/wptouch/assets/icon-256x256.png?rev=1313960)
 * [WPtouch - Make your WordPress Website Mobile-Friendly](https://wordpress.org/plugins/wptouch/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptouch/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptouch/)
 * [Active Topics](https://wordpress.org/support/plugin/wptouch/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptouch/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptouch/reviews/)

## Tags

 * [user-agent](https://wordpress.org/support/topic-tag/user-agent/)

 * 4 replies
 * 2 participants
 * Last reply from: [mehulved](https://wordpress.org/support/users/mehulved/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wptouch-adding-user-agent-strings/#post-2938135)
 * Status: resolved