Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Hi team,
Can someone please support here:
I want to add wpdiscuz as a short code to a custom single post page for new posts and custom new posts.
However, the previously provided shortcode: [wpdiscuz_comments] does not work (also not on normal single post pages)
I work with Brizy page builder.
It would be much appreciated if the plugin makers and/or experienced users can help out with providing the right shortcode/code to make this work.
Kind regards,
Brian
Have you added 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_once ABSPATH . "wp-content/plugins/wpdiscuz/themes/default/comment-form.php";
$html = ob_get_clean();
}
return $html;
}
add_shortcode("wpdiscuz_comments", "my_wpdiscuz_shortcode");