Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    To make sure we’re on the same page, you’re wanting to selectively disable sharing buttons only when the user is viewing from smartphone, while still using your normal theme?

    Thread Starter asyba

    (@asyba)

    I have my website in wordpress of course i have a theme, cant use wordpress without a theme, so if a use jetpack Sharing for show in the end of my post the social icons for share that post.

    But what people enter in my website from iOS Android smartphones, etc. I dont want to show the Sharing jetpack , i prefer that the answer is not only using css like display:none, because still it loads in the background … i like to find some solution that the jetpack Sharing code is never created when the user is in a phone…

    Thanks

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    You could use the wp_is_mobile conditional tag (#), and remove the sharing buttons when wp_is_mobile is true.

    To remove sharing buttons, you can use the code mentioned in the first part of this tutorial:
    https://jetpack.me/2013/06/10/moving-sharing-icons/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable or hide or remove Sharing Social when is in a Mobile / smartphones ?’ is closed to new replies.