WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
[resolved] Widget Logic for Mobile (4 posts)

  1. Mike
    Member
    Posted 1 year ago #

    I'm looking for a way to to hide or display certain widgets only for viewers on a mobile device.

    I found the Mobile Detect plugin which does for in-page content via shortcode.
    http://wordpress.org/plugins/wp-mobile-detect/

    I was wondering if the functionality from that plugin could somehow be combined with Widget Logic in a future release? That would be outstanding!

    http://wordpress.org/plugins/widget-logic/

  2. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    no need to combine them - they should work together 'as is'. you should be able to use the codes listed on that plugin's FAQ

    http://wordpress.org/plugins/wp-mobile-detect/faq/

    eg wpmd_is_ios()

    it might require you to set the "Load Logic" to a later point to ensure those functions are available. let me know what you find.

  3. Mike
    Member
    Posted 1 year ago #

    OK, thanks. I'll give it a try and report back.

  4. Mike
    Member
    Posted 11 months ago #

    Yep, works like a charm!

    Thanks,
    Mike

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.