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
Could you please leave some example URL to allow us to understand the issue?
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.
Thank you for the quick response. Well my site is not finished yet and therefore not public. But I will send you the account details to login.
This is an example site. You can see the textarea for the comment is display:none;
And the buttons don't work.
https://metanamorph.com/the-waterfall/
Maybe a filter is changing things. No clue here.
Cheers, Edgar
Edit: I can't send you messages so far.
Ok, here is a guest account to the site:
https://metanamorph.com/wp-login.php
user: deleted
pass: deleted
The wpDiscuz js files are not being loaded.
Your WordPress theme footer php file (for this custom post type) must contain <?php wp_footer(); ?> function to allow all plugins load JS files and scripts.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.


