wpDiscuz Integration
6
Posts
2
Users
0
Reactions
2,038
Views
Jan 26, 2021 9:35 pm
Hi there,
I'm trying to use wpDiscuz in my custom theme.
The default wordpress comment section and wpDiscuz is working fine by using comments_template(); in single,php on twentyseventeen template.
In my custom theme however the comment editor (textarea) is not visible and all 'links' don't work.
The Css style of the textarea has been changed to display:none; by some miracle.
But it is definately not a css issue.
I've added following code to the functions.php:
add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form', 'gallery', 'caption', 'style', 'script' ) );
function mm_thread_comments() {
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
}
add_action( 'wp_enqueue_scripts', 'mm_thread_comments' );
What am I missing?
Thanks for any help on this, Edgar
5 Replies
Jan 27, 2021 8:33 am
Could you please leave some example URL to allow us to understand the issue?