[Resolved] Integration of wpDiscuz comments system solution via shortcode works but…
This support ticket is created 8 years ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Hi, I have found a solution for integrating wpDiscuz comments system into views and layouts via a shortcode as described in this post on wordpres.org by the developer.
I can now use this shortcode [wpdiscuz_comments] to display the comments
But the problem is although this shortcode works 100 percent and I can get it to display the discuz comments system they do not appear in the place the shortcode is integrated, they appear at the top of the page above the header that the shortcode is used on in views or layouts instead of showing where the shortcode was implemented.
can you help me with this? there was a similar problem that you guys solved with the integration of the pagenavi plugin, this was also displaying the navigation at the top of the website until you gave a fix here
I suspect that this is happening because the line in the code in the file located here wp-content/plugins/wpdiscuz/templates/comment/comment-form.php is using an echo to render the form.
The reason why the echo causes this is because it is being rendered from the functions.php file and this file is loaded first when you load a new page.
What you can do is to check the comment-form.php file and see if there is an echo statement to render the form.
Also I recommend contacting the support team for the plugin in order to find the best way to render the form.
Ty for your response, but I have since solved this problem, the easiest solution to this was a simple work around, instead of adding the shortcode into a view or layout directly the trick was to create a layout and add the shortcode to a single widget text area within that layout, it works fine for all the comments and is working great in my custom post types.
Toolset custom type can display comment with wpDiscuz plugin turned on, but it loses all the style of wpDiscuz. wpDiscuz style comment only works in wp post and page. I can't find any solution.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.