dixi child: "Sorry, the comment form is closed at this time."

Hi,

I thought tath if I updated comments-new.php and comments-old.php and saved them in the child folder I could replace "Sorry, the comment form is closed at this time." with a " " on my blog. TO test this I figued to add "xxx" rather than blandk.

<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<h2 id="post-header"><?php _e('xxx ', 'dixi'); ?></h2>

I thought the php file in the child theme folder would get used. What am I doing wrong?

Kindly,
Larry

  • Richie_KS

    hi larry
    some child theme issue with include had been tracking..meanwhile open comments.php
    and you'll see code like this


    <?php
    if (function_exists('wp_list_comments')) :
    include (TEMPLATEPATH . '/comments-new.php');
    else :
    include (TEMPLATEPATH . '/comments-old.php');
    endif;
    ?>

    replace it with


    <?php if (function_exists('wp_list_comments')) : ?>
    <?php locate_template( array( 'comments-new.php'), true ) ?>
    <?php else: ?>
    <?php locate_template( array( 'comments-old.php'), true ) ?>
    <?php endif; ?>

    that should fixed the child theme no-effect on tpl changes issue.