Forums

comments info on pages (3 posts)

  1. kuting
    Member
    Posted 2 years ago #

    im trying to use inove theme right now but this problem of mine occurs also on other themes ive tried though there are some theme that doesnt show it.

    i was just wondering how can i remove the comments info on a page. like when i tried to create a page, and check the disable comments/pins/trackbacks, when i view the page, on the bottom part there shows a line that says "Comments are closed.". is there a way for that to be removed since i dont need the comments feature on pages i create.

    thanks.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Edit the relevant template file (index.php?) and look for:

    <?php comments_popup_link( [ some code ]);?>

    Try changing that snippet to:

    <?php if('open' == $post->comment_status) comments_popup_link( [ some code ]);?>

  3. mg12
    Member
    Posted 2 years ago #

    Hey, kuting.
    Please try to remove the following lines in comments.php file.
    <div class="messagebox">
    <?php _e('Comments are closed.', 'inove'); ?>
    </div>

Topic Closed

This topic has been closed to new replies.

About this Topic