Apraksts
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.
Uzstādīšana
This plugin doesn’t require any special installation.
- Upload
wpml-comment-merging.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
BUJ
- 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.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“WPML comment merging” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “WPML comment merging” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
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