The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Solved] wpDiscuz doesn’t show on Pages
How-to and Troubleshooting
(@gooloode)
Trusted Member
Joined: 3 years ago
From the WordPress Topic: https://wordpress.org/support/topic/wpdiscuz-doesnt-show-on-pages/#post-16155270
Hello,
wpDiscuz does load on Posts but not on Pages. Comments are active and additionally the Shortcode is added. Both the Shortcode and the native way doesn’t load. The Comment Form is activated for Pages.
Troubleshooting Steps:
1: Done
2-4: Already activated
5: not a custom post type
6: Divi integrates the Comment Function. Also HTML-Code is rendered in the Source Code upon Inspection.
(@asti)
Illustrious Member
Joined: 8 years ago
Could you please send the admin login details to info[at]gvectors.com email address? I'll ask the developers to check the issue for you.
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8188
Nov 04, 2022 8:34 am
Hi @gooloode,
There is the following CSS code on your website:
#comments, .comments {
display: none!important;
}
So it hides the comment form on your website.
Please watch this video to better understand what I mean: https://www.screencast.com/t/1BFSkznQ7
Not sure how it was added. It can be added by other plugins/theme or manually. Anyway, please find and remove the CSS code. It'll work fine.
(@gooloode)
Trusted Member
Joined: 3 years ago
Aaaaah, thank you i found it. It was meant to only hide the "0 Comments"-Text when Comments are turned off on a specific page. Do you maybe know how to do that instead of the code you mentioned above? 🙂
(@asti)
Illustrious Member
Joined: 8 years ago
@gooloode,
Please leave the example URL where the comments are turned off and the comments exist. We'll try to help you with the CSS codes.
(@gooloode)
Trusted Member
Joined: 3 years ago
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8188
Nov 14, 2022 8:55 am
@gooloode,
You can use the js code below:
jQuery(document).ready(function ($) {
if(jQuery('.nocomments').length){jQuery('h1#comments').remove()}
});
This instractin should be helpful for you: https://www.wpbeginner.com/wp-tutorials/how-to-easily-add-javascript-in-wordpress-pages-or-posts/
(@gooloode)
Trusted Member
Joined: 3 years ago
THANK YOU! That worked perfectly. 🙂