Forums

WordPress Mobile Edition
Remove comments tip (1 post)

  1. onewhale
    Member
    Posted 5 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic