wpDiscuz Integration
5
Posts
2
Users
0
Reactions
723
Views
Feb 07, 2023 12:27 pm
HI, after the last theme update comment box has disappeared. I swhitched to Twenty-Two theme (when all other plug in were off already) and it's back, so I suppose it's a theme compatibility.
Any issue between WPDiscuz and Salient has been reported yet? I posted same support request in the Theme forum , obviously.
Thansk for any suggestion you might have.
Website URL
4 Replies
Feb 08, 2023 7:48 am
Seems you're using the shortcode, if so, you need to add the following code in the active theme functions.php file:
function my_wpdiscuz_shortcode() { $html = ""; if (file_exists(ABSPATH . "wp-content/plugins/wpdiscuz/themes/default/comment-form.php")) { ob_start(); include ABSPATH . "wp-content/plugins/wpdiscuz/themes/default/comment-form.php"; $html = ob_get_clean(); } return $html; } add_shortcode("wpdiscuz_comments", "my_wpdiscuz_shortcode");
More info here: https://wpdiscuz.com/community/f-a-q/wpdiscuz-shortcode/
Feb 08, 2023 9:06 am
Thanks @Asti, it works. But was working also previously, whitout the code and with the last Theme version. So, It's definitely a Theme bug?
Thanks for your support
Feb 08, 2023 10:12 am
the shortcode was there already...