Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter aliceandcaligula

    (@aliceandcaligula)

    I created the necessary “email.php” file (just copied the no-sidebar template from my theme) and removed
    <?php if(function_exists(‘wp_email’)) { email_link(); } ?>
    and
    <?php comments_template( ”, true ); ?>

    Just put it back in my themes folder and here we go!

    In my case, I suppressed the comments on the email page by:

    1. copy file “page.php” into my theme folder as “email.php”
    2. in file “email.php”, changed one line:
    — from: <?php comments_template(); ?>
    —– to: `<?php /* comments_template(); */ ?>’

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove comments from e-mail page’ is closed to new replies.