WordPress.org

Ready to get started?Download WordPress

Forums

WP Mobile Detector Mobile Plugin
[Plugin: WP Mobile Detector] php-function to check if mobile view is on? (2 posts)

  1. davydov-denis
    Member
    Posted 2 years ago #

    Dear developers,

    I would like to know if there is a php-function to check
    if the page is displayed in mobile version?

    I would like to change some of my image slider code depending on
    that.

    Thank you in advance,
    Regards,
    Denis.

    http://wordpress.org/extend/plugins/wp-mobile-detector/

  2. websitezcom
    Member
    Plugin Author

    Posted 2 years ago #

    Denis,

    In a soon-to-be-released version of the premium plugin, we will set a variable in the wp_query query vars that you can reference from your functions.php file and determine if a mobile theme is being displayed.

    This should be completed by the end of this month.

    I would be happy to give you an example of how you can implement it as well.

    -Eric

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic