Hi,
Using mobble I edited tf_display.php to force the plugin to not display the social share when the displaying the site on a mobile browser.
The code snippet:
Before:
function kc_twitter_facebook($content, $filter)
{
global $single;
$option = twitter_facebook_share_get_options_stored();
$custom_disable = get_post_custom_values('disable_social_share');
if (is_single() && ($option['show_in']['posts']) && ($custom_disable[0] != 'yes')) {
...
After:
function kc_twitter_facebook($content, $filter)
{
global $single;
$option = twitter_facebook_share_get_options_stored();
$custom_disable = get_post_custom_values('disable_social_share');
if(is_mobile()) {
$custom_disable[0] = 'yes' ;
}
if (is_single() && ($option['show_in']['posts']) && ($custom_disable[0] != 'yes')) {
...
Is there a better way?
If not can you include this on a future version?
thanks and best regards,
Joao
http://wordpress.org/extend/plugins/twitter-facebook-google-plusone-share/