LearnDash Focus Mode Compatibility
-
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:
add_action( 'wp', 'control_comments' ); function control_comments(){ remove_filter( 'comments_array', 'learndash_remove_comments', 10 ); remove_filter( 'comments_open', 'learndash_comments_open', 10 ); }
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?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘LearnDash Focus Mode Compatibility’ is closed to new replies.