如何修改子主题中的默认wordpress注释表单

时间:2021-08-26 07:44:41

I want to customize the default wordpress form(popup) by adding captcha functionality and modifying the CSS of it as per my child themes requirement. Also I dont want to use any plugin.

我想通过添加验证码功能并根据我的子主题要求修改它的CSS来自定义默认的wordpress表单(弹出窗口)。另外,我不想使用任何插件。

I am newbie in wordpress and just started to working on this.

我是wordpress的新手,刚刚开始研究这个问题。

How can I do this? Need Help.

我怎样才能做到这一点?需要帮忙。

1 个解决方案

#1


0  

there are two way one is the you can simple change by detecting the css class for form and adding them to your style.css file

有两种方法可以通过检测表单的css类并将它们添加到style.css文件中来进行简单的更改

other thing is that go to wpinclude folder on root and find commenttemplate.php at bottom make the changes in form

另一件事就是去root上的wpinclude文件夹,找到底部的commenttemplate.php进行表单中的更改

#1


0  

there are two way one is the you can simple change by detecting the css class for form and adding them to your style.css file

有两种方法可以通过检测表单的css类并将它们添加到style.css文件中来进行简单的更改

other thing is that go to wpinclude folder on root and find commenttemplate.php at bottom make the changes in form

另一件事就是去root上的wpinclude文件夹,找到底部的commenttemplate.php进行表单中的更改