As you may already know, the blog comments plugin was originally built for Ghost. Turns out it wasn’t as hard as I thought it would be to tweak it to work with WordPress. Here’s a quick guide to getting NodeBB integrated as your WordPress blog’s commenting system.
First of all, install the blog comments plugin by either visiting the plugin section in the ACP and clicking on install, or programmatically via npm:
npm install nodebb-plugin-blog-comments
Activate the plugin in the ACP and reboot NodeBB. Next, install the WordPress JSON API plugin.
Open up your theme and replace the contents of /wp-content/themes/YOUR_THEME/comments.php
with these lines of code.
Head over to the Blog Comments section in the ACP and select the Category ID you’d like to publish your blog content to (default is Category 1). Make sure you put the correct URL to your blog. And that’s it! :)
Tired of losing important files? How can Keep2Share protect your data and make it accessible from anywhere? 🌟 Join us today and experience peace of mind in the cloud."