wpDiscuz - WordPress Comment Plugin
WPDiscuz comment ar...
 
Share:
Notifications
Clear all

WPDiscuz comment area appears twice

7 Posts
2 Users
1 Likes
93 Views
miguelamendes
Posts: 3
Topic starter
(@miguelamendes)
Active Member
Joined: 1 week ago

Hi,

 

When you are logged out the WPDiscuz comment area only appears one time, but if you are logged in appears twice.

 

Please watch the video.

https://www.loom.com/share/5d721b0ec16d4908a4f60344b0efe045

 

Can you help us?

 

Thank you!

Miguel

6 Replies
Asti
Posts: 5160
 Asti
Support
(@asti)
Illustrious Member
Joined: 5 years ago

@miguelamendes,

We don't find such an issue on our test websites. This is something specific in your case. 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. 

Reply
miguelamendes
Posts: 3
Topic starter
(@miguelamendes)
Active Member
Joined: 1 week ago

Hello Asti, i have sent the the admin login details to info[at]gvectors.com email address.

Reply
4 Replies
Asti
 Asti
Support
(@asti)
Joined: 5 years ago

Illustrious Member
Posts: 5160

Thank you @miguelamendes,

We've received the email. Currently, the developers are checking the issue. I'll update this topic once I get a response from them. 

 

Reply
Asti
 Asti
Support
(@asti)
Joined: 5 years ago

Illustrious Member
Posts: 5160

This is not the wpDiscuz issue. Even if you deactivate the wpDiscuz plugin you will still see two comment forms. It seems the comments_template() function is called twice in the theme template files. Please contact your theme support with this issue. 

 

Reply
miguelamendes
(@miguelamendes)
Joined: 1 week ago

Active Member
Posts: 3

@asti i have this code in the functions file, that previous worked to remove the duplicated comments.

/**
* Remove duplicated Comments in LearnDash focus mode
*/
add_filter('learndash_focus_mode_can_view_comments','__return_false');
add_filter('learndash_focus_mode_comments','__return_true');
add_action('learndash-focus-content-end',function(){
if(is_user_logged_in()){
comments_template();
}
});

When i remove this code from the functions file the comments are not duplicated but i don't see the comments already done in the page.

Can you help?

Reply
Asti
 Asti
Support
(@asti)
Joined: 5 years ago

Illustrious Member
Posts: 5160

@miguelamendes,

The code doesn't work for the LearnDash versions higher than v. 4.3.0. But the CSS code should be kept. 

The code is currently removed and everything is working fine, please watch this video: https://www.screencast.com/t/4CeHSDg0Wjch

Reply
Share: