WordPress.org

Support

Support » Plugins and Hacks » Facebook » Hide facebook comments and like buttons in mobile sites

Hide facebook comments and like buttons in mobile sites

  • hide the annoying like button and the comments in mobile view
    go to ..path_to/wp-content/plugins/facebook/social-plugins
    and change this files:
    comments.php
    social-plugins.php

    insert the code

    <?php if ( wp_is_mobile() )  {
    /* Display mobile specific stuff hardcoded by iYannis.gr*/
    } else {
     /* here goes the facebook code */
     ?-->

    I hope in the next version be as an option this hack

    http://wordpress.org/plugins/facebook/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Hide facebook comments and like buttons in mobile sites’ is closed to new replies.
Skip to toolbar