Forum Replies Created

Viewing 3 replies - 31 through 33 (of 33 total)
  • I had a look at the code to see if this could be easily implemented, but it would quickly complicate the plugin. My intention was to add an option that if checked would show the widget only if current_user_can( 'edit_theme_options' ) returned true.

    But a hall pass has already been given to the Front Page logic; adding another exception for status of user makes the logic difficult to follow.

    It does seem like this is best left to another plugin.

    To achieve this I use this plugin plus Restrict Widgets. It’d be great to get this feature added to Conditional Widgets so then I won’t need both plugins installed.

    The Widget Logic plugin isn’t ideal. What’d be ideal is adding this feature to Conditional Widgets.

    Set a new User Agent Group called wp_is_mobile and specify the user agents:

    android
    blackberry
    kindle
    mobile
    opera\ mini
    opera\ mobi
    silk/

    Enable this group and set Theme to Pass through.

    Then you can use wp_is_mobile() in your theme and W3TC will cache both versions of the theme correctly for mobile users and non-mobile users.

Viewing 3 replies - 31 through 33 (of 33 total)