• For some reason the comments template is loading on the homepage.
    The ‘Allow Comments’ checkbox is unchecked but it is loading anyways.
    It looks like template-parts/single.php just runs comments_template() without checking if comments are allowed.

    if ( comments_open() || get_comments_number() ) :
                    comments_template();
                endif;

    I don’t know if this is the problem as it isn’t doing it on other pages.

    The page I need help with: [log in to see the link]

  • The topic ‘Comments Template Loading On Homepage’ is closed to new replies.