• Resolved Cocolina

    (@cocolina)


    I tried all I can – but I do not have success in removing the commentary function frm my pages. Who can hlp me?

Viewing 3 replies - 1 through 3 (of 3 total)
  • have you read and applied all described in https://codex.ww.wp.xz.cn/Comments_in_WordPress ?

    in extreme, create a child theme, and edit loop.php in the child theme; locate this section near the bottom of that file (shown after the edits), and change it to this:

    <?php elseif (is_page()) : ?>
    
    	<?php while ( have_posts() ) : the_post();
            get_template_part( 'template-parts/content', 'page' );
    
        endwhile; ?>
    
    <?php endif; ?>
    Thread Starter Cocolina

    (@cocolina)

    Thank you, I wanted to change it without programation course 😉
    I found a plugin! 🙂

    Theme Author Shaped Pixels

    (@shaped-pixels)

    Good morning Cocolina….I was about to suggest a plugin for this but it sounds like you got one already 🙂

    Is it safe to set this topic as resolved?

    As a side note, for pages, you can also open up each page and disable comments on a per page basis.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to remove comment function’ is closed to new replies.