Forum Replies Created

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

    (@marjamar)

    Anyone?

    Thread Starter marjamar

    (@marjamar)

    I added a new page to my website and decided to enable comments to this page, but it turns out that although I thought comments would visible and usable, obviously the code I removed is prohibiting this. To be sure it that and not something else, I’m going to put this code back and give it a test. I’ll post back later with results.

    I would really be nice if those who are responsible for this code would just add another checkbox option to disable all code used for “Comments are closed.”

    -Rodger

    Thread Starter marjamar

    (@marjamar)

    I fixed it.

    I just had to delete all the code related to what was to be done if “comments are closed” in comments.php.

    This shouldn’t effect using comments, only if comments are closed no notification will be offered in any page or post. This should work OK for me, perhaps it will for others as well.

    Here is the actual code I deleted.

    <div class=”Post”>
    <div class=”Post-tl”></div>
    <div class=”Post-tr”><div></div></div>
    <div class=”Post-bl”><div></div></div>
    <div class=”Post-br”><div></div></div>
    <div class=”Post-tc”><div></div></div>
    <div class=”Post-bc”><div></div></div>
    <div class=”Post-cl”><div></div></div>
    <div class=”Post-cr”><div></div></div>
    <div class=”Post-cc”></div>
    <div class=”Post-body”>

    <div class=”Post-inner article”>
    <div class=”PostContent”>

    <p class=”nocomments”><?php _e(‘Comments are closed.’, ‘kubrick’); ?></p>
    </div>
    <div class=”cleared”></div>

    </div>

    </div>
    </div>

    It can be found between:

    <!– If comments are closed. –>

    and

    <?php endif; ?>
    <?php endif; ?>

    Hope this helps someone else.

    -Rodger

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