Because WPML creates posts and pages for each language, comments from one do not appear on the other.
This plugin merges comments from all WPML translations of the posts and pages, so that they all are displayed on each other.
Comments are internally still attached to the post or page they were made on.
It uses the
get_comments() api call, which in some circumstances might not return all posts.
This is a fixed version of the no longer maintained WPML Comment Merging plugin:
Thanks to Simon Wheatley for contributing the fix.
Forked from: https://github.com/jgalea/wpml-comments-merging
What types of content are supported
Initially only posts were supported, but since 1.2 also pages are supported.
Does it work with the WPML auto translation?
It should, but I have not tested it. It hooks in after the WPML hooks (using prio 100) and uses the comments passed to it.
Colaboradores y desarrolladores
«Merged Comments for WPML» es un software de código abierto. Las siguientes personas han colaborado con este plugin.Colaboradores
Registro de cambios
- Updated version 2.5, added $sitepress class and removed comments_clauses filter to allow to display multiple languages
- Fixed the no-longer maintained version.
- Fix for regression in PHP breaking call_user_func calls ( Warning: Parameter 1 to get_post() expected to be a reference, value given in line 45 of wpml-comment-merging.php )
- Added support for merging comments on pages.
- Fixed issue with comment counting on start page when a post is not translated
- Initial Release