Hi @utsavmadaan823,
Please update the plugin to v1.2.0 we’ve just released.
1. I’ve added “Tab title” option to “WooCommerce > Settings > Discussions > Texts”. You can now customize it and then style “number of comments” section with CSS, e.g.:
%label% <span class="my-class">(%number_of_comments%)</span>
2. I’ve added “Textarea placeholder” option to “WooCommerce > Settings > Discussions > Texts”.
3. Regarding removing comment title – if I understood you correctly, I think it’s best to hide it with CSS. You will probably know how to do that, but just in case:
label[for="discussion"] {
display: none;
}
4. Now the hardest part. I was able to fix some of non-unique IDs. As we are using WordPress standard comment_form()
function and wp_list_comments()
function, I don’t have full control over the output. These two were available as params in comment_form()
so it was easy to fix: commentform
changed to discussionform
, and submit
changed to submit_discussion
. Textarea’s comment
I’ve changed to discussion
by replacing the whole textarea template (together with adding a placeholder) – after some testing it seems to be working fine. So the only remaining non-unique IDs are for the “hidden” inputs:
comment_parent
comment_post_ID
_wp_unfiltered_html_comment_disabled
Unfortunately there is no standard params to change those. I did try changing it via filter, however, unfortunately, this caused some issues, for example, “Reply” to comment link didn’t work correctly after that, so I’ve rolled back those changes for now. Will be looking for solution further.
Please take a look and let me know what you think.