• andris312

    (@andris312)


    Good afternoon!
    Many thanks for your work. I think you have the best plug-in of the likes.

    However, I’m having trouble configuring the work of your plugin on my site.

    I use two themes:

    -mobile
    -PC

    Switching works through the plugin Mobile Smart ( https://ww.wp.xz.cn/plugins/mobile-smart/ ).

    There are several convenient functions in the Mobile Smart plugin and I use them:

    1) Being on the mobile version of the site, the user can click on the “Full version of the site” button. After that, he gets to the full version of the site.
    Url receives a prefix “/?mobile_switch=desktop”. I understand that with this insert Mobile Smart plug determines that site need to give the full version.

    2) For users of tablet devices, the site gives the full version. (I think this is justified – on the tablets a full-fledged site looks satisfactory.)

    Can I customize your plugin to keep these two items working?

Viewing 1 replies (of 1 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    The problem usually is the way hyper cache and other plugin determines if something is mobile or not. Since a cache acts before plugins are loaded, it cannot use the plugin detection code.

    But I’m thinking we can find a solution: in wp-config.php, for example, we can add a small piece of device type detection and set a constant to inform hyper cache how to deal with the current request.

    I need to do a small change on hyper cache code and then we can try to apply that technique on you blog.

    Stefano.

Viewing 1 replies (of 1 total)

The topic ‘work with WP Mobile Smart plug’ is closed to new replies.