Title: [Plugin: WordPress Mobile Edition] Remove comments tip
Last modified: August 20, 2016

---

# [Plugin: WordPress Mobile Edition] Remove comments tip

 *  [onewhale](https://wordpress.org/support/users/onewhale/)
 * (@onewhale)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/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/](http://wordpress.org/extend/plugins/wordpress-mobile-edition/)

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

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-mobile-edition.svg)
 * [WordPress Mobile Edition](https://wordpress.org/plugins/wordpress-mobile-edition/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-mobile-edition/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-mobile-edition/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-mobile-edition/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-mobile-edition/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-mobile-edition/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [onewhale](https://wordpress.org/support/users/onewhale/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-edition-remove-comments-tip/)
 * Status: not resolved