Hey, thanks for replying!
I tried the solution mentioned in that post.
If I include the following code:
add_filter('learndash-focus-content-content-after', 'ld_wpdiscuz_comments_enable');
function ld_wpdiscuz_comments_enable(){
comments_template();
};
The WPDiscuz form shows up along with the default WordPress comment form, so I get two different forms on the same page.
As suggested, I think the problem is that removing the filters prevents WPDiscuz from replacing the default form.
Hi there @vitorargos
I’m looking for the same solution, to make wpDiscuz work with learndash Courses, Lessons, and Topics and if possible also in Focus Mode.
Seems you found a solution. Unfortunately, I don’t understand the stuff in the developerscodex. Could you share the code snippets you used?
THX!
@vitorargos Were you able to find a solution to wpdiscuz and the default wordpress comment systems and forms being displayed twice on the page? It seems that this only occurs to users who are authenticated. When no users are logged in, the wpdiscuz form appears as normal.
-
This reply was modified 6 years, 7 months ago by
bbtng.
(@vitorargos)
6 years, 8 months ago
Hey guys,
I am trying to find a solution to a problem that I have found.
When using LearnDash with Focus mode enabled, the comments are not displayed in my course/lesson/topic custom post types.
To get them to work, I need to use the following code:
But then, the default WordPress commenting system is displayed rather than Discuz.
I suppose that removing the filters is causing a conflict with the ability of Discuz to replace the form, is there a way to programmaticaly replace the form if that is the case?