soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
314 stars 29 forks source link

Support for wpDiscuz Comment Plugin #2214

Open vallabnayak opened 3 years ago

vallabnayak commented 3 years ago

wpDiscuz is a popular free Wordpress plugin that enhances the comment section and enables inline commenting. Unfortunately, the plugin uses the main Wordpress comment engine, which is disabled by Oxygen.

Support for the plugin, either as a block in the Oxygen Editor, or the ability to enable the Wordpress comment engine would be a valuable feature.

KittenCodes commented 3 years ago

Unfortunately, the plugin uses the main Wordpress comment engine, which is disabled by Oxygen.

Please can you explain what you mean by this - comments do work on Oxygen sites.

vallabnayak commented 3 years ago

Sorry, Oxygen disables the main theme system, not the comment engine. wpDiscuz relies on a part of the theme and requires the following on single post pages in order to load.

<?php comments_template() ?>

This forum can provide more context: https://gvectors.com/forum/how-to-and-troubleshooting/compatibility-with-oxygen-builder/#post-14076`

shmaltz commented 3 years ago

Just add <?php comments_template(); ?> in a code block and you're good.

vallabnayak commented 3 years ago

That worked! I had tried that initially and while the comments did show, the wpdiscuz formatting did not. I thought it was an Oxygen compatability problem. For anyone having the same issue, go to wpDiscuss > Forms > Default Form and ensure that your post type is selected (I was using a custom post type). Then click update.