Home > Article > Backend Development > How to implement "Cancel reply" button in wordpress - javascript -
In the comment list, after clicking the "Reply" buttoncannot be displayed"Cancel reply" button
Because the web page will refresh after clicking the "Reply" button, it cannot be done using JavaScript.
Please ask the masters how to solve it
In the comment list, after clicking the "Reply" buttoncannot be displayed"Cancel reply" button
Because the web page will refresh after clicking the "Reply" button, it cannot be done using JavaScript.
Please ask the masters how to solve it
WordPress comments basically use Ajax, so that when you click the "Reply" button, the web page will not be refreshed. Your Baidu "comments-ajax.php" and "comments-ajax.js" basically use the same template. There is a "Cancel reply" button in this template.
My website is like this: Chenghang Xiansen
You can feel free to enter an article with comments to try.