WordPress.org

Forums

Simple Facebook Connect
Connect Button degradation (2 posts)

  1. mayb101
    Member
    Posted 4 years ago #

    Hi. The Facebook Connect widget for the sidebar, when viewed on Android, just leaves a piece of text saying "Connect To Facebook." Is there any way to make it just disappear if the feature isn't supported by Android? The Share button and Likebox widget disappear. The like button stays and works. The only odd thing is that one line of text, seems like the ALT link or something... Is there any way to make it not display?

  2. mayb101
    Member
    Posted 4 years ago #

    $ua = strtolower($_SERVER['HTTP_USER_AGENT']);
    if(stripos($ua,'android') !== false) { // && stripos($ua,'mobile') !== false) {

    // remove connect button //

    exit();
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic