WordPress.org

Forums

WordPress Mobile Edition
Remove comments tip (1 post)

  1. onewhale
    Member
    Posted 3 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Mobile Edition
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic