分页评论“回复”不起作用!

时间:2016-01-07 作者:Cem

我使用插件分页的注释。我在分页注释中编辑模板和CSS。php,但“回复”不起作用。“回复”根本不会出现。

http://i.imgur.com/ieIeadO.jpg (应该有一个按钮来回复)。

代码已满:http://pastebin.com/70Aq4fEQ

问题是什么?请帮帮我,谢谢

<div id="respond">

        <h3><?php comment_form_title( __(\'Yorum Yap\', \'wpzoom\' ), __(\'Leave a Reply to %s\', \'wpzoom\')); ?></h3>

        <div class="cancel-comment-reply"><p><?php cancel_comment_reply_link(); ?></p></div>

            <?php if ( get_option(\'comment_registration\') && !$user_ID ) : ?>

            <p><?php _e(\'You must be\', \'wpzoom\') ?> <a href="<?php echo get_option(\'siteurl\'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>"><?php _e(\'logged in\', \'wpzoom\') ?></a> <?php _e(\'to post a comment.\', \'wpzoom\') ?></p>
            <?php else : ?> 

        <form action="<?php echo get_option(\'siteurl\'); ?>/wp-comments-post.php" method="post" id="commentform">

        <textarea name="comment" id="comment" tabindex="1" rows="10" cols="140"></textarea><br />

            <?php if ( $user_ID ) : ?>

            <p><?php _e(\'Logged in as\', \'wpzoom\') ?> <a href="<?php echo get_option(\'siteurl\'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(); ?>" title="<?php _e(\'Log out of this account\', \'wpzoom\') ?>"><?php _e(\'Logout\', \'wpzoom\') ?> &raquo;</a></p>       

 <input name="submit" type="submit" id="submit" class="comm-submit" value="<?php _e(\'Yorum Gönder\', \'wpzoom\') ?>" />    

            <?php else : ?>

                <div id="formLabels">

                    <p><input type="text" onblur="if (this.value == \'\') {this.value = \'<?php _e(\'İsim (gerekli)\', \'wpzoom\') ?>\';}" onfocus="if (this.value == \'<?php _e(\'İsim (gerekli)\', \'wpzoom\') ?>\') {this.value = \'\';}" value="<?php _e(\'İsim (gerekli)\', \'wpzoom\') ?>" name="author" id="author"  size="4" tabindex="2" <?php if ($req) echo "aria-required=\'true\'"; ?> /></p>

                    <p><input type="text" onblur="if (this.value == \'\') {this.value = \'<?php _e(\'Email (yayınlanmayacak)\', \'wpzoom\') ?>\';}" onfocus="if (this.value == \'<?php _e(\'Email (yayınlanmayacak)\', \'wpzoom\') ?>\') {this.value = \'\';}" value="<?php _e(\'Email (yayınlanmayacak)\', \'wpzoom\') ?>" name="email" id="email" size="4" tabindex="3" <?php if ($req) echo "aria-required=\'true\'"; ?> /> </p>

                    <input name="submit" type="submit" id="submit" class="comm-submit" value="<?php _e(\'Yorum Gönder\', \'wpzoom\') ?>" />

                </div>

            <?php endif; ?>

            <?php comment_id_fields(); ?>

            <?php do_action(\'comment_form\', $post->ID); ?>

        <div class="clear"></div>

        </form>

    <?php endif; // If registration required and not logged in ?>

1 个回复
SO网友:Nicolai Grossherr

顺便说一句,您不需要插件将您的评论拆分为页面。这可以在默认情况下完成,但您必须根据需要选择和设置一些设置。您可以在»设置>讨论>其他评论设置>“将评论拆分为页面…”下找到相应的设置部分«在WordPress的管理区域。