Support » Plugin: WordPress Mobile Edition » [Plugin: WordPress Mobile Edition] Remove comments tip

  • I see there’s not a lot of support happening, so just thought I’d share this tip. To remove comments on the mobile version, look for the ‘comments.php’ file in the theme folder. Then remove the PHP code leaving the header and footer intact.

    ie. remove these two lines:

    if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
    cfct_comments();

    Disclaimer: I’m not a programmer, but it seems to work! Let me know if you have any further tips.

    http://wordpress.org/extend/plugins/wordpress-mobile-edition/

  • The topic ‘[Plugin: WordPress Mobile Edition] Remove comments tip’ is closed to new replies.