Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter borisbox

    (@borisbox)

    Here’s a link to a post that has no comments posted on it as well:
    https://sfinternal.xyz/2020/03/wpcommentstest

    Michael

    (@alchymyth)

    your code in https://raw.githubusercontent.com/BorisBox/fonts/master/comments.php checks if there are comments, quite close to the beginning:

    <?php
    	// You can start editing here -- including this comment!
    	if ( have_comments() ) : ?>

    that means, only if there are comments already, most of the rest of the code gets executed.

    remove that conditional statement from the code, together with ist corresponding endif;

    explanation:
    when you view the source code of the test post in the browser, you will see this where the comment form should appear:

    <div id="comments" class="comments-area">
    
    	
    </div><!-- #comments -->

    this is proof that your comments.php is used.

    Thread Starter borisbox

    (@borisbox)

    Thank youuu so much! Saved me from banging my head ??
    Solved!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comment Area disappearing’ is closed to new replies.