Support » Plugin: PHP Browser Detection » [Plugin: PHP Browser Detection] Browser sensitive content for an individual page

  • Resolved gtgphd

    (@gtgphd)


    Hello,

    I am using MapPress to display an embedded map on a contact page of my site. The site already adapts its content for mobile viewing, so I don’t need to do any major css swapping or anything like that.


    http://www.gtgphd.com/contact-directions/

    The map looks great on a Desktop browser, but when viewed on a mobile device, it is wider than the screen and becomes hard to view. (I resized the map for now to be slim enough to work well on mobile browsers)

    I want to add some conditional code that would give me the ability to have 2 different short codes in my contact Page depending on browser type.

    For example…

    If on a mobile browser use shortcode A
    If on a non-mobile browser use shortcode B

    I am not the most experienced web developer but I know enough to get by usually. Any help would be greatly appreciated.

    http://wordpress.org/extend/plugins/php-browser-detection/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: PHP Browser Detection] Browser sensitive content for an individual page’ is closed to new replies.