Please since i changed to a new wordpress themes, i found out each time a user click a “Reply” link on a comment, the page only reloads which one cannot make a reply.
In my comments.php i added cellback to my comment list like this:
<div class="commentlist">
<?php wp_list_comments('type=comment&callback=mytheme_comment'); ?>
</div>
And i coded by comment list form in my functions.php and i added the wordpress reply link together with the reply javascript. This is how i added:
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
(@fanciboy4)
11 years, 3 months ago
Please since i changed to a new wordpress themes, i found out each time a user click a “Reply” link on a comment, the page only reloads which one cannot make a reply.
In my comments.php i added cellback to my comment list like this:
<div class="commentlist">
<?php wp_list_comments('type=comment&callback=mytheme_comment'); ?>
</div>
And i coded by comment list form in my functions.php and i added the wordpress reply link together with the reply javascript. This is how i added:
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php comment_reply_link( array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
but my comment reply link only reloads.. Please any solution to this? I will appreciate a response.
https://ww.wp.xz.cn/plugins/wordpress/