這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Merged Comments for WPML

外掛說明

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:
https://wordpress.org/extend/plugins/wpml-comment-merging/

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.

使用者評論

2023 年 4 月 17 日
A very much needed plugin. Works out of the box. Many thanks!!
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Merged Comments for WPML〉的開發相關工作。

參與者

將〈Merged Comments for WPML〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

3.0

  • Updated version 2.5, added $sitepress class and removed comments_clauses filter to allow to display multiple languages

2.5

  • Fixed the no-longer maintained version.

1.3

  • 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 )

1.2

  • Added support for merging comments on pages.

1.1

  • Fixed issue with comment counting on start page when a post is not translated

1.0

  • Initial Release