Thread Starter
Jake
(@jlmg)
@gvectorssupport Thank you so much. The comment form below is now hidden. 🙂 Thank you.
Thread Starter
Jake
(@jlmg)
@gvectorssupport Good day, Yes the problem is the comment form is being loaded twice. What im planning to do is only load the comment form in the side and hide or remove the comment form below.
this is what I did in the functions.php
`function my_wpdiscuz_shortcode() {
$html = “”;
if (file_exists(ABSPATH . “wp-content/plugins/wpdiscuz/themes/default/comment-form.php”)) {
ob_start();
include_once ABSPATH . “wp-content/plugins/wpdiscuz/themes/default/comment-form.php”;
$html = ob_get_clean();
}
return $html;
}
add_shortcode(“wpdiscuz_comments”, “my_wpdiscuz_shortcode”);
Thread Starter
Jake
(@jlmg)
Good day, @gvectorssupport. I’ve enable the comment form but what I want to do is disable or hide the comment form below (default) and keep the comment form in the side. Thank you.