How to add a Reply in WordPress comments without page refres... open

How to add a Reply in WordPress comments without page refresh

Approved. Code works!
This is exactly the working code that is verified by the moderator or site administrators
Tested: WordPress 4.0+, PHP 5.6 +

To enable the ability to leave answers to comments on the Wodpress website without page refresh. Add the code below to yours function.php file


function add_comments_reply() {
wp_enqueue_script('comment-reply');
}

add_action('wp_enqueue_scripts', 'add_comments_reply');

0

More

Leave a Reply

Your email address will not be published. Required fields are marked *

How many?: 22 + 22

lil-code© | 2022 - 2024
Go Top
Authorization
*
*
Registration
*
*
*
*
Password generation