Hi @ikamal,
If you mean a new comment field for comment form you can use wpDiscuz comment form builder. Just edit the Default Comment Form and add/edit comment field in Dashboard > wpDiscuz > Forms admin page. Here is the documentation: https://wpdiscuz.com/docs/wpdiscuz-7/getting-started/manage-comment-forms/comment-form-builder/
No, I mean that I want to extend your Field class and add a new field in the form builder.
see this attachment https://prnt.sc/w1qp6e
@ikamal,
I’m sorry but there is not an easy / quick code for this. It requires lots of custom codding. You can contact to gVectors Custom Addon development team via sales[at]gvectors.com email address. They’ll assess the work and let you know the price.
please let us the way I can achieve it. I am also a developer, So I can do it.
Ok, you should extend from this file:
wpdiscuz/forms/wpdFormAttr/Field/Field.php
Useful hooks:
wpdiscuz_form_custom_fields
wpdiscuz_allowed_form_field
what is your post comment action?
(@ikamal)
5 years, 3 months ago
How I extend the new field to the Field class?
I want to add a new field. please let me know how I add a new field.