WordPress.org

Support

Support » Plugins and Hacks » Widget Logic » [Resolved] [Plugin: Widget Logic] show if it is a desktop (not touch device)

[Resolved] [Plugin: Widget Logic] show if it is a desktop (not touch device)

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author alanft

    @alanft

    you could try a plugin like this one

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

    Thank you but this is a theme switcher.

    I am looking for a filter content, something like this:

    code – if it is a descktop -code

    show this content…..<img ……

    code -else -code

    show this content….<strong…..

    end if

    Plugin Author alanft

    @alanft

    but it comes with a function to let you detect mobile devices

    MobileDTS::is(‘mobile’)

    Thank you but i need detect desktop, there is a good plugin to filter content “ACME if mobile” it is what i looking for.

    But the problem it is that the shortcode of this plugin don’t work in text-widget, only in pages and post, i have tried with other plugin like “shortcode to widget” but still don’t work.

    Then i whant to put the php code to detect desktop in the text-widget directly.

    But i have solved with the php code of the plugin directly in the text-widget.

    Thank you

    Plugin Author alanft

    @alanft

    shall i mark this as resolved?

    sorry, yes i think it is resolved

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Widget Logic] show if it is a desktop (not touch device)’ is closed to new replies.
Skip to toolbar