I checked Ajax only as a last resort after hours of things not working fully. I’ve now unchecked ajax. I’m guessing without webhooks, the interval for syncing took a while.
It seems to work now, but the format is a bit inelegant. I’m guessing I have to figure out CSS?
Also, is there a way to show the “join the discussion” type links to our Discourse forum homepage for older WP blog posts? - In other words, if there are no comments on a post, or if the post has not been previously synced to Discourse, then the plugin will add a general link to my Discourse forum homepage instead of leaving it blank.
Yes, how it displays will depend on your theme. There is minimal styling in the plugin itself.
The join the discussion link will not appear on topics that are not linked. You can add something like this yourself, separately from the plugin though by using the comments_template filter in your theme’s functions.php file. I haven’t tested this code, but something like this will work:
Thanks again for the additional help and guidance!
I’ve been reading and searching for CSS to paste that would improve the layout even just a little.
However, as I’m not familiar with CSS/styling (other than pasting existing CSS), I would like to make very basic modifications to the styling of the imported comments. Namely, to use smaller avatar images beside the discourse usernames in the comments and add a horizontal line between posts:
I didn’t remove the participants’ section. If you are thinking about doing so, give it a chance, as with other Discourse features; the Devs have put some thought into it. It shows all participants even after only 5 of 15 posts are imported. (changeable setting) Also, the imported responses exclude posts by level 0 forum members. Which I find helpful.
In short, over time, I’ve noticed that it’s not all the time the participants’ list and the imported comments will be identical. In many cases, it helps to provide the blog reader a more accurate view of the level of comment activity without having to import every single post or risk importing posts from the first sign-up members. (which I believe can be changed in settings as well)
I think the comment_formatter.ERROR: format.missing_post_data is being over eager in its reporting. I’ll tweak that for the next release. Thanks for following up about it. I wouldn’t worry about it for now, unless you’re experiencing a visible issue.
There isn’t a formal guide on comment styling. There are a few other topics, e.g. this one. Wordpress themes come in so many shapes and sizes that it was initially thought to leave this up to the site admin. That said, I think some additional guides may be useful.
I’ve put it on my list to add to the WP Discourse guides. I won’t publish that for a few weeks, but if you get stuck with styling in the meantime let me know and I’ll give you some pointers.